tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTdmqProInstances
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 tdmq pro_instances
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const proInstancesFilter = tencentcloud.getTdmqProInstances({
filters: [{
name: "InstanceName",
values: ["keep"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
pro_instances_filter = tencentcloud.get_tdmq_pro_instances(filters=[{
"name": "InstanceName",
"values": ["keep"],
}])
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.GetTdmqProInstances(ctx, &tencentcloud.GetTdmqProInstancesArgs{
Filters: []tencentcloud.GetTdmqProInstancesFilter{
{
Name: pulumi.StringRef("InstanceName"),
Values: []string{
"keep",
},
},
},
}, 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 proInstancesFilter = Tencentcloud.GetTdmqProInstances.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetTdmqProInstancesFilterInputArgs
{
Name = "InstanceName",
Values = new[]
{
"keep",
},
},
},
});
});
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.GetTdmqProInstancesArgs;
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 proInstancesFilter = TencentcloudFunctions.getTdmqProInstances(GetTdmqProInstancesArgs.builder()
.filters(GetTdmqProInstancesFilterArgs.builder()
.name("InstanceName")
.values("keep")
.build())
.build());
}
}
variables:
proInstancesFilter:
fn::invoke:
function: tencentcloud:getTdmqProInstances
arguments:
filters:
- name: InstanceName
values:
- keep
Using getTdmqProInstances
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 getTdmqProInstances(args: GetTdmqProInstancesArgs, opts?: InvokeOptions): Promise<GetTdmqProInstancesResult>
function getTdmqProInstancesOutput(args: GetTdmqProInstancesOutputArgs, opts?: InvokeOptions): Output<GetTdmqProInstancesResult>
def get_tdmq_pro_instances(filters: Optional[Sequence[GetTdmqProInstancesFilter]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTdmqProInstancesResult
def get_tdmq_pro_instances_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTdmqProInstancesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTdmqProInstancesResult]
func GetTdmqProInstances(ctx *Context, args *GetTdmqProInstancesArgs, opts ...InvokeOption) (*GetTdmqProInstancesResult, error)
func GetTdmqProInstancesOutput(ctx *Context, args *GetTdmqProInstancesOutputArgs, opts ...InvokeOption) GetTdmqProInstancesResultOutput
> Note: This function is named GetTdmqProInstances
in the Go SDK.
public static class GetTdmqProInstances
{
public static Task<GetTdmqProInstancesResult> InvokeAsync(GetTdmqProInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetTdmqProInstancesResult> Invoke(GetTdmqProInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTdmqProInstancesResult> getTdmqProInstances(GetTdmqProInstancesArgs args, InvokeOptions options)
public static Output<GetTdmqProInstancesResult> getTdmqProInstances(GetTdmqProInstancesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTdmqProInstances:getTdmqProInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Tdmq Pro Instances Filter> - query condition filter.
- Id string
- Result
Output stringFile - Used to save results.
- Filters
[]Get
Tdmq Pro Instances Filter - query condition filter.
- Id string
- Result
Output stringFile - Used to save results.
- filters
List<Get
Tdmq Pro Instances Filter> - query condition filter.
- id String
- result
Output StringFile - Used to save results.
- filters
Get
Tdmq Pro Instances Filter[] - query condition filter.
- id string
- result
Output stringFile - Used to save results.
- filters
Sequence[Get
Tdmq Pro Instances Filter] - query condition filter.
- id str
- result_
output_ strfile - Used to save results.
- filters List<Property Map>
- query condition filter.
- id String
- result
Output StringFile - Used to save results.
getTdmqProInstances Result
The following output properties are available:
- Id string
- Instances
List<Get
Tdmq Pro Instances Instance> - Instance information list.
- Filters
List<Get
Tdmq Pro Instances Filter> - Result
Output stringFile
- Id string
- Instances
[]Get
Tdmq Pro Instances Instance - Instance information list.
- Filters
[]Get
Tdmq Pro Instances Filter - Result
Output stringFile
- id String
- instances
List<Get
Tdmq Pro Instances Instance> - Instance information list.
- filters
List<Get
Tdmq Pro Instances Filter> - result
Output StringFile
- id string
- instances
Get
Tdmq Pro Instances Instance[] - Instance information list.
- filters
Get
Tdmq Pro Instances Filter[] - result
Output stringFile
- id str
- instances
Sequence[Get
Tdmq Pro Instances Instance] - Instance information list.
- filters
Sequence[Get
Tdmq Pro Instances Filter] - result_
output_ strfile
- id String
- instances List<Property Map>
- Instance information list.
- filters List<Property Map>
- result
Output StringFile
Supporting Types
GetTdmqProInstancesFilter
GetTdmqProInstancesInstance
- Auto
Renew doubleFlag - Automatic renewal mark, 0 indicates the default state (the user has not set it, that is, the initial state is manual renewal), 1 indicates automatic renewal, 2 indicates that the automatic renewal is not specified (user setting).
- Config
Display string - Instance configuration specification name.
- Create
Time string - Create time.
- Expire
Time double - Instance expiration time, in milliseconds.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name.
- Instance
Version string - Instance version.
- Max
Band doubleWidth - Peak bandwidth. Unit: mbps.
- Max
Storage double - Storage capacity, in GB.
- Max
Tps double - Peak TPS.
- Pay
Mode double - 0-postpaid, 1-prepaid.
- Remark string
- RemarksNote: This field may return null, indicating that no valid value can be obtained.
- Scalable
Tps double - Elastic TPS outside specificationNote: This field may return null, indicating that no valid value can be obtained.
- Spec
Name string - Instance Configuration ID.
- Status double
- Instance status, 0-creating, 1-normal, 2-isolating, 3-destroyed, 4-abnormal, 5-delivery failure, 6-allocation change, 7-allocation failure.
- Subnet
Id string - Subnet idNote: This field may return null, indicating that no valid value can be obtained.
- List<Get
Tdmq Pro Instances Instance Tag> - Tag list.
- Vpc
Id string - Id of the VPCNote: This field may return null, indicating that no valid value can be obtained.
- Auto
Renew float64Flag - Automatic renewal mark, 0 indicates the default state (the user has not set it, that is, the initial state is manual renewal), 1 indicates automatic renewal, 2 indicates that the automatic renewal is not specified (user setting).
- Config
Display string - Instance configuration specification name.
- Create
Time string - Create time.
- Expire
Time float64 - Instance expiration time, in milliseconds.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name.
- Instance
Version string - Instance version.
- Max
Band float64Width - Peak bandwidth. Unit: mbps.
- Max
Storage float64 - Storage capacity, in GB.
- Max
Tps float64 - Peak TPS.
- Pay
Mode float64 - 0-postpaid, 1-prepaid.
- Remark string
- RemarksNote: This field may return null, indicating that no valid value can be obtained.
- Scalable
Tps float64 - Elastic TPS outside specificationNote: This field may return null, indicating that no valid value can be obtained.
- Spec
Name string - Instance Configuration ID.
- Status float64
- Instance status, 0-creating, 1-normal, 2-isolating, 3-destroyed, 4-abnormal, 5-delivery failure, 6-allocation change, 7-allocation failure.
- Subnet
Id string - Subnet idNote: This field may return null, indicating that no valid value can be obtained.
- []Get
Tdmq Pro Instances Instance Tag - Tag list.
- Vpc
Id string - Id of the VPCNote: This field may return null, indicating that no valid value can be obtained.
- auto
Renew DoubleFlag - Automatic renewal mark, 0 indicates the default state (the user has not set it, that is, the initial state is manual renewal), 1 indicates automatic renewal, 2 indicates that the automatic renewal is not specified (user setting).
- config
Display String - Instance configuration specification name.
- create
Time String - Create time.
- expire
Time Double - Instance expiration time, in milliseconds.
- instance
Id String - Instance ID.
- instance
Name String - Instance name.
- instance
Version String - Instance version.
- max
Band DoubleWidth - Peak bandwidth. Unit: mbps.
- max
Storage Double - Storage capacity, in GB.
- max
Tps Double - Peak TPS.
- pay
Mode Double - 0-postpaid, 1-prepaid.
- remark String
- RemarksNote: This field may return null, indicating that no valid value can be obtained.
- scalable
Tps Double - Elastic TPS outside specificationNote: This field may return null, indicating that no valid value can be obtained.
- spec
Name String - Instance Configuration ID.
- status Double
- Instance status, 0-creating, 1-normal, 2-isolating, 3-destroyed, 4-abnormal, 5-delivery failure, 6-allocation change, 7-allocation failure.
- subnet
Id String - Subnet idNote: This field may return null, indicating that no valid value can be obtained.
- List<Get
Tdmq Pro Instances Instance Tag> - Tag list.
- vpc
Id String - Id of the VPCNote: This field may return null, indicating that no valid value can be obtained.
- auto
Renew numberFlag - Automatic renewal mark, 0 indicates the default state (the user has not set it, that is, the initial state is manual renewal), 1 indicates automatic renewal, 2 indicates that the automatic renewal is not specified (user setting).
- config
Display string - Instance configuration specification name.
- create
Time string - Create time.
- expire
Time number - Instance expiration time, in milliseconds.
- instance
Id string - Instance ID.
- instance
Name string - Instance name.
- instance
Version string - Instance version.
- max
Band numberWidth - Peak bandwidth. Unit: mbps.
- max
Storage number - Storage capacity, in GB.
- max
Tps number - Peak TPS.
- pay
Mode number - 0-postpaid, 1-prepaid.
- remark string
- RemarksNote: This field may return null, indicating that no valid value can be obtained.
- scalable
Tps number - Elastic TPS outside specificationNote: This field may return null, indicating that no valid value can be obtained.
- spec
Name string - Instance Configuration ID.
- status number
- Instance status, 0-creating, 1-normal, 2-isolating, 3-destroyed, 4-abnormal, 5-delivery failure, 6-allocation change, 7-allocation failure.
- subnet
Id string - Subnet idNote: This field may return null, indicating that no valid value can be obtained.
- Get
Tdmq Pro Instances Instance Tag[] - Tag list.
- vpc
Id string - Id of the VPCNote: This field may return null, indicating that no valid value can be obtained.
- auto_
renew_ floatflag - Automatic renewal mark, 0 indicates the default state (the user has not set it, that is, the initial state is manual renewal), 1 indicates automatic renewal, 2 indicates that the automatic renewal is not specified (user setting).
- config_
display str - Instance configuration specification name.
- create_
time str - Create time.
- expire_
time float - Instance expiration time, in milliseconds.
- instance_
id str - Instance ID.
- instance_
name str - Instance name.
- instance_
version str - Instance version.
- max_
band_ floatwidth - Peak bandwidth. Unit: mbps.
- max_
storage float - Storage capacity, in GB.
- max_
tps float - Peak TPS.
- pay_
mode float - 0-postpaid, 1-prepaid.
- remark str
- RemarksNote: This field may return null, indicating that no valid value can be obtained.
- scalable_
tps float - Elastic TPS outside specificationNote: This field may return null, indicating that no valid value can be obtained.
- spec_
name str - Instance Configuration ID.
- status float
- Instance status, 0-creating, 1-normal, 2-isolating, 3-destroyed, 4-abnormal, 5-delivery failure, 6-allocation change, 7-allocation failure.
- subnet_
id str - Subnet idNote: This field may return null, indicating that no valid value can be obtained.
- Sequence[Get
Tdmq Pro Instances Instance Tag] - Tag list.
- vpc_
id str - Id of the VPCNote: This field may return null, indicating that no valid value can be obtained.
- auto
Renew NumberFlag - Automatic renewal mark, 0 indicates the default state (the user has not set it, that is, the initial state is manual renewal), 1 indicates automatic renewal, 2 indicates that the automatic renewal is not specified (user setting).
- config
Display String - Instance configuration specification name.
- create
Time String - Create time.
- expire
Time Number - Instance expiration time, in milliseconds.
- instance
Id String - Instance ID.
- instance
Name String - Instance name.
- instance
Version String - Instance version.
- max
Band NumberWidth - Peak bandwidth. Unit: mbps.
- max
Storage Number - Storage capacity, in GB.
- max
Tps Number - Peak TPS.
- pay
Mode Number - 0-postpaid, 1-prepaid.
- remark String
- RemarksNote: This field may return null, indicating that no valid value can be obtained.
- scalable
Tps Number - Elastic TPS outside specificationNote: This field may return null, indicating that no valid value can be obtained.
- spec
Name String - Instance Configuration ID.
- status Number
- Instance status, 0-creating, 1-normal, 2-isolating, 3-destroyed, 4-abnormal, 5-delivery failure, 6-allocation change, 7-allocation failure.
- subnet
Id String - Subnet idNote: This field may return null, indicating that no valid value can be obtained.
- List<Property Map>
- Tag list.
- vpc
Id String - Id of the VPCNote: This field may return null, indicating that no valid value can be obtained.
GetTdmqProInstancesInstanceTag
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