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

tencentcloud.getRumStaticUrl

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 static_url

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const staticUrl = tencentcloud.getRumStaticUrl({
        endTime: 1625454840,
        projectId: 1,
        startTime: 1625444040,
        type: "pagepv",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    static_url = tencentcloud.get_rum_static_url(end_time=1625454840,
        project_id=1,
        start_time=1625444040,
        type="pagepv")
    
    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.GetRumStaticUrl(ctx, &tencentcloud.GetRumStaticUrlArgs{
    			EndTime:   1625454840,
    			ProjectId: 1,
    			StartTime: 1625444040,
    			Type:      "pagepv",
    		}, 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 staticUrl = Tencentcloud.GetRumStaticUrl.Invoke(new()
        {
            EndTime = 1625454840,
            ProjectId = 1,
            StartTime = 1625444040,
            Type = "pagepv",
        });
    
    });
    
    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.GetRumStaticUrlArgs;
    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 staticUrl = TencentcloudFunctions.getRumStaticUrl(GetRumStaticUrlArgs.builder()
                .endTime(1625454840)
                .projectId(1)
                .startTime(1625444040)
                .type("pagepv")
                .build());
    
        }
    }
    
    variables:
      staticUrl:
        fn::invoke:
          function: tencentcloud:getRumStaticUrl
          arguments:
            endTime: 1.62545484e+09
            projectId: 1
            startTime: 1.62544404e+09
            type: pagepv
    

    Using getRumStaticUrl

    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 getRumStaticUrl(args: GetRumStaticUrlArgs, opts?: InvokeOptions): Promise<GetRumStaticUrlResult>
    function getRumStaticUrlOutput(args: GetRumStaticUrlOutputArgs, opts?: InvokeOptions): Output<GetRumStaticUrlResult>
    def get_rum_static_url(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) -> GetRumStaticUrlResult
    def get_rum_static_url_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[GetRumStaticUrlResult]
    func GetRumStaticUrl(ctx *Context, args *GetRumStaticUrlArgs, opts ...InvokeOption) (*GetRumStaticUrlResult, error)
    func GetRumStaticUrlOutput(ctx *Context, args *GetRumStaticUrlOutputArgs, opts ...InvokeOption) GetRumStaticUrlResultOutput

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

    public static class GetRumStaticUrl 
    {
        public static Task<GetRumStaticUrlResult> InvokeAsync(GetRumStaticUrlArgs args, InvokeOptions? opts = null)
        public static Output<GetRumStaticUrlResult> Invoke(GetRumStaticUrlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRumStaticUrlResult> getRumStaticUrl(GetRumStaticUrlArgs args, InvokeOptions options)
    public static Output<GetRumStaticUrlResult> getRumStaticUrl(GetRumStaticUrlArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getRumStaticUrl:getRumStaticUrl
      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.
    Type string
    Query Data Type. pagepv: CostType query by pagepv, nettype: CostType group by nettype, version: CostType group by version, platform: CostType group by platform, isp: CostType group by isp, region: CostType group by region, device: CostType group by device, browser: CostType group by browser, ext1: CostType group by ext1, ext2: CostType group by ext2, ext3: CostType group by ext3, ret: CostType group by ret, status: CostType group by status, from: CostType group by from, url: CostType group by url, env: CostType group 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 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.
    Type string
    Query Data Type. pagepv: CostType query by pagepv, nettype: CostType group by nettype, version: CostType group by version, platform: CostType group by platform, isp: CostType group by isp, region: CostType group by region, device: CostType group by device, browser: CostType group by browser, ext1: CostType group by ext1, ext2: CostType group by ext2, ext3: CostType group by ext3, ret: CostType group by ret, status: CostType group by status, from: CostType group by from, url: CostType group by url, env: CostType group 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 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.
    type String
    Query Data Type. pagepv: CostType query by pagepv, nettype: CostType group by nettype, version: CostType group by version, platform: CostType group by platform, isp: CostType group by isp, region: CostType group by region, device: CostType group by device, browser: CostType group by browser, ext1: CostType group by ext1, ext2: CostType group by ext2, ext3: CostType group by ext3, ret: CostType group by ret, status: CostType group by status, from: CostType group by from, url: CostType group by url, env: CostType group 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 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.
    type string
    Query Data Type. pagepv: CostType query by pagepv, nettype: CostType group by nettype, version: CostType group by version, platform: CostType group by platform, isp: CostType group by isp, region: CostType group by region, device: CostType group by device, browser: CostType group by browser, ext1: CostType group by ext1, ext2: CostType group by ext2, ext3: CostType group by ext3, ret: CostType group by ret, status: CostType group by status, from: CostType group by from, url: CostType group by url, env: CostType group 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 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.
    type str
    Query Data Type. pagepv: CostType query by pagepv, nettype: CostType group by nettype, version: CostType group by version, platform: CostType group by platform, isp: CostType group by isp, region: CostType group by region, device: CostType group by device, browser: CostType group by browser, ext1: CostType group by ext1, ext2: CostType group by ext2, ext3: CostType group by ext3, ret: CostType group by ret, status: CostType group by status, from: CostType group by from, url: CostType group by url, env: CostType group 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 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.
    type String
    Query Data Type. pagepv: CostType query by pagepv, nettype: CostType group by nettype, version: CostType group by version, platform: CostType group by platform, isp: CostType group by isp, region: CostType group by region, device: CostType group by device, browser: CostType group by browser, ext1: CostType group by ext1, ext2: CostType group by ext2, ext3: CostType group by ext3, ret: CostType group by ret, status: CostType group by status, from: CostType group by from, url: CostType group by url, env: CostType group 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.

    getRumStaticUrl 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 logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack