1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getRumStaticProject
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getRumStaticProject

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 static_project

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const staticProject = tencentcloud.getRumStaticProject({
    endTime: 1625454840,
    projectId: 1,
    startTime: 1625444040,
    type: "allcount",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

static_project = tencentcloud.get_rum_static_project(end_time=1625454840,
    project_id=1,
    start_time=1625444040,
    type="allcount")
Copy
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.GetRumStaticProject(ctx, &tencentcloud.GetRumStaticProjectArgs{
			EndTime:   1625454840,
			ProjectId: 1,
			StartTime: 1625444040,
			Type:      "allcount",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var staticProject = Tencentcloud.GetRumStaticProject.Invoke(new()
    {
        EndTime = 1625454840,
        ProjectId = 1,
        StartTime = 1625444040,
        Type = "allcount",
    });

});
Copy
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.GetRumStaticProjectArgs;
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 staticProject = TencentcloudFunctions.getRumStaticProject(GetRumStaticProjectArgs.builder()
            .endTime(1625454840)
            .projectId(1)
            .startTime(1625444040)
            .type("allcount")
            .build());

    }
}
Copy
variables:
  staticProject:
    fn::invoke:
      function: tencentcloud:getRumStaticProject
      arguments:
        endTime: 1.62545484e+09
        projectId: 1
        startTime: 1.62544404e+09
        type: allcount
Copy

