tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getRumProject
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 project
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const project = tencentcloud.getRumProject({
instanceId: "rum-pasZKEI3RLgakj",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
project = tencentcloud.get_rum_project(instance_id="rum-pasZKEI3RLgakj")
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.LookupRumProject(ctx, &tencentcloud.LookupRumProjectArgs{
InstanceId: "rum-pasZKEI3RLgakj",
}, 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 project = Tencentcloud.GetRumProject.Invoke(new()
{
InstanceId = "rum-pasZKEI3RLgakj",
});
});
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.GetRumProjectArgs;
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 project = TencentcloudFunctions.getRumProject(GetRumProjectArgs.builder()
.instanceId("rum-pasZKEI3RLgakj")
.build());
}
}
variables:
project:
fn::invoke:
function: tencentcloud:getRumProject
arguments:
instanceId: rum-pasZKEI3RLgakj
Using getRumProject
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 getRumProject(args: GetRumProjectArgs, opts?: InvokeOptions): Promise<GetRumProjectResult>
function getRumProjectOutput(args: GetRumProjectOutputArgs, opts?: InvokeOptions): Output<GetRumProjectResult>
def get_rum_project(id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRumProjectResult
def get_rum_project_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRumProjectResult]
func LookupRumProject(ctx *Context, args *LookupRumProjectArgs, opts ...InvokeOption) (*LookupRumProjectResult, error)
func LookupRumProjectOutput(ctx *Context, args *LookupRumProjectOutputArgs, opts ...InvokeOption) LookupRumProjectResultOutput
> Note: This function is named LookupRumProject
in the Go SDK.
public static class GetRumProject
{
public static Task<GetRumProjectResult> InvokeAsync(GetRumProjectArgs args, InvokeOptions? opts = null)
public static Output<GetRumProjectResult> Invoke(GetRumProjectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRumProjectResult> getRumProject(GetRumProjectArgs args, InvokeOptions options)
public static Output<GetRumProjectResult> getRumProject(GetRumProjectArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getRumProject:getRumProject
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Instance ID.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Instance ID.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Instance ID.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Instance ID.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Instance ID.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Instance ID.
- id String
- result
Output StringFile - Used to save results.
getRumProject Result
The following output properties are available:
- Id string
- Instance
Id string - Instance ID.
- Project
Sets List<GetRum Project Project Set> - Project list.
- Result
Output stringFile
- Id string
- Instance
Id string - Instance ID.
- Project
Sets []GetRum Project Project Set - Project list.
- Result
Output stringFile
- id String
- instance
Id String - Instance ID.
- project
Sets List<GetRum Project Project Set> - Project list.
- result
Output StringFile
- id string
- instance
Id string - Instance ID.
- project
Sets GetRum Project Project Set[] - Project list.
- result
Output stringFile
- id str
- instance_
id str - Instance ID.
- project_
sets Sequence[GetRum Project Project Set] - Project list.
- result_
output_ strfile
- id String
- instance
Id String - Instance ID.
- project
Sets List<Property Map> - Project list.
- result
Output StringFile
Supporting Types
GetRumProjectProjectSet
- Create
Time string - CreateTime.
- Creator string
- Creator ID.
- Desc string
- Project description.
- Enable
Url doubleGroup - Whether to enable URL aggregation.
- Instance
Id string - Instance ID.
- Instance
Key string - Instance key.
- Instance
Name string - Instance name.
- Is
Star double - Starred status.
1
: yes;0
: no. - Key string
- Unique project key (12 characters).
- Name string
- Project name.
- Pid double
- Project ID.
- Project
Status double - Project status (
1
: Creating;2
: Running;3
: Abnormal;4
: Restarting;5
: Stopping;6
: Stopped;7
: Terminating;8
: Terminated). - Rate string
- Project sample rate.
- Repo string
- Project repository address.
- Type string
- Project type.
- Url string
- Project URL.
- Create
Time string - CreateTime.
- Creator string
- Creator ID.
- Desc string
- Project description.
- Enable
Url float64Group - Whether to enable URL aggregation.
- Instance
Id string - Instance ID.
- Instance
Key string - Instance key.
- Instance
Name string - Instance name.
- Is
Star float64 - Starred status.
1
: yes;0
: no. - Key string
- Unique project key (12 characters).
- Name string
- Project name.
- Pid float64
- Project ID.
- Project
Status float64 - Project status (
1
: Creating;2
: Running;3
: Abnormal;4
: Restarting;5
: Stopping;6
: Stopped;7
: Terminating;8
: Terminated). - Rate string
- Project sample rate.
- Repo string
- Project repository address.
- Type string
- Project type.
- Url string
- Project URL.
- create
Time String - CreateTime.
- creator String
- Creator ID.
- desc String
- Project description.
- enable
Url DoubleGroup - Whether to enable URL aggregation.
- instance
Id String - Instance ID.
- instance
Key String - Instance key.
- instance
Name String - Instance name.
- is
Star Double - Starred status.
1
: yes;0
: no. - key String
- Unique project key (12 characters).
- name String
- Project name.
- pid Double
- Project ID.
- project
Status Double - Project status (
1
: Creating;2
: Running;3
: Abnormal;4
: Restarting;5
: Stopping;6
: Stopped;7
: Terminating;8
: Terminated). - rate String
- Project sample rate.
- repo String
- Project repository address.
- type String
- Project type.
- url String
- Project URL.
- create
Time string - CreateTime.
- creator string
- Creator ID.
- desc string
- Project description.
- enable
Url numberGroup - Whether to enable URL aggregation.
- instance
Id string - Instance ID.
- instance
Key string - Instance key.
- instance
Name string - Instance name.
- is
Star number - Starred status.
1
: yes;0
: no. - key string
- Unique project key (12 characters).
- name string
- Project name.
- pid number
- Project ID.
- project
Status number - Project status (
1
: Creating;2
: Running;3
: Abnormal;4
: Restarting;5
: Stopping;6
: Stopped;7
: Terminating;8
: Terminated). - rate string
- Project sample rate.
- repo string
- Project repository address.
- type string
- Project type.
- url string
- Project URL.
- create_
time str - CreateTime.
- creator str
- Creator ID.
- desc str
- Project description.
- enable_
url_ floatgroup - Whether to enable URL aggregation.
- instance_
id str - Instance ID.
- instance_
key str - Instance key.
- instance_
name str - Instance name.
- is_
star float - Starred status.
1
: yes;0
: no. - key str
- Unique project key (12 characters).
- name str
- Project name.
- pid float
- Project ID.
- project_
status float - Project status (
1
: Creating;2
: Running;3
: Abnormal;4
: Restarting;5
: Stopping;6
: Stopped;7
: Terminating;8
: Terminated). - rate str
- Project sample rate.
- repo str
- Project repository address.
- type str
- Project type.
- url str
- Project URL.
- create
Time String - CreateTime.
- creator String
- Creator ID.
- desc String
- Project description.
- enable
Url NumberGroup - Whether to enable URL aggregation.
- instance
Id String - Instance ID.
- instance
Key String - Instance key.
- instance
Name String - Instance name.
- is
Star Number - Starred status.
1
: yes;0
: no. - key String
- Unique project key (12 characters).
- name String
- Project name.
- pid Number
- Project ID.
- project
Status Number - Project status (
1
: Creating;2
: Running;3
: Abnormal;4
: Restarting;5
: Stopping;6
: Stopped;7
: Terminating;8
: Terminated). - rate String
- Project sample rate.
- repo String
- Project repository address.
- type String
- Project type.
- url String
- Project URL.
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