tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getRumTawInstance
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 tawInstance
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const tawInstance = tencentcloud.getRumTawInstance({
areaIds: [1],
chargeStatuses: [1],
chargeTypes: [1],
instanceIds: ["rum-pasZKEI3RLgakj"],
instanceStatuses: [2],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
taw_instance = tencentcloud.get_rum_taw_instance(area_ids=[1],
charge_statuses=[1],
charge_types=[1],
instance_ids=["rum-pasZKEI3RLgakj"],
instance_statuses=[2])
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.LookupRumTawInstance(ctx, &tencentcloud.LookupRumTawInstanceArgs{
AreaIds: []float64{
1,
},
ChargeStatuses: []float64{
1,
},
ChargeTypes: []float64{
1,
},
InstanceIds: []string{
"rum-pasZKEI3RLgakj",
},
InstanceStatuses: []float64{
2,
},
}, 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 tawInstance = Tencentcloud.GetRumTawInstance.Invoke(new()
{
AreaIds = new[]
{
1,
},
ChargeStatuses = new[]
{
1,
},
ChargeTypes = new[]
{
1,
},
InstanceIds = new[]
{
"rum-pasZKEI3RLgakj",
},
InstanceStatuses = new[]
{
2,
},
});
});
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.GetRumTawInstanceArgs;
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 tawInstance = TencentcloudFunctions.getRumTawInstance(GetRumTawInstanceArgs.builder()
.areaIds(1)
.chargeStatuses(1)
.chargeTypes(1)
.instanceIds("rum-pasZKEI3RLgakj")
.instanceStatuses(2)
.build());
}
}
variables:
tawInstance:
fn::invoke:
function: tencentcloud:getRumTawInstance
arguments:
areaIds:
- 1
chargeStatuses:
- 1
chargeTypes:
- 1
instanceIds:
- rum-pasZKEI3RLgakj
instanceStatuses:
- 2
Using getRumTawInstance
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 getRumTawInstance(args: GetRumTawInstanceArgs, opts?: InvokeOptions): Promise<GetRumTawInstanceResult>
function getRumTawInstanceOutput(args: GetRumTawInstanceOutputArgs, opts?: InvokeOptions): Output<GetRumTawInstanceResult>
def get_rum_taw_instance(area_ids: Optional[Sequence[float]] = None,
charge_statuses: Optional[Sequence[float]] = None,
charge_types: Optional[Sequence[float]] = None,
id: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
instance_statuses: Optional[Sequence[float]] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRumTawInstanceResult
def get_rum_taw_instance_output(area_ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
charge_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
charge_types: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRumTawInstanceResult]
func LookupRumTawInstance(ctx *Context, args *LookupRumTawInstanceArgs, opts ...InvokeOption) (*LookupRumTawInstanceResult, error)
func LookupRumTawInstanceOutput(ctx *Context, args *LookupRumTawInstanceOutputArgs, opts ...InvokeOption) LookupRumTawInstanceResultOutput
> Note: This function is named LookupRumTawInstance
in the Go SDK.
public static class GetRumTawInstance
{
public static Task<GetRumTawInstanceResult> InvokeAsync(GetRumTawInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetRumTawInstanceResult> Invoke(GetRumTawInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRumTawInstanceResult> getRumTawInstance(GetRumTawInstanceArgs args, InvokeOptions options)
public static Output<GetRumTawInstanceResult> getRumTawInstance(GetRumTawInstanceArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getRumTawInstance:getRumTawInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Area
Ids List<double> - Region ID.
- Charge
Statuses List<double> - Billing status.
- Charge
Types List<double> - Billing type.
- Id string
- Instance
Ids List<string> - Instance ID.
- Instance
Statuses List<double> - Instance status (
1
: creating;2
: running;3
: exceptional;4
: restarting;5
: stopping;6
: stopped;7
: terminating;8
: terminated). - Result
Output stringFile - Used to save results.
- Area
Ids []float64 - Region ID.
- Charge
Statuses []float64 - Billing status.
- Charge
Types []float64 - Billing type.
- Id string
- Instance
Ids []string - Instance ID.
- Instance
Statuses []float64 - Instance status (
1
: creating;2
: running;3
: exceptional;4
: restarting;5
: stopping;6
: stopped;7
: terminating;8
: terminated). - Result
Output stringFile - Used to save results.
- area
Ids List<Double> - Region ID.
- charge
Statuses List<Double> - Billing status.
- charge
Types List<Double> - Billing type.
- id String
- instance
Ids List<String> - Instance ID.
- instance
Statuses List<Double> - Instance status (
1
: creating;2
: running;3
: exceptional;4
: restarting;5
: stopping;6
: stopped;7
: terminating;8
: terminated). - result
Output StringFile - Used to save results.
- area
Ids number[] - Region ID.
- charge
Statuses number[] - Billing status.
- charge
Types number[] - Billing type.
- id string
- instance
Ids string[] - Instance ID.
- instance
Statuses number[] - Instance status (
1
: creating;2
: running;3
: exceptional;4
: restarting;5
: stopping;6
: stopped;7
: terminating;8
: terminated). - result
Output stringFile - Used to save results.
- area_
ids Sequence[float] - Region ID.
- charge_
statuses Sequence[float] - Billing status.
- charge_
types Sequence[float] - Billing type.
- id str
- instance_
ids Sequence[str] - Instance ID.
- instance_
statuses Sequence[float] - Instance status (
1
: creating;2
: running;3
: exceptional;4
: restarting;5
: stopping;6
: stopped;7
: terminating;8
: terminated). - result_
output_ strfile - Used to save results.
- area
Ids List<Number> - Region ID.
- charge
Statuses List<Number> - Billing status.
- charge
Types List<Number> - Billing type.
- id String
- instance
Ids List<String> - Instance ID.
- instance
Statuses List<Number> - Instance status (
1
: creating;2
: running;3
: exceptional;4
: restarting;5
: stopping;6
: stopped;7
: terminating;8
: terminated). - result
Output StringFile - Used to save results.
getRumTawInstance Result
The following output properties are available:
- Id string
- Instance
Sets List<GetRum Taw Instance Instance Set> - Instance list.
- Area
Ids List<double> - Charge
Statuses List<double> - Charge
Types List<double> - Instance
Ids List<string> - Instance
Statuses List<double> - Result
Output stringFile
- Id string
- Instance
Sets []GetRum Taw Instance Instance Set - Instance list.
- Area
Ids []float64 - Charge
Statuses []float64 - Charge
Types []float64 - Instance
Ids []string - Instance
Statuses []float64 - Result
Output stringFile
- id String
- instance
Sets List<GetRum Taw Instance Instance Set> - Instance list.
- area
Ids List<Double> - charge
Statuses List<Double> - charge
Types List<Double> - instance
Ids List<String> - instance
Statuses List<Double> - result
Output StringFile
- id string
- instance
Sets GetRum Taw Instance Instance Set[] - Instance list.
- area
Ids number[] - charge
Statuses number[] - charge
Types number[] - instance
Ids string[] - instance
Statuses number[] - result
Output stringFile
- id str
- instance_
sets Sequence[GetRum Taw Instance Instance Set] - Instance list.
- area_
ids Sequence[float] - charge_
statuses Sequence[float] - charge_
types Sequence[float] - instance_
ids Sequence[str] - instance_
statuses Sequence[float] - result_
output_ strfile
- id String
- instance
Sets List<Property Map> - Instance list.
- area
Ids List<Number> - charge
Statuses List<Number> - charge
Types List<Number> - instance
Ids List<String> - instance
Statuses List<Number> - result
Output StringFile
Supporting Types
GetRumTawInstanceInstanceSet
- Area
Id double - Area ID.
- Charge
Status double - Billing status (
1
= in use,2
= expired,3
= destroyed,4
= assigning,5
= failed). - Charge
Type double - Billing type (
1
= free version,2
= prepaid,3
= postpaid). - Cluster
Id double - Cluster ID.
- Created
At string - Create time.
- Data
Retention doubleDays - Data retention time (days).
- Instance
Desc string - Instance Desc.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name.
- Instance
Status double - Instance status (
1
= creating,2
= running,3
= exception,4
= restarting,5
= stopping,6
= stopped,7
= deleted). - List<Get
Rum Taw Instance Instance Set Tag> - Tag List.
- Updated
At string - Update time.
- Area
Id float64 - Area ID.
- Charge
Status float64 - Billing status (
1
= in use,2
= expired,3
= destroyed,4
= assigning,5
= failed). - Charge
Type float64 - Billing type (
1
= free version,2
= prepaid,3
= postpaid). - Cluster
Id float64 - Cluster ID.
- Created
At string - Create time.
- Data
Retention float64Days - Data retention time (days).
- Instance
Desc string - Instance Desc.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name.
- Instance
Status float64 - Instance status (
1
= creating,2
= running,3
= exception,4
= restarting,5
= stopping,6
= stopped,7
= deleted). - []Get
Rum Taw Instance Instance Set Tag - Tag List.
- Updated
At string - Update time.
- area
Id Double - Area ID.
- charge
Status Double - Billing status (
1
= in use,2
= expired,3
= destroyed,4
= assigning,5
= failed). - charge
Type Double - Billing type (
1
= free version,2
= prepaid,3
= postpaid). - cluster
Id Double - Cluster ID.
- created
At String - Create time.
- data
Retention DoubleDays - Data retention time (days).
- instance
Desc String - Instance Desc.
- instance
Id String - Instance ID.
- instance
Name String - Instance name.
- instance
Status Double - Instance status (
1
= creating,2
= running,3
= exception,4
= restarting,5
= stopping,6
= stopped,7
= deleted). - List<Get
Rum Taw Instance Instance Set Tag> - Tag List.
- updated
At String - Update time.
- area
Id number - Area ID.
- charge
Status number - Billing status (
1
= in use,2
= expired,3
= destroyed,4
= assigning,5
= failed). - charge
Type number - Billing type (
1
= free version,2
= prepaid,3
= postpaid). - cluster
Id number - Cluster ID.
- created
At string - Create time.
- data
Retention numberDays - Data retention time (days).
- instance
Desc string - Instance Desc.
- instance
Id string - Instance ID.
- instance
Name string - Instance name.
- instance
Status number - Instance status (
1
= creating,2
= running,3
= exception,4
= restarting,5
= stopping,6
= stopped,7
= deleted). - Get
Rum Taw Instance Instance Set Tag[] - Tag List.
- updated
At string - Update time.
- area_
id float - Area ID.
- charge_
status float - Billing status (
1
= in use,2
= expired,3
= destroyed,4
= assigning,5
= failed). - charge_
type float - Billing type (
1
= free version,2
= prepaid,3
= postpaid). - cluster_
id float - Cluster ID.
- created_
at str - Create time.
- data_
retention_ floatdays - Data retention time (days).
- instance_
desc str - Instance Desc.
- instance_
id str - Instance ID.
- instance_
name str - Instance name.
- instance_
status float - Instance status (
1
= creating,2
= running,3
= exception,4
= restarting,5
= stopping,6
= stopped,7
= deleted). - Sequence[Get
Rum Taw Instance Instance Set Tag] - Tag List.
- updated_
at str - Update time.
- area
Id Number - Area ID.
- charge
Status Number - Billing status (
1
= in use,2
= expired,3
= destroyed,4
= assigning,5
= failed). - charge
Type Number - Billing type (
1
= free version,2
= prepaid,3
= postpaid). - cluster
Id Number - Cluster ID.
- created
At String - Create time.
- data
Retention NumberDays - Data retention time (days).
- instance
Desc String - Instance Desc.
- instance
Id String - Instance ID.
- instance
Name String - Instance name.
- instance
Status Number - Instance status (
1
= creating,2
= running,3
= exception,4
= restarting,5
= stopping,6
= stopped,7
= deleted). - List<Property Map>
- Tag List.
- updated
At String - Update time.
GetRumTawInstanceInstanceSetTag
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