tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTdmqRocketmqCluster
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 tdmqRocketmq cluster
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const exampleTdmqRocketmqCluster = tencentcloud.getTdmqRocketmqCluster({
nameKeyword: exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.clusterName,
});
const exampleIndex_tdmqRocketmqClusterTdmqRocketmqCluster = new tencentcloud.TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", {
clusterName: "tf_example",
remark: "remark.",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example_tdmq_rocketmq_cluster = tencentcloud.get_tdmq_rocketmq_cluster(name_keyword=example_index / tdmq_rocketmq_cluster_tdmq_rocketmq_cluster["clusterName"])
example_index_tdmq_rocketmq_cluster_tdmq_rocketmq_cluster = tencentcloud.TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster",
cluster_name="tf_example",
remark="remark.")
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.LookupTdmqRocketmqCluster(ctx, &tencentcloud.LookupTdmqRocketmqClusterArgs{
NameKeyword: pulumi.StringRef(pulumi.String(exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.ClusterName)),
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.NewTdmqRocketmqCluster(ctx, "exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", &tencentcloud.TdmqRocketmqClusterArgs{
ClusterName: pulumi.String("tf_example"),
Remark: pulumi.String("remark."),
})
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 exampleTdmqRocketmqCluster = Tencentcloud.GetTdmqRocketmqCluster.Invoke(new()
{
NameKeyword = exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.ClusterName,
});
var exampleIndex_tdmqRocketmqClusterTdmqRocketmqCluster = new Tencentcloud.TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", new()
{
ClusterName = "tf_example",
Remark = "remark.",
});
});
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.GetTdmqRocketmqClusterArgs;
import com.pulumi.tencentcloud.TdmqRocketmqCluster;
import com.pulumi.tencentcloud.TdmqRocketmqClusterArgs;
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 exampleTdmqRocketmqCluster = TencentcloudFunctions.getTdmqRocketmqCluster(GetTdmqRocketmqClusterArgs.builder()
.nameKeyword(exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.clusterName())
.build());
var exampleIndex_tdmqRocketmqClusterTdmqRocketmqCluster = new TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", TdmqRocketmqClusterArgs.builder()
.clusterName("tf_example")
.remark("remark.")
.build());
}
}
Coming soon!
Using getTdmqRocketmqCluster
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 getTdmqRocketmqCluster(args: GetTdmqRocketmqClusterArgs, opts?: InvokeOptions): Promise<GetTdmqRocketmqClusterResult>
function getTdmqRocketmqClusterOutput(args: GetTdmqRocketmqClusterOutputArgs, opts?: InvokeOptions): Output<GetTdmqRocketmqClusterResult>
def get_tdmq_rocketmq_cluster(cluster_id_lists: Optional[Sequence[str]] = None,
id: Optional[str] = None,
id_keyword: Optional[str] = None,
name_keyword: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTdmqRocketmqClusterResult
def get_tdmq_rocketmq_cluster_output(cluster_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
id_keyword: Optional[pulumi.Input[str]] = None,
name_keyword: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTdmqRocketmqClusterResult]
func LookupTdmqRocketmqCluster(ctx *Context, args *LookupTdmqRocketmqClusterArgs, opts ...InvokeOption) (*LookupTdmqRocketmqClusterResult, error)
func LookupTdmqRocketmqClusterOutput(ctx *Context, args *LookupTdmqRocketmqClusterOutputArgs, opts ...InvokeOption) LookupTdmqRocketmqClusterResultOutput
> Note: This function is named LookupTdmqRocketmqCluster
in the Go SDK.
public static class GetTdmqRocketmqCluster
{
public static Task<GetTdmqRocketmqClusterResult> InvokeAsync(GetTdmqRocketmqClusterArgs args, InvokeOptions? opts = null)
public static Output<GetTdmqRocketmqClusterResult> Invoke(GetTdmqRocketmqClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTdmqRocketmqClusterResult> getTdmqRocketmqCluster(GetTdmqRocketmqClusterArgs args, InvokeOptions options)
public static Output<GetTdmqRocketmqClusterResult> getTdmqRocketmqCluster(GetTdmqRocketmqClusterArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTdmqRocketmqCluster:getTdmqRocketmqCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id List<string>Lists - Filter by cluster ID.
- Id string
- Id
Keyword string - Search by cluster ID.
- Name
Keyword string - Search by cluster name.
- Result
Output stringFile - Used to save results.
- Cluster
Id []stringLists - Filter by cluster ID.
- Id string
- Id
Keyword string - Search by cluster ID.
- Name
Keyword string - Search by cluster name.
- Result
Output stringFile - Used to save results.
- cluster
Id List<String>Lists - Filter by cluster ID.
- id String
- id
Keyword String - Search by cluster ID.
- name
Keyword String - Search by cluster name.
- result
Output StringFile - Used to save results.
- cluster
Id string[]Lists - Filter by cluster ID.
- id string
- id
Keyword string - Search by cluster ID.
- name
Keyword string - Search by cluster name.
- result
Output stringFile - Used to save results.
- cluster_
id_ Sequence[str]lists - Filter by cluster ID.
- id str
- id_
keyword str - Search by cluster ID.
- name_
keyword str - Search by cluster name.
- result_
output_ strfile - Used to save results.
- cluster
Id List<String>Lists - Filter by cluster ID.
- id String
- id
Keyword String - Search by cluster ID.
- name
Keyword String - Search by cluster name.
- result
Output StringFile - Used to save results.
getTdmqRocketmqCluster Result
The following output properties are available:
- Cluster
Lists List<GetTdmq Rocketmq Cluster Cluster List> - Cluster information.
- Id string
- Cluster
Id List<string>Lists - Id
Keyword string - Name
Keyword string - Result
Output stringFile
- Cluster
Lists []GetTdmq Rocketmq Cluster Cluster List - Cluster information.
- Id string
- Cluster
Id []stringLists - Id
Keyword string - Name
Keyword string - Result
Output stringFile
- cluster
Lists List<GetTdmq Rocketmq Cluster Cluster List> - Cluster information.
- id String
- cluster
Id List<String>Lists - id
Keyword String - name
Keyword String - result
Output StringFile
- cluster
Lists GetTdmq Rocketmq Cluster Cluster List[] - Cluster information.
- id string
- cluster
Id string[]Lists - id
Keyword string - name
Keyword string - result
Output stringFile
- cluster_
lists Sequence[GetTdmq Rocketmq Cluster Cluster List] - Cluster information.
- id str
- cluster_
id_ Sequence[str]lists - id_
keyword str - name_
keyword str - result_
output_ strfile
- cluster
Lists List<Property Map> - Cluster information.
- id String
- cluster
Id List<String>Lists - id
Keyword String - name
Keyword String - result
Output StringFile
Supporting Types
GetTdmqRocketmqClusterClusterList
- Configs
List<Get
Tdmq Rocketmq Cluster Cluster List Config> - Cluster configuration information.
- Infos
List<Get
Tdmq Rocketmq Cluster Cluster List Info> - Basic cluster information.
- Status double
- Cluster status.
0
: Creating;1
: Normal;2
: Terminating;3
: Deleted;4
: Isolated;5
: Creation failed;6
: Deletion failed.
- Configs
[]Get
Tdmq Rocketmq Cluster Cluster List Config - Cluster configuration information.
- Infos
[]Get
Tdmq Rocketmq Cluster Cluster List Info - Basic cluster information.
- Status float64
- Cluster status.
0
: Creating;1
: Normal;2
: Terminating;3
: Deleted;4
: Isolated;5
: Creation failed;6
: Deletion failed.
- configs
List<Get
Tdmq Rocketmq Cluster Cluster List Config> - Cluster configuration information.
- infos
List<Get
Tdmq Rocketmq Cluster Cluster List Info> - Basic cluster information.
- status Double
- Cluster status.
0
: Creating;1
: Normal;2
: Terminating;3
: Deleted;4
: Isolated;5
: Creation failed;6
: Deletion failed.
- configs
Get
Tdmq Rocketmq Cluster Cluster List Config[] - Cluster configuration information.
- infos
Get
Tdmq Rocketmq Cluster Cluster List Info[] - Basic cluster information.
- status number
- Cluster status.
0
: Creating;1
: Normal;2
: Terminating;3
: Deleted;4
: Isolated;5
: Creation failed;6
: Deletion failed.
- configs
Sequence[Get
Tdmq Rocketmq Cluster Cluster List Config] - Cluster configuration information.
- infos
Sequence[Get
Tdmq Rocketmq Cluster Cluster List Info] - Basic cluster information.
- status float
- Cluster status.
0
: Creating;1
: Normal;2
: Terminating;3
: Deleted;4
: Isolated;5
: Creation failed;6
: Deletion failed.
- configs List<Property Map>
- Cluster configuration information.
- infos List<Property Map>
- Basic cluster information.
- status Number
- Cluster status.
0
: Creating;1
: Normal;2
: Terminating;3
: Deleted;4
: Isolated;5
: Creation failed;6
: Deletion failed.
GetTdmqRocketmqClusterClusterListConfig
- Max
Group doubleNum - Maximum number of groups.
- Max
Latency doubleTime - Maximum message delay in millisecond.
- Max
Namespace doubleNum - Maximum number of namespaces.
- Max
Retention doubleTime - Maximum message retention period in milliseconds.
- Max
Topic doubleNum - Maximum number of topics.
- Max
Tps doublePer Namespace - Maximum TPS per namespace.
- Used
Group doubleNum - Number of used groups.
- Used
Namespace doubleNum - Number of used namespaces.
- Used
Topic doubleNum - Number of used topics.
- Max
Group float64Num - Maximum number of groups.
- Max
Latency float64Time - Maximum message delay in millisecond.
- Max
Namespace float64Num - Maximum number of namespaces.
- Max
Retention float64Time - Maximum message retention period in milliseconds.
- Max
Topic float64Num - Maximum number of topics.
- Max
Tps float64Per Namespace - Maximum TPS per namespace.
- Used
Group float64Num - Number of used groups.
- Used
Namespace float64Num - Number of used namespaces.
- Used
Topic float64Num - Number of used topics.
- max
Group DoubleNum - Maximum number of groups.
- max
Latency DoubleTime - Maximum message delay in millisecond.
- max
Namespace DoubleNum - Maximum number of namespaces.
- max
Retention DoubleTime - Maximum message retention period in milliseconds.
- max
Topic DoubleNum - Maximum number of topics.
- max
Tps DoublePer Namespace - Maximum TPS per namespace.
- used
Group DoubleNum - Number of used groups.
- used
Namespace DoubleNum - Number of used namespaces.
- used
Topic DoubleNum - Number of used topics.
- max
Group numberNum - Maximum number of groups.
- max
Latency numberTime - Maximum message delay in millisecond.
- max
Namespace numberNum - Maximum number of namespaces.
- max
Retention numberTime - Maximum message retention period in milliseconds.
- max
Topic numberNum - Maximum number of topics.
- max
Tps numberPer Namespace - Maximum TPS per namespace.
- used
Group numberNum - Number of used groups.
- used
Namespace numberNum - Number of used namespaces.
- used
Topic numberNum - Number of used topics.
- max_
group_ floatnum - Maximum number of groups.
- max_
latency_ floattime - Maximum message delay in millisecond.
- max_
namespace_ floatnum - Maximum number of namespaces.
- max_
retention_ floattime - Maximum message retention period in milliseconds.
- max_
topic_ floatnum - Maximum number of topics.
- max_
tps_ floatper_ namespace - Maximum TPS per namespace.
- used_
group_ floatnum - Number of used groups.
- used_
namespace_ floatnum - Number of used namespaces.
- used_
topic_ floatnum - Number of used topics.
- max
Group NumberNum - Maximum number of groups.
- max
Latency NumberTime - Maximum message delay in millisecond.
- max
Namespace NumberNum - Maximum number of namespaces.
- max
Retention NumberTime - Maximum message retention period in milliseconds.
- max
Topic NumberNum - Maximum number of topics.
- max
Tps NumberPer Namespace - Maximum TPS per namespace.
- used
Group NumberNum - Number of used groups.
- used
Namespace NumberNum - Number of used namespaces.
- used
Topic NumberNum - Number of used topics.
GetTdmqRocketmqClusterClusterListInfo
- Cluster
Id string - Cluster ID.
- Cluster
Name string - Cluster name.
- Create
Time double - Creation time in milliseconds.
- Is
Vip bool - Whether it is an exclusive instance.
- Public
End stringPoint - Public network access address.
- Region string
- Region information.
- Remark string
- Cluster description (up to 128 characters).
- Rocketmq
Flag bool - Rocketmq cluster identification.
- Support
Namespace boolEndpoint - Whether the namespace access point is supported.
- Vpc
End stringPoint - VPC access address.
- Vpcs
List<Get
Tdmq Rocketmq Cluster Cluster List Info Vpc> - Vpc list.
- Cluster
Id string - Cluster ID.
- Cluster
Name string - Cluster name.
- Create
Time float64 - Creation time in milliseconds.
- Is
Vip bool - Whether it is an exclusive instance.
- Public
End stringPoint - Public network access address.
- Region string
- Region information.
- Remark string
- Cluster description (up to 128 characters).
- Rocketmq
Flag bool - Rocketmq cluster identification.
- Support
Namespace boolEndpoint - Whether the namespace access point is supported.
- Vpc
End stringPoint - VPC access address.
- Vpcs
[]Get
Tdmq Rocketmq Cluster Cluster List Info Vpc - Vpc list.
- cluster
Id String - Cluster ID.
- cluster
Name String - Cluster name.
- create
Time Double - Creation time in milliseconds.
- is
Vip Boolean - Whether it is an exclusive instance.
- public
End StringPoint - Public network access address.
- region String
- Region information.
- remark String
- Cluster description (up to 128 characters).
- rocketmq
Flag Boolean - Rocketmq cluster identification.
- support
Namespace BooleanEndpoint - Whether the namespace access point is supported.
- vpc
End StringPoint - VPC access address.
- vpcs
List<Get
Tdmq Rocketmq Cluster Cluster List Info Vpc> - Vpc list.
- cluster
Id string - Cluster ID.
- cluster
Name string - Cluster name.
- create
Time number - Creation time in milliseconds.
- is
Vip boolean - Whether it is an exclusive instance.
- public
End stringPoint - Public network access address.
- region string
- Region information.
- remark string
- Cluster description (up to 128 characters).
- rocketmq
Flag boolean - Rocketmq cluster identification.
- support
Namespace booleanEndpoint - Whether the namespace access point is supported.
- vpc
End stringPoint - VPC access address.
- vpcs
Get
Tdmq Rocketmq Cluster Cluster List Info Vpc[] - Vpc list.
- cluster_
id str - Cluster ID.
- cluster_
name str - Cluster name.
- create_
time float - Creation time in milliseconds.
- is_
vip bool - Whether it is an exclusive instance.
- public_
end_ strpoint - Public network access address.
- region str
- Region information.
- remark str
- Cluster description (up to 128 characters).
- rocketmq_
flag bool - Rocketmq cluster identification.
- support_
namespace_ boolendpoint - Whether the namespace access point is supported.
- vpc_
end_ strpoint - VPC access address.
- vpcs
Sequence[Get
Tdmq Rocketmq Cluster Cluster List Info Vpc] - Vpc list.
- cluster
Id String - Cluster ID.
- cluster
Name String - Cluster name.
- create
Time Number - Creation time in milliseconds.
- is
Vip Boolean - Whether it is an exclusive instance.
- public
End StringPoint - Public network access address.
- region String
- Region information.
- remark String
- Cluster description (up to 128 characters).
- rocketmq
Flag Boolean - Rocketmq cluster identification.
- support
Namespace BooleanEndpoint - Whether the namespace access point is supported.
- vpc
End StringPoint - VPC access address.
- vpcs List<Property Map>
- Vpc list.
GetTdmqRocketmqClusterClusterListInfoVpc
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