Using getRumStaticProject

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 getRumStaticProject(args: GetRumStaticProjectArgs, opts?: InvokeOptions): Promise<GetRumStaticProjectResult>
function getRumStaticProjectOutput(args: GetRumStaticProjectOutputArgs, opts?: InvokeOptions): Output<GetRumStaticProjectResult>
Copy
def get_rum_static_project(area: Optional[str] = None,
                           brand: Optional[str] = None,
                           browser: Optional[str] = None,
                           cost_type: Optional[str] = None,
                           device: Optional[str] = None,
                           end_time: Optional[float] = None,
                           engine: Optional[str] = None,
                           env: Optional[str] = None,
                           ext_first: Optional[str] = None,
                           ext_second: Optional[str] = None,
                           ext_third: Optional[str] = None,
                           from_: Optional[str] = None,
                           id: Optional[str] = None,
                           is_abroad: Optional[str] = None,
                           isp: Optional[str] = None,
                           level: Optional[str] = None,
                           net_type: Optional[str] = None,
                           os: Optional[str] = None,
                           platform: Optional[str] = None,
                           project_id: Optional[float] = None,
                           result_output_file: Optional[str] = None,
                           start_time: Optional[float] = None,
                           type: Optional[str] = None,
                           url: Optional[str] = None,
                           version_num: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetRumStaticProjectResult
def get_rum_static_project_output(area: Optional[pulumi.Input[str]] = None,
                           brand: Optional[pulumi.Input[str]] = None,
                           browser: Optional[pulumi.Input[str]] = None,
                           cost_type: Optional[pulumi.Input[str]] = None,
                           device: Optional[pulumi.Input[str]] = None,
                           end_time: Optional[pulumi.Input[float]] = None,
                           engine: Optional[pulumi.Input[str]] = None,
                           env: Optional[pulumi.Input[str]] = None,
                           ext_first: Optional[pulumi.Input[str]] = None,
                           ext_second: Optional[pulumi.Input[str]] = None,
                           ext_third: Optional[pulumi.Input[str]] = None,
                           from_: Optional[pulumi.Input[str]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           is_abroad: Optional[pulumi.Input[str]] = None,
                           isp: Optional[pulumi.Input[str]] = None,
                           level: Optional[pulumi.Input[str]] = None,
                           net_type: Optional[pulumi.Input[str]] = None,
                           os: Optional[pulumi.Input[str]] = None,
                           platform: Optional[pulumi.Input[str]] = None,
                           project_id: Optional[pulumi.Input[float]] = None,
                           result_output_file: Optional[pulumi.Input[str]] = None,
                           start_time: Optional[pulumi.Input[float]] = None,
                           type: Optional[pulumi.Input[str]] = None,
                           url: Optional[pulumi.Input[str]] = None,
                           version_num: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetRumStaticProjectResult]
Copy
func GetRumStaticProject(ctx *Context, args *GetRumStaticProjectArgs, opts ...InvokeOption) (*GetRumStaticProjectResult, error)
func GetRumStaticProjectOutput(ctx *Context, args *GetRumStaticProjectOutputArgs, opts ...InvokeOption) GetRumStaticProjectResultOutput
Copy

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

public static class GetRumStaticProject 
{
    public static Task<GetRumStaticProjectResult> InvokeAsync(GetRumStaticProjectArgs args, InvokeOptions? opts = null)
    public static Output<GetRumStaticProjectResult> Invoke(GetRumStaticProjectInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRumStaticProjectResult> getRumStaticProject(GetRumStaticProjectArgs args, InvokeOptions options)
public static Output<GetRumStaticProjectResult> getRumStaticProject(GetRumStaticProjectArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getRumStaticProject:getRumStaticProject
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EndTime This property is required. double
End time but is represented using a timestamp in seconds.
ProjectId This property is required. double
Project ID.
StartTime This property is required. double
Start time but is represented using a timestamp in seconds.
Type This property is required. string
Query Data Type. allcount: CostType allcount, day: CostType group by day, condition: CostType Sorting in condition, area: CostType query in area, nettype: CostType sort by nettype, version: CostType sort by version, platform: CostType sort by platform, isp: CostType sort by isp, region: CostType sort by region, device: CostType sort by device, browser: CostType sort by browser, ext1: CostType sort by ext1, ext2: CostType sort by ext2, ext3: CostType sort by ext3, ret: CostType sort by ret, status: CostType sort by status, from: CostType sort by from, url: CostType sort by url, env: CostType sort by env.
Area string
The region where the data reporting takes place.
Brand string
The mobile phone brand used for data reporting.
Browser string
The browser type used for data reporting.
CostType string
The method used for calculating the elapsed time 50: 50th percentile, 75: 75th percentile., 90: 90th percentile., 95: 95th percentile., 99: 99th percentile., 99.5: 99.5th percentile., avg: Mean.
Device string
The device used for data reporting.
Engine string
The browser engine used for data reporting.
Env string
The code environment where the data reporting takes place.(production: production env, development: development env, gray: gray env, pre: pre env, daily: daily env, local: local env, others: others env).
ExtFirst string
First Expansion parameter.
ExtSecond string
Second Expansion parameter.
ExtThird string
Third Expansion parameter.
From string
The source page of the data reporting.
Id string
IsAbroad string
Whether it is non-China region.1: yes; 0: no.
Isp string
The internet service provider used for data reporting.
Level string
Log level for data reporting(1: whitelist, 2: normal, 4: error, 8: promise error, 16: ajax request error, 32: js resource load error, 64: image resource load error, 128: css resource load error, 256: console.error, 512: video resource load error, 1024: request retcode error, 2048: sdk self monitor error, 4096: pv log, 8192: event log).
NetType string
The network type used for data reporting.(1: Wifi, 2: 2G, 3: 3G, 4: 4G, 5: 5G, 6: 6G, 100: Unknown).
Os string
The operating system used for data reporting.
Platform string
The platform where the data reporting takes place.(1: Android, 2: IOS, 3: Windows, 4: Mac, 5: Linux, 100: Other).
ResultOutputFile string
Used to save results.
Url string
The URL Key where the data reporting takes place.
VersionNum string
The SDK version used for data reporting.
EndTime This property is required. float64
End time but is represented using a timestamp in seconds.
ProjectId This property is required. float64
Project ID.
StartTime This property is required. float64
Start time but is represented using a timestamp in seconds.
Type This property is required. string
Query Data Type. allcount: CostType allcount, day: CostType group by day, condition: CostType Sorting in condition, area: CostType query in area, nettype: CostType sort by nettype, version: CostType sort by version, platform: CostType sort by platform, isp: CostType sort by isp, region: CostType sort by region, device: CostType sort by device, browser: CostType sort by browser, ext1: CostType sort by ext1, ext2: CostType sort by ext2, ext3: CostType sort by ext3, ret: CostType sort by ret, status: CostType sort by status, from: CostType sort by from, url: CostType sort by url, env: CostType sort by env.
Area string
The region where the data reporting takes place.
Brand string
The mobile phone brand used for data reporting.
Browser string
The browser type used for data reporting.
CostType string
The method used for calculating the elapsed time 50: 50th percentile, 75: 75th percentile., 90: 90th percentile., 95: 95th percentile., 99: 99th percentile., 99.5: 99.5th percentile., avg: Mean.
Device string
The device used for data reporting.
Engine string
The browser engine used for data reporting.
Env string
The code environment where the data reporting takes place.(production: production env, development: development env, gray: gray env, pre: pre env, daily: daily env, local: local env, others: others env).
ExtFirst string
First Expansion parameter.
ExtSecond string
Second Expansion parameter.
ExtThird string
Third Expansion parameter.
From string
The source page of the data reporting.
Id string
IsAbroad string
Whether it is non-China region.1: yes; 0: no.
Isp string
The internet service provider used for data reporting.
Level string
Log level for data reporting(1: whitelist, 2: normal, 4: error, 8: promise error, 16: ajax request error, 32: js resource load error, 64: image resource load error, 128: css resource load error, 256: console.error, 512: video resource load error, 1024: request retcode error, 2048: sdk self monitor error, 4096: pv log, 8192: event log).
NetType string
The network type used for data reporting.(1: Wifi, 2: 2G, 3: 3G, 4: 4G, 5: 5G, 6: 6G, 100: Unknown).
Os string
The operating system used for data reporting.
Platform string
The platform where the data reporting takes place.(1: Android, 2: IOS, 3: Windows, 4: Mac, 5: Linux, 100: Other).
ResultOutputFile string
Used to save results.
Url string
The URL Key where the data reporting takes place.
VersionNum string
The SDK version used for data reporting.
endTime This property is required. Double
End time but is represented using a timestamp in seconds.
projectId This property is required. Double
Project ID.
startTime This property is required. Double
Start time but is represented using a timestamp in seconds.
type This property is required. String
Query Data Type. allcount: CostType allcount, day: CostType group by day, condition: CostType Sorting in condition, area: CostType query in area, nettype: CostType sort by nettype, version: CostType sort by version, platform: CostType sort by platform, isp: CostType sort by isp, region: CostType sort by region, device: CostType sort by device, browser: CostType sort by browser, ext1: CostType sort by ext1, ext2: CostType sort by ext2, ext3: CostType sort by ext3, ret: CostType sort by ret, status: CostType sort by status, from: CostType sort by from, url: CostType sort by url, env: CostType sort by env.
area String
The region where the data reporting takes place.
brand String
The mobile phone brand used for data reporting.
browser String
The browser type used for data reporting.
costType String
The method used for calculating the elapsed time 50: 50th percentile, 75: 75th percentile., 90: 90th percentile., 95: 95th percentile., 99: 99th percentile., 99.5: 99.5th percentile., avg: Mean.
device String
The device used for data reporting.
engine String
The browser engine used for data reporting.
env String
The code environment where the data reporting takes place.(production: production env, development: development env, gray: gray env, pre: pre env, daily: daily env, local: local env, others: others env).
extFirst String
First Expansion parameter.
extSecond String
Second Expansion parameter.
extThird String
Third Expansion parameter.
from String
The source page of the data reporting.
id String
isAbroad String
Whether it is non-China region.1: yes; 0: no.
isp String
The internet service provider used for data reporting.
level String
Log level for data reporting(1: whitelist, 2: normal, 4: error, 8: promise error, 16: ajax request error, 32: js resource load error, 64: image resource load error, 128: css resource load error, 256: console.error, 512: video resource load error, 1024: request retcode error, 2048: sdk self monitor error, 4096: pv log, 8192: event log).
netType String
The network type used for data reporting.(1: Wifi, 2: 2G, 3: 3G, 4: 4G, 5: 5G, 6: 6G, 100: Unknown).
os String
The operating system used for data reporting.
platform String
The platform where the data reporting takes place.(1: Android, 2: IOS, 3: Windows, 4: Mac, 5: Linux, 100: Other).
resultOutputFile String
Used to save results.
url String
The URL Key where the data reporting takes place.
versionNum String
The SDK version used for data reporting.
endTime This property is required. number
End time but is represented using a timestamp in seconds.
projectId This property is required. number
Project ID.
startTime This property is required. number
Start time but is represented using a timestamp in seconds.
type This property is required. string
Query Data Type. allcount: CostType allcount, day: CostType group by day, condition: CostType Sorting in condition, area: CostType query in area, nettype: CostType sort by nettype, version: CostType sort by version, platform: CostType sort by platform, isp: CostType sort by isp, region: CostType sort by region, device: CostType sort by device, browser: CostType sort by browser, ext1: CostType sort by ext1, ext2: CostType sort by ext2, ext3: CostType sort by ext3, ret: CostType sort by ret, status: CostType sort by status, from: CostType sort by from, url: CostType sort by url, env: CostType sort by env.
area string
The region where the data reporting takes place.
brand string
The mobile phone brand used for data reporting.
browser string
The browser type used for data reporting.
costType string
The method used for calculating the elapsed time 50: 50th percentile, 75: 75th percentile., 90: 90th percentile., 95: 95th percentile., 99: 99th percentile., 99.5: 99.5th percentile., avg: Mean.
device string
The device used for data reporting.
engine string
The browser engine used for data reporting.
env string
The code environment where the data reporting takes place.(production: production env, development: development env, gray: gray env, pre: pre env, daily: daily env, local: local env, others: others env).
extFirst string
First Expansion parameter.
extSecond string
Second Expansion parameter.
extThird string
Third Expansion parameter.
from string
The source page of the data reporting.
id string
isAbroad string
Whether it is non-China region.1: yes; 0: no.
isp string
The internet service provider used for data reporting.
level string
Log level for data reporting(1: whitelist, 2: normal, 4: error, 8: promise error, 16: ajax request error, 32: js resource load error, 64: image resource load error, 128: css resource load error, 256: console.error, 512: video resource load error, 1024: request retcode error, 2048: sdk self monitor error, 4096: pv log, 8192: event log).
netType string
The network type used for data reporting.(1: Wifi, 2: 2G, 3: 3G, 4: 4G, 5: 5G, 6: 6G, 100: Unknown).
os string
The operating system used for data reporting.
platform string
The platform where the data reporting takes place.(1: Android, 2: IOS, 3: Windows, 4: Mac, 5: Linux, 100: Other).
resultOutputFile string
Used to save results.
url string
The URL Key where the data reporting takes place.
versionNum string
The SDK version used for data reporting.
end_time This property is required. float
End time but is represented using a timestamp in seconds.
project_id This property is required. float
Project ID.
start_time This property is required. float
Start time but is represented using a timestamp in seconds.
type This property is required. str
Query Data Type. allcount: CostType allcount, day: CostType group by day, condition: CostType Sorting in condition, area: CostType query in area, nettype: CostType sort by nettype, version: CostType sort by version, platform: CostType sort by platform, isp: CostType sort by isp, region: CostType sort by region, device: CostType sort by device, browser: CostType sort by browser, ext1: CostType sort by ext1, ext2: CostType sort by ext2, ext3: CostType sort by ext3, ret: CostType sort by ret, status: CostType sort by status, from: CostType sort by from, url: CostType sort by url, env: CostType sort by env.
area str
The region where the data reporting takes place.
brand str
The mobile phone brand used for data reporting.
browser str
The browser type used for data reporting.
cost_type str
The method used for calculating the elapsed time 50: 50th percentile, 75: 75th percentile., 90: 90th percentile., 95: 95th percentile., 99: 99th percentile., 99.5: 99.5th percentile., avg: Mean.
device str
The device used for data reporting.
engine str
The browser engine used for data reporting.
env str
The code environment where the data reporting takes place.(production: production env, development: development env, gray: gray env, pre: pre env, daily: daily env, local: local env, others: others env).
ext_first str
First Expansion parameter.
ext_second str
Second Expansion parameter.
ext_third str
Third Expansion parameter.
from_ str
The source page of the data reporting.
id str
is_abroad str
Whether it is non-China region.1: yes; 0: no.
isp str
The internet service provider used for data reporting.
level str
Log level for data reporting(1: whitelist, 2: normal, 4: error, 8: promise error, 16: ajax request error, 32: js resource load error, 64: image resource load error, 128: css resource load error, 256: console.error, 512: video resource load error, 1024: request retcode error, 2048: sdk self monitor error, 4096: pv log, 8192: event log).
net_type str
The network type used for data reporting.(1: Wifi, 2: 2G, 3: 3G, 4: 4G, 5: 5G, 6: 6G, 100: Unknown).
os str
The operating system used for data reporting.
platform str
The platform where the data reporting takes place.(1: Android, 2: IOS, 3: Windows, 4: Mac, 5: Linux, 100: Other).
result_output_file str
Used to save results.
url str
The URL Key where the data reporting takes place.
version_num str
The SDK version used for data reporting.
endTime This property is required. Number
End time but is represented using a timestamp in seconds.
projectId This property is required. Number
Project ID.
startTime This property is required. Number
Start time but is represented using a timestamp in seconds.
type This property is required. String
Query Data Type. allcount: CostType allcount, day: CostType group by day, condition: CostType Sorting in condition, area: CostType query in area, nettype: CostType sort by nettype, version: CostType sort by version, platform: CostType sort by platform, isp: CostType sort by isp, region: CostType sort by region, device: CostType sort by device, browser: CostType sort by browser, ext1: CostType sort by ext1, ext2: CostType sort by ext2, ext3: CostType sort by ext3, ret: CostType sort by ret, status: CostType sort by status, from: CostType sort by from, url: CostType sort by url, env: CostType sort by env.
area String
The region where the data reporting takes place.
brand String
The mobile phone brand used for data reporting.
browser String
The browser type used for data reporting.
costType String
The method used for calculating the elapsed time 50: 50th percentile, 75: 75th percentile., 90: 90th percentile., 95: 95th percentile., 99: 99th percentile., 99.5: 99.5th percentile., avg: Mean.
device String
The device used for data reporting.
engine String
The browser engine used for data reporting.
env String
The code environment where the data reporting takes place.(production: production env, development: development env, gray: gray env, pre: pre env, daily: daily env, local: local env, others: others env).
extFirst String
First Expansion parameter.
extSecond String
Second Expansion parameter.
extThird String
Third Expansion parameter.
from String
The source page of the data reporting.
id String
isAbroad String
Whether it is non-China region.1: yes; 0: no.
isp String
The internet service provider used for data reporting.
level String
Log level for data reporting(1: whitelist, 2: normal, 4: error, 8: promise error, 16: ajax request error, 32: js resource load error, 64: image resource load error, 128: css resource load error, 256: console.error, 512: video resource load error, 1024: request retcode error, 2048: sdk self monitor error, 4096: pv log, 8192: event log).
netType String
The network type used for data reporting.(1: Wifi, 2: 2G, 3: 3G, 4: 4G, 5: 5G, 6: 6G, 100: Unknown).
os String
The operating system used for data reporting.
platform String
The platform where the data reporting takes place.(1: Android, 2: IOS, 3: Windows, 4: Mac, 5: Linux, 100: Other).
resultOutputFile String
Used to save results.
url String
The URL Key where the data reporting takes place.
versionNum String
The SDK version used for data reporting.

getRumStaticProject Result

The following output properties are available:

EndTime double
Id string
ProjectId double
Result string
Return value.
StartTime double
Type string
Area string
Brand string
Browser string
CostType string
Device string
Engine string
Env string
ExtFirst string
ExtSecond string
ExtThird string
From string
IsAbroad string
Isp string
Level string
NetType string
Os string
Platform string
ResultOutputFile string
Url string
VersionNum string
EndTime float64
Id string
ProjectId float64
Result string
Return value.
StartTime float64
Type string
Area string
Brand string
Browser string
CostType string
Device string
Engine string
Env string
ExtFirst string
ExtSecond string
ExtThird string
From string
IsAbroad string
Isp string
Level string
NetType string
Os string
Platform string
ResultOutputFile string
Url string
VersionNum string
endTime Double
id String
projectId Double
result String
Return value.
startTime Double
type String
area String
brand String
browser String
costType String
device String
engine String
env String
extFirst String
extSecond String
extThird String
from String
isAbroad String
isp String
level String
netType String
os String
platform String
resultOutputFile String
url String
versionNum String
endTime number
id string
projectId number
result string
Return value.
startTime number
type string
area string
brand string
browser string
costType string
device string
engine string
env string
extFirst string
extSecond string
extThird string
from string
isAbroad string
isp string
level string
netType string
os string
platform string
resultOutputFile string
url string
versionNum string
end_time float
id str
project_id float
result str
Return value.
start_time float
type str
area str
brand str
browser str
cost_type str
device str
engine str
env str
ext_first str
ext_second str
ext_third str
from_ str
is_abroad str
isp str
level str
net_type str
os str
platform str
result_output_file str
url str
version_num str
endTime Number
id String
projectId Number
result String
Return value.
startTime Number
type String
area String
brand String
browser String
costType String
device String
engine String
env String
extFirst String
extSecond String
extThird String
from String
isAbroad String
isp String
level String
netType String
os String
platform String
resultOutputFile String
url String
versionNum String

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