1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getRumReportCount
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getRumReportCount

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of rum report_count

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const reportCount = tencentcloud.getRumReportCount({
        endTime: 1625454840,
        projectId: 1,
        reportType: "log",
        startTime: 1625444040,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    report_count = tencentcloud.get_rum_report_count(end_time=1625454840,
        project_id=1,
        report_type="log",
        start_time=1625444040)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetRumReportCount(ctx, &tencentcloud.GetRumReportCountArgs{
    			EndTime:    1625454840,
    			ProjectId:  1,
    			ReportType: pulumi.StringRef("log"),
    			StartTime:  1625444040,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var reportCount = Tencentcloud.GetRumReportCount.Invoke(new()
        {
            EndTime = 1625454840,
            ProjectId = 1,
            ReportType = "log",
            StartTime = 1625444040,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetRumReportCountArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var reportCount = TencentcloudFunctions.getRumReportCount(GetRumReportCountArgs.builder()
                .endTime(1625454840)
                .projectId(1)
                .reportType("log")
                .startTime(1625444040)
                .build());
    
        }
    }
    
    variables:
      reportCount:
        fn::invoke:
          function: tencentcloud:getRumReportCount
          arguments:
            endTime: 1.62545484e+09
            projectId: 1
            reportType: log
            startTime: 1.62544404e+09
    

    Using getRumReportCount

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRumReportCount(args: GetRumReportCountArgs, opts?: InvokeOptions): Promise<GetRumReportCountResult>
    function getRumReportCountOutput(args: GetRumReportCountOutputArgs, opts?: InvokeOptions): Output<GetRumReportCountResult>
    def get_rum_report_count(end_time: Optional[float] = None,
                             id: Optional[str] = None,
                             instance_id: Optional[str] = None,
                             project_id: Optional[float] = None,
                             report_type: Optional[str] = None,
                             result_output_file: Optional[str] = None,
                             start_time: Optional[float] = None,
                             opts: Optional[InvokeOptions] = None) -> GetRumReportCountResult
    def get_rum_report_count_output(end_time: Optional[pulumi.Input[float]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             instance_id: Optional[pulumi.Input[str]] = None,
                             project_id: Optional[pulumi.Input[float]] = None,
                             report_type: Optional[pulumi.Input[str]] = None,
                             result_output_file: Optional[pulumi.Input[str]] = None,
                             start_time: Optional[pulumi.Input[float]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetRumReportCountResult]
    func GetRumReportCount(ctx *Context, args *GetRumReportCountArgs, opts ...InvokeOption) (*GetRumReportCountResult, error)
    func GetRumReportCountOutput(ctx *Context, args *GetRumReportCountOutputArgs, opts ...InvokeOption) GetRumReportCountResultOutput

    > Note: This function is named GetRumReportCount in the Go SDK.

    public static class GetRumReportCount 
    {
        public static Task<GetRumReportCountResult> InvokeAsync(GetRumReportCountArgs args, InvokeOptions? opts = null)
        public static Output<GetRumReportCountResult> Invoke(GetRumReportCountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRumReportCountResult> getRumReportCount(GetRumReportCountArgs args, InvokeOptions options)
    public static Output<GetRumReportCountResult> getRumReportCount(GetRumReportCountArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getRumReportCount:getRumReportCount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndTime double
    End time but is represented using a timestamp in seconds.
    ProjectId double
    Project ID.
    StartTime double
    Start time but is represented using a timestamp in seconds.
    Id string
    InstanceId string
    Instance ID.
    ReportType string
    Report type, empty is meaning all type count. log:log report count, pv:pv report count, event:event report count, speed:speed report count, performance:performance report count, custom:custom report count, webvitals:webvitals report count, miniProgramData:miniProgramData report count.
    ResultOutputFile string
    Used to save results.
    EndTime float64
    End time but is represented using a timestamp in seconds.
    ProjectId float64
    Project ID.
    StartTime float64
    Start time but is represented using a timestamp in seconds.
    Id string
    InstanceId string
    Instance ID.
    ReportType string
    Report type, empty is meaning all type count. log:log report count, pv:pv report count, event:event report count, speed:speed report count, performance:performance report count, custom:custom report count, webvitals:webvitals report count, miniProgramData:miniProgramData report count.
    ResultOutputFile string
    Used to save results.
    endTime Double
    End time but is represented using a timestamp in seconds.
    projectId Double
    Project ID.
    startTime Double
    Start time but is represented using a timestamp in seconds.
    id String
    instanceId String
    Instance ID.
    reportType String
    Report type, empty is meaning all type count. log:log report count, pv:pv report count, event:event report count, speed:speed report count, performance:performance report count, custom:custom report count, webvitals:webvitals report count, miniProgramData:miniProgramData report count.
    resultOutputFile String
    Used to save results.
    endTime number
    End time but is represented using a timestamp in seconds.
    projectId number
    Project ID.
    startTime number
    Start time but is represented using a timestamp in seconds.
    id string
    instanceId string
    Instance ID.
    reportType string
    Report type, empty is meaning all type count. log:log report count, pv:pv report count, event:event report count, speed:speed report count, performance:performance report count, custom:custom report count, webvitals:webvitals report count, miniProgramData:miniProgramData report count.
    resultOutputFile string
    Used to save results.
    end_time float
    End time but is represented using a timestamp in seconds.
    project_id float
    Project ID.
    start_time float
    Start time but is represented using a timestamp in seconds.
    id str
    instance_id str
    Instance ID.
    report_type str
    Report type, empty is meaning all type count. log:log report count, pv:pv report count, event:event report count, speed:speed report count, performance:performance report count, custom:custom report count, webvitals:webvitals report count, miniProgramData:miniProgramData report count.
    result_output_file str
    Used to save results.
    endTime Number
    End time but is represented using a timestamp in seconds.
    projectId Number
    Project ID.
    startTime Number
    Start time but is represented using a timestamp in seconds.
    id String
    instanceId String
    Instance ID.
    reportType String
    Report type, empty is meaning all type count. log:log report count, pv:pv report count, event:event report count, speed:speed report count, performance:performance report count, custom:custom report count, webvitals:webvitals report count, miniProgramData:miniProgramData report count.
    resultOutputFile String
    Used to save results.

    getRumReportCount Result

    The following output properties are available:

    EndTime double
    Id string
    ProjectId double
    Result string
    Return value.
    StartTime double
    InstanceId string
    ReportType string
    ResultOutputFile string
    EndTime float64
    Id string
    ProjectId float64
    Result string
    Return value.
    StartTime float64
    InstanceId string
    ReportType string
    ResultOutputFile string
    endTime Double
    id String
    projectId Double
    result String
    Return value.
    startTime Double
    instanceId String
    reportType String
    resultOutputFile String
    endTime number
    id string
    projectId number
    result string
    Return value.
    startTime number
    instanceId string
    reportType string
    resultOutputFile string
    end_time float
    id str
    project_id float
    result str
    Return value.
    start_time float
    instance_id str
    report_type str
    result_output_file str
    endTime Number
    id String
    projectId Number
    result String
    Return value.
    startTime Number
    instanceId String
    reportType String
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack