tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getRumScores
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of rum scores
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const scores = tencentcloud.getRumScores({
endTime: "2023082215",
isDemo: 1,
projectId: 1,
startTime: "2023082214",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
scores = tencentcloud.get_rum_scores(end_time="2023082215",
is_demo=1,
project_id=1,
start_time="2023082214")
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.GetRumScores(ctx, &tencentcloud.GetRumScoresArgs{
EndTime: "2023082215",
IsDemo: pulumi.Float64Ref(1),
ProjectId: pulumi.Float64Ref(1),
StartTime: "2023082214",
}, 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 scores = Tencentcloud.GetRumScores.Invoke(new()
{
EndTime = "2023082215",
IsDemo = 1,
ProjectId = 1,
StartTime = "2023082214",
});
});
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.GetRumScoresArgs;
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 scores = TencentcloudFunctions.getRumScores(GetRumScoresArgs.builder()
.endTime("2023082215")
.isDemo(1)
.projectId(1)
.startTime("2023082214")
.build());
}
}
variables:
scores:
fn::invoke:
function: tencentcloud:getRumScores
arguments:
endTime: '2023082215'
isDemo: 1
projectId: 1
startTime: '2023082214'
Using getRumScores
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 getRumScores(args: GetRumScoresArgs, opts?: InvokeOptions): Promise<GetRumScoresResult>
function getRumScoresOutput(args: GetRumScoresOutputArgs, opts?: InvokeOptions): Output<GetRumScoresResult>
def get_rum_scores(end_time: Optional[str] = None,
id: Optional[str] = None,
is_demo: Optional[float] = None,
project_id: Optional[float] = None,
result_output_file: Optional[str] = None,
start_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRumScoresResult
def get_rum_scores_output(end_time: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
is_demo: Optional[pulumi.Input[float]] = None,
project_id: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRumScoresResult]
func GetRumScores(ctx *Context, args *GetRumScoresArgs, opts ...InvokeOption) (*GetRumScoresResult, error)
func GetRumScoresOutput(ctx *Context, args *GetRumScoresOutputArgs, opts ...InvokeOption) GetRumScoresResultOutput
> Note: This function is named GetRumScores
in the Go SDK.
public static class GetRumScores
{
public static Task<GetRumScoresResult> InvokeAsync(GetRumScoresArgs args, InvokeOptions? opts = null)
public static Output<GetRumScoresResult> Invoke(GetRumScoresInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRumScoresResult> getRumScores(GetRumScoresArgs args, InvokeOptions options)
public static Output<GetRumScoresResult> getRumScores(GetRumScoresArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getRumScores:getRumScores
arguments:
# arguments dictionary
The following arguments are supported:
- end_
time str - End time.
- start_
time str - Start time.
- id str
- is_
demo float - Get data from demo. This parameter is deprecated.
- project_
id float - Project ID.
- result_
output_ strfile - Used to save results.
getRumScores Result
The following output properties are available:
- End
Time string - Id string
- Score
Sets List<GetRum Scores Score Set> - Score list.
- Start
Time string - Is
Demo double - Project
Id double - Project ID.
- Result
Output stringFile
- End
Time string - Id string
- Score
Sets []GetRum Scores Score Set - Score list.
- Start
Time string - Is
Demo float64 - Project
Id float64 - Project ID.
- Result
Output stringFile
- end
Time String - id String
- score
Sets List<GetRum Scores Score Set> - Score list.
- start
Time String - is
Demo Double - project
Id Double - Project ID.
- result
Output StringFile
- end
Time string - id string
- score
Sets GetRum Scores Score Set[] - Score list.
- start
Time string - is
Demo number - project
Id number - Project ID.
- result
Output stringFile
- end_
time str - id str
- score_
sets Sequence[GetRum Scores Score Set] - Score list.
- start_
time str - is_
demo float - project_
id float - Project ID.
- result_
output_ strfile
- end
Time String - id String
- score
Sets List<Property Map> - Score list.
- start
Time String - is
Demo Number - project
Id Number - Project ID.
- result
Output StringFile
Supporting Types
GetRumScoresScoreSet
- Api
Duration string - The mean duration of api request.
- Api
Fail string - The number of failed api.
- Api
Num string - The number of all request api.
- Create
Time string - Project record created time.
- Page
Duration string - The duration of page load.
- Page
Error string - The number of exception which happened on page.
- Page
Pv string - Pv.
- Page
Uv string - User view.
- Project
Id double - Project ID.
- Record
Num double - The number of record.
- Score string
- The score of project.
- Static
Duration string - Duration.
- Static
Fail string - The number of failed request static resource.
- Static
Num string - The number of static resource on page.
- Api
Duration string - The mean duration of api request.
- Api
Fail string - The number of failed api.
- Api
Num string - The number of all request api.
- Create
Time string - Project record created time.
- Page
Duration string - The duration of page load.
- Page
Error string - The number of exception which happened on page.
- Page
Pv string - Pv.
- Page
Uv string - User view.
- Project
Id float64 - Project ID.
- Record
Num float64 - The number of record.
- Score string
- The score of project.
- Static
Duration string - Duration.
- Static
Fail string - The number of failed request static resource.
- Static
Num string - The number of static resource on page.
- api
Duration String - The mean duration of api request.
- api
Fail String - The number of failed api.
- api
Num String - The number of all request api.
- create
Time String - Project record created time.
- page
Duration String - The duration of page load.
- page
Error String - The number of exception which happened on page.
- page
Pv String - Pv.
- page
Uv String - User view.
- project
Id Double - Project ID.
- record
Num Double - The number of record.
- score String
- The score of project.
- static
Duration String - Duration.
- static
Fail String - The number of failed request static resource.
- static
Num String - The number of static resource on page.
- api
Duration string - The mean duration of api request.
- api
Fail string - The number of failed api.
- api
Num string - The number of all request api.
- create
Time string - Project record created time.
- page
Duration string - The duration of page load.
- page
Error string - The number of exception which happened on page.
- page
Pv string - Pv.
- page
Uv string - User view.
- project
Id number - Project ID.
- record
Num number - The number of record.
- score string
- The score of project.
- static
Duration string - Duration.
- static
Fail string - The number of failed request static resource.
- static
Num string - The number of static resource on page.
- api_
duration str - The mean duration of api request.
- api_
fail str - The number of failed api.
- api_
num str - The number of all request api.
- create_
time str - Project record created time.
- page_
duration str - The duration of page load.
- page_
error str - The number of exception which happened on page.
- page_
pv str - Pv.
- page_
uv str - User view.
- project_
id float - Project ID.
- record_
num float - The number of record.
- score str
- The score of project.
- static_
duration str - Duration.
- static_
fail str - The number of failed request static resource.
- static_
num str - The number of static resource on page.
- api
Duration String - The mean duration of api request.
- api
Fail String - The number of failed api.
- api
Num String - The number of all request api.
- create
Time String - Project record created time.
- page
Duration String - The duration of page load.
- page
Error String - The number of exception which happened on page.
- page
Pv String - Pv.
- page
Uv String - User view.
- project
Id Number - Project ID.
- record
Num Number - The number of record.
- score String
- The score of project.
- static
Duration String - Duration.
- static
Fail String - The number of failed request static resource.
- static
Num String - The number of static resource on page.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack