tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTcaplusClusters
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query TcaplusDB clusters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const name = tencentcloud.getTcaplusClusters({
clusterName: "cluster",
});
const id = tencentcloud.getTcaplusClusters({
clusterId: tencentcloud_tcaplus_cluster.test.id,
});
const idname = tencentcloud.getTcaplusClusters({
clusterId: tencentcloud_tcaplus_cluster.test.id,
clusterName: "cluster",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
name = tencentcloud.get_tcaplus_clusters(cluster_name="cluster")
id = tencentcloud.get_tcaplus_clusters(cluster_id=tencentcloud_tcaplus_cluster["test"]["id"])
idname = tencentcloud.get_tcaplus_clusters(cluster_id=tencentcloud_tcaplus_cluster["test"]["id"],
cluster_name="cluster")
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.GetTcaplusClusters(ctx, &tencentcloud.GetTcaplusClustersArgs{
ClusterName: pulumi.StringRef("cluster"),
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.GetTcaplusClusters(ctx, &tencentcloud.GetTcaplusClustersArgs{
ClusterId: pulumi.StringRef(tencentcloud_tcaplus_cluster.Test.Id),
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.GetTcaplusClusters(ctx, &tencentcloud.GetTcaplusClustersArgs{
ClusterId: pulumi.StringRef(tencentcloud_tcaplus_cluster.Test.Id),
ClusterName: pulumi.StringRef("cluster"),
}, 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 name = Tencentcloud.GetTcaplusClusters.Invoke(new()
{
ClusterName = "cluster",
});
var id = Tencentcloud.GetTcaplusClusters.Invoke(new()
{
ClusterId = tencentcloud_tcaplus_cluster.Test.Id,
});
var idname = Tencentcloud.GetTcaplusClusters.Invoke(new()
{
ClusterId = tencentcloud_tcaplus_cluster.Test.Id,
ClusterName = "cluster",
});
});
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.GetTcaplusClustersArgs;
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 name = TencentcloudFunctions.getTcaplusClusters(GetTcaplusClustersArgs.builder()
.clusterName("cluster")
.build());
final var id = TencentcloudFunctions.getTcaplusClusters(GetTcaplusClustersArgs.builder()
.clusterId(tencentcloud_tcaplus_cluster.test().id())
.build());
final var idname = TencentcloudFunctions.getTcaplusClusters(GetTcaplusClustersArgs.builder()
.clusterId(tencentcloud_tcaplus_cluster.test().id())
.clusterName("cluster")
.build());
}
}
variables:
name:
fn::invoke:
function: tencentcloud:getTcaplusClusters
arguments:
clusterName: cluster
id:
fn::invoke:
function: tencentcloud:getTcaplusClusters
arguments:
clusterId: ${tencentcloud_tcaplus_cluster.test.id}
idname:
fn::invoke:
function: tencentcloud:getTcaplusClusters
arguments:
clusterId: ${tencentcloud_tcaplus_cluster.test.id}
clusterName: cluster
Using getTcaplusClusters
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 getTcaplusClusters(args: GetTcaplusClustersArgs, opts?: InvokeOptions): Promise<GetTcaplusClustersResult>
function getTcaplusClustersOutput(args: GetTcaplusClustersOutputArgs, opts?: InvokeOptions): Output<GetTcaplusClustersResult>
def get_tcaplus_clusters(cluster_id: Optional[str] = None,
cluster_name: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTcaplusClustersResult
def get_tcaplus_clusters_output(cluster_id: Optional[pulumi.Input[str]] = None,
cluster_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTcaplusClustersResult]
func GetTcaplusClusters(ctx *Context, args *GetTcaplusClustersArgs, opts ...InvokeOption) (*GetTcaplusClustersResult, error)
func GetTcaplusClustersOutput(ctx *Context, args *GetTcaplusClustersOutputArgs, opts ...InvokeOption) GetTcaplusClustersResultOutput
> Note: This function is named GetTcaplusClusters
in the Go SDK.
public static class GetTcaplusClusters
{
public static Task<GetTcaplusClustersResult> InvokeAsync(GetTcaplusClustersArgs args, InvokeOptions? opts = null)
public static Output<GetTcaplusClustersResult> Invoke(GetTcaplusClustersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTcaplusClustersResult> getTcaplusClusters(GetTcaplusClustersArgs args, InvokeOptions options)
public static Output<GetTcaplusClustersResult> getTcaplusClusters(GetTcaplusClustersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcaplusClusters:getTcaplusClusters
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - ID of the TcaplusDB cluster to be query.
- Cluster
Name string - Name of the TcaplusDB cluster to be query.
- Id string
- Result
Output stringFile - File for saving results.
- Cluster
Id string - ID of the TcaplusDB cluster to be query.
- Cluster
Name string - Name of the TcaplusDB cluster to be query.
- Id string
- Result
Output stringFile - File for saving results.
- cluster
Id String - ID of the TcaplusDB cluster to be query.
- cluster
Name String - Name of the TcaplusDB cluster to be query.
- id String
- result
Output StringFile - File for saving results.
- cluster
Id string - ID of the TcaplusDB cluster to be query.
- cluster
Name string - Name of the TcaplusDB cluster to be query.
- id string
- result
Output stringFile - File for saving results.
- cluster_
id str - ID of the TcaplusDB cluster to be query.
- cluster_
name str - Name of the TcaplusDB cluster to be query.
- id str
- result_
output_ strfile - File for saving results.
- cluster
Id String - ID of the TcaplusDB cluster to be query.
- cluster
Name String - Name of the TcaplusDB cluster to be query.
- id String
- result
Output StringFile - File for saving results.
getTcaplusClusters Result
The following output properties are available:
- Id string
- Lists
List<Get
Tcaplus Clusters List> - A list of TcaplusDB cluster. Each element contains the following attributes.
- Cluster
Id string - ID of the TcaplusDB cluster.
- Cluster
Name string - Name of the TcaplusDB cluster.
- Result
Output stringFile
- Id string
- Lists
[]Get
Tcaplus Clusters List - A list of TcaplusDB cluster. Each element contains the following attributes.
- Cluster
Id string - ID of the TcaplusDB cluster.
- Cluster
Name string - Name of the TcaplusDB cluster.
- Result
Output stringFile
- id String
- lists
List<Get
Tcaplus Clusters List> - A list of TcaplusDB cluster. Each element contains the following attributes.
- cluster
Id String - ID of the TcaplusDB cluster.
- cluster
Name String - Name of the TcaplusDB cluster.
- result
Output StringFile
- id string
- lists
Get
Tcaplus Clusters List[] - A list of TcaplusDB cluster. Each element contains the following attributes.
- cluster
Id string - ID of the TcaplusDB cluster.
- cluster
Name string - Name of the TcaplusDB cluster.
- result
Output stringFile
- id str
- lists
Sequence[Get
Tcaplus Clusters List] - A list of TcaplusDB cluster. Each element contains the following attributes.
- cluster_
id str - ID of the TcaplusDB cluster.
- cluster_
name str - Name of the TcaplusDB cluster.
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list of TcaplusDB cluster. Each element contains the following attributes.
- cluster
Id String - ID of the TcaplusDB cluster.
- cluster
Name String - Name of the TcaplusDB cluster.
- result
Output StringFile
Supporting Types
GetTcaplusClustersList
- Api
Access stringId - Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.
- Api
Access stringIp - Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.
- Api
Access doublePort - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
- Cluster
Id string - ID of the TcaplusDB cluster to be query.
- Cluster
Name string - Name of the TcaplusDB cluster to be query.
- Create
Time string - Create time of the TcaplusDB cluster.
- Idl
Type string - IDL type of the TcaplusDB cluster.
- Network
Type string - Network type of the TcaplusDB cluster.
- Old
Password stringExpire Time - Expiration time of the old password. If
password_status
isunmodifiable
, it means the old password has not yet expired. - Password string
- Access password of the TcaplusDB cluster.
- Password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable
,modifiable
.unmodifiable
means the password can not be changed in this moment;modifiable
means the password can be changed in this moment. - Subnet
Id string - Subnet ID of the TcaplusDB cluster.
- Vpc
Id string - VPC ID of the TcaplusDB cluster.
- Api
Access stringId - Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.
- Api
Access stringIp - Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.
- Api
Access float64Port - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
- Cluster
Id string - ID of the TcaplusDB cluster to be query.
- Cluster
Name string - Name of the TcaplusDB cluster to be query.
- Create
Time string - Create time of the TcaplusDB cluster.
- Idl
Type string - IDL type of the TcaplusDB cluster.
- Network
Type string - Network type of the TcaplusDB cluster.
- Old
Password stringExpire Time - Expiration time of the old password. If
password_status
isunmodifiable
, it means the old password has not yet expired. - Password string
- Access password of the TcaplusDB cluster.
- Password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable
,modifiable
.unmodifiable
means the password can not be changed in this moment;modifiable
means the password can be changed in this moment. - Subnet
Id string - Subnet ID of the TcaplusDB cluster.
- Vpc
Id string - VPC ID of the TcaplusDB cluster.
- api
Access StringId - Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api
Access StringIp - Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api
Access DoublePort - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
- cluster
Id String - ID of the TcaplusDB cluster to be query.
- cluster
Name String - Name of the TcaplusDB cluster to be query.
- create
Time String - Create time of the TcaplusDB cluster.
- idl
Type String - IDL type of the TcaplusDB cluster.
- network
Type String - Network type of the TcaplusDB cluster.
- old
Password StringExpire Time - Expiration time of the old password. If
password_status
isunmodifiable
, it means the old password has not yet expired. - password String
- Access password of the TcaplusDB cluster.
- password
Status String - Password status of the TcaplusDB cluster. Valid values:
unmodifiable
,modifiable
.unmodifiable
means the password can not be changed in this moment;modifiable
means the password can be changed in this moment. - subnet
Id String - Subnet ID of the TcaplusDB cluster.
- vpc
Id String - VPC ID of the TcaplusDB cluster.
- api
Access stringId - Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api
Access stringIp - Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api
Access numberPort - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
- cluster
Id string - ID of the TcaplusDB cluster to be query.
- cluster
Name string - Name of the TcaplusDB cluster to be query.
- create
Time string - Create time of the TcaplusDB cluster.
- idl
Type string - IDL type of the TcaplusDB cluster.
- network
Type string - Network type of the TcaplusDB cluster.
- old
Password stringExpire Time - Expiration time of the old password. If
password_status
isunmodifiable
, it means the old password has not yet expired. - password string
- Access password of the TcaplusDB cluster.
- password
Status string - Password status of the TcaplusDB cluster. Valid values:
unmodifiable
,modifiable
.unmodifiable
means the password can not be changed in this moment;modifiable
means the password can be changed in this moment. - subnet
Id string - Subnet ID of the TcaplusDB cluster.
- vpc
Id string - VPC ID of the TcaplusDB cluster.
- api_
access_ strid - Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api_
access_ strip - Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api_
access_ floatport - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
- cluster_
id str - ID of the TcaplusDB cluster to be query.
- cluster_
name str - Name of the TcaplusDB cluster to be query.
- create_
time str - Create time of the TcaplusDB cluster.
- idl_
type str - IDL type of the TcaplusDB cluster.
- network_
type str - Network type of the TcaplusDB cluster.
- old_
password_ strexpire_ time - Expiration time of the old password. If
password_status
isunmodifiable
, it means the old password has not yet expired. - password str
- Access password of the TcaplusDB cluster.
- password_
status str - Password status of the TcaplusDB cluster. Valid values:
unmodifiable
,modifiable
.unmodifiable
means the password can not be changed in this moment;modifiable
means the password can be changed in this moment. - subnet_
id str - Subnet ID of the TcaplusDB cluster.
- vpc_
id str - VPC ID of the TcaplusDB cluster.
- api
Access StringId - Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api
Access StringIp - Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.
- api
Access NumberPort - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
- cluster
Id String - ID of the TcaplusDB cluster to be query.
- cluster
Name String - Name of the TcaplusDB cluster to be query.
- create
Time String - Create time of the TcaplusDB cluster.
- idl
Type String - IDL type of the TcaplusDB cluster.
- network
Type String - Network type of the TcaplusDB cluster.
- old
Password StringExpire Time - Expiration time of the old password. If
password_status
isunmodifiable
, it means the old password has not yet expired. - password String
- Access password of the TcaplusDB cluster.
- password
Status String - Password status of the TcaplusDB cluster. Valid values:
unmodifiable
,modifiable
.unmodifiable
means the password can not be changed in this moment;modifiable
means the password can be changed in this moment. - subnet
Id String - Subnet ID of the TcaplusDB cluster.
- vpc
Id String - VPC ID of the TcaplusDB cluster.
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