tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getRumReportCount
Explore with Pulumi AI
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:
- End
Time double - End time but is represented using a timestamp in seconds.
- Project
Id double - Project ID.
- Start
Time double - Start time but is represented using a timestamp in seconds.
- Id string
- Instance
Id string - Instance ID.
- Report
Type 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. - Result
Output stringFile - Used to save results.
- End
Time float64 - End time but is represented using a timestamp in seconds.
- Project
Id float64 - Project ID.
- Start
Time float64 - Start time but is represented using a timestamp in seconds.
- Id string
- Instance
Id string - Instance ID.
- Report
Type 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. - Result
Output stringFile - Used to save results.
- end
Time Double - End time but is represented using a timestamp in seconds.
- project
Id Double - Project ID.
- start
Time Double - Start time but is represented using a timestamp in seconds.
- id String
- instance
Id String - Instance ID.
- report
Type 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. - result
Output StringFile - Used to save results.
- end
Time number - End time but is represented using a timestamp in seconds.
- project
Id number - Project ID.
- start
Time number - Start time but is represented using a timestamp in seconds.
- id string
- instance
Id string - Instance ID.
- report
Type 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. - result
Output stringFile - 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_ strfile - Used to save results.
- end
Time Number - End time but is represented using a timestamp in seconds.
- project
Id Number - Project ID.
- start
Time Number - Start time but is represented using a timestamp in seconds.
- id String
- instance
Id String - Instance ID.
- report
Type 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. - result
Output StringFile - Used to save results.
getRumReportCount Result
The following output properties are available:
- End
Time double - Id string
- Project
Id double - Result string
- Return value.
- Start
Time double - Instance
Id string - Report
Type string - Result
Output stringFile
- End
Time float64 - Id string
- Project
Id float64 - Result string
- Return value.
- Start
Time float64 - Instance
Id string - Report
Type string - Result
Output stringFile
- end
Time Double - id String
- project
Id Double - result String
- Return value.
- start
Time Double - instance
Id String - report
Type String - result
Output StringFile
- end
Time number - id string
- project
Id number - result string
- Return value.
- start
Time number - instance
Id string - report
Type string - result
Output stringFile
- end_
time float - id str
- project_
id float - result str
- Return value.
- start_
time float - instance_
id str - report_
type str - result_
output_ strfile
- end
Time Number - id String
- project
Id Number - result String
- Return value.
- start
Time Number - instance
Id String - report
Type String - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack