1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. DbdcDbCustomCluster
Viewing docs for tencentcloud 1.83.7
published on Tuesday, Jun 30, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.7
published on Tuesday, Jun 30, 2026 by tencentcloudstack

    Create DbdcDbCustomCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbdcDbCustomCluster(name: string, args: DbdcDbCustomClusterArgs, opts?: CustomResourceOptions);
    @overload
    def DbdcDbCustomCluster(resource_name: str,
                            args: DbdcDbCustomClusterArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbdcDbCustomCluster(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            api_server_network: Optional[DbdcDbCustomClusterApiServerNetworkArgs] = None,
                            cluster_name: Optional[str] = None,
                            container_network: Optional[DbdcDbCustomClusterContainerNetworkArgs] = None,
                            cluster_description: Optional[str] = None,
                            dbdc_db_custom_cluster_id: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            timeouts: Optional[DbdcDbCustomClusterTimeoutsArgs] = None)
    func NewDbdcDbCustomCluster(ctx *Context, name string, args DbdcDbCustomClusterArgs, opts ...ResourceOption) (*DbdcDbCustomCluster, error)
    public DbdcDbCustomCluster(string name, DbdcDbCustomClusterArgs args, CustomResourceOptions? opts = null)
    public DbdcDbCustomCluster(String name, DbdcDbCustomClusterArgs args)
    public DbdcDbCustomCluster(String name, DbdcDbCustomClusterArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DbdcDbCustomCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_dbdcdbcustomcluster" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbdcDbCustomClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DbdcDbCustomClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DbdcDbCustomClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbdcDbCustomClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbdcDbCustomClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DbdcDbCustomCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DbdcDbCustomCluster resource accepts the following input properties:

    ApiServerNetwork DbdcDbCustomClusterApiServerNetwork
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    ClusterName string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    ContainerNetwork DbdcDbCustomClusterContainerNetwork
    Container network. All pods in this cluster are connected to this network.
    ClusterDescription string
    Cluster description.
    DbdcDbCustomClusterId string
    Tags Dictionary<string, string>
    Cluster tags.
    Timeouts DbdcDbCustomClusterTimeouts
    ApiServerNetwork DbdcDbCustomClusterApiServerNetworkArgs
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    ClusterName string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    ContainerNetwork DbdcDbCustomClusterContainerNetworkArgs
    Container network. All pods in this cluster are connected to this network.
    ClusterDescription string
    Cluster description.
    DbdcDbCustomClusterId string
    Tags map[string]string
    Cluster tags.
    Timeouts DbdcDbCustomClusterTimeoutsArgs
    api_server_network object
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    cluster_name string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    container_network object
    Container network. All pods in this cluster are connected to this network.
    cluster_description string
    Cluster description.
    dbdc_db_custom_cluster_id string
    tags map(string)
    Cluster tags.
    timeouts object
    apiServerNetwork DbdcDbCustomClusterApiServerNetwork
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    clusterName String
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    containerNetwork DbdcDbCustomClusterContainerNetwork
    Container network. All pods in this cluster are connected to this network.
    clusterDescription String
    Cluster description.
    dbdcDbCustomClusterId String
    tags Map<String,String>
    Cluster tags.
    timeouts DbdcDbCustomClusterTimeouts
    apiServerNetwork DbdcDbCustomClusterApiServerNetwork
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    clusterName string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    containerNetwork DbdcDbCustomClusterContainerNetwork
    Container network. All pods in this cluster are connected to this network.
    clusterDescription string
    Cluster description.
    dbdcDbCustomClusterId string
    tags {[key: string]: string}
    Cluster tags.
    timeouts DbdcDbCustomClusterTimeouts
    api_server_network DbdcDbCustomClusterApiServerNetworkArgs
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    cluster_name str
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    container_network DbdcDbCustomClusterContainerNetworkArgs
    Container network. All pods in this cluster are connected to this network.
    cluster_description str
    Cluster description.
    dbdc_db_custom_cluster_id str
    tags Mapping[str, str]
    Cluster tags.
    timeouts DbdcDbCustomClusterTimeoutsArgs
    apiServerNetwork Property Map
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    clusterName String
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    containerNetwork Property Map
    Container network. All pods in this cluster are connected to this network.
    clusterDescription String
    Cluster description.
    dbdcDbCustomClusterId String
    tags Map<String>
    Cluster tags.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbdcDbCustomCluster resource produces the following output properties:

    ClusterLevel string
    Cluster level.
    ClusterNodeNum double
    Number of nodes in the cluster.
    ClusterStatus string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    ClusterVersion string
    Cluster version.
    CreatedTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Region that the cluster belongs to.
    ClusterLevel string
    Cluster level.
    ClusterNodeNum float64
    Number of nodes in the cluster.
    ClusterStatus string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    ClusterVersion string
    Cluster version.
    CreatedTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Region that the cluster belongs to.
    cluster_level string
    Cluster level.
    cluster_node_num number
    Number of nodes in the cluster.
    cluster_status string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    cluster_version string
    Cluster version.
    created_time string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    Region that the cluster belongs to.
    clusterLevel String
    Cluster level.
    clusterNodeNum Double
    Number of nodes in the cluster.
    clusterStatus String
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    clusterVersion String
    Cluster version.
    createdTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    Region that the cluster belongs to.
    clusterLevel string
    Cluster level.
    clusterNodeNum number
    Number of nodes in the cluster.
    clusterStatus string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    clusterVersion string
    Cluster version.
    createdTime string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    Region that the cluster belongs to.
    cluster_level str
    Cluster level.
    cluster_node_num float
    Number of nodes in the cluster.
    cluster_status str
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    cluster_version str
    Cluster version.
    created_time str
    Creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    Region that the cluster belongs to.
    clusterLevel String
    Cluster level.
    clusterNodeNum Number
    Number of nodes in the cluster.
    clusterStatus String
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    clusterVersion String
    Cluster version.
    createdTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    Region that the cluster belongs to.

    Look up Existing DbdcDbCustomCluster Resource

    Get an existing DbdcDbCustomCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DbdcDbCustomClusterState, opts?: CustomResourceOptions): DbdcDbCustomCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_server_network: Optional[DbdcDbCustomClusterApiServerNetworkArgs] = None,
            cluster_description: Optional[str] = None,
            cluster_level: Optional[str] = None,
            cluster_name: Optional[str] = None,
            cluster_node_num: Optional[float] = None,
            cluster_status: Optional[str] = None,
            cluster_version: Optional[str] = None,
            container_network: Optional[DbdcDbCustomClusterContainerNetworkArgs] = None,
            created_time: Optional[str] = None,
            dbdc_db_custom_cluster_id: Optional[str] = None,
            region: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[DbdcDbCustomClusterTimeoutsArgs] = None) -> DbdcDbCustomCluster
    func GetDbdcDbCustomCluster(ctx *Context, name string, id IDInput, state *DbdcDbCustomClusterState, opts ...ResourceOption) (*DbdcDbCustomCluster, error)
    public static DbdcDbCustomCluster Get(string name, Input<string> id, DbdcDbCustomClusterState? state, CustomResourceOptions? opts = null)
    public static DbdcDbCustomCluster get(String name, Output<String> id, DbdcDbCustomClusterState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DbdcDbCustomCluster    get:      id: ${id}
    import {
      to = tencentcloud_dbdcdbcustomcluster.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApiServerNetwork DbdcDbCustomClusterApiServerNetwork
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    ClusterDescription string
    Cluster description.
    ClusterLevel string
    Cluster level.
    ClusterName string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    ClusterNodeNum double
    Number of nodes in the cluster.
    ClusterStatus string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    ClusterVersion string
    Cluster version.
    ContainerNetwork DbdcDbCustomClusterContainerNetwork
    Container network. All pods in this cluster are connected to this network.
    CreatedTime string
    Creation time.
    DbdcDbCustomClusterId string
    Region string
    Region that the cluster belongs to.
    Tags Dictionary<string, string>
    Cluster tags.
    Timeouts DbdcDbCustomClusterTimeouts
    ApiServerNetwork DbdcDbCustomClusterApiServerNetworkArgs
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    ClusterDescription string
    Cluster description.
    ClusterLevel string
    Cluster level.
    ClusterName string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    ClusterNodeNum float64
    Number of nodes in the cluster.
    ClusterStatus string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    ClusterVersion string
    Cluster version.
    ContainerNetwork DbdcDbCustomClusterContainerNetworkArgs
    Container network. All pods in this cluster are connected to this network.
    CreatedTime string
    Creation time.
    DbdcDbCustomClusterId string
    Region string
    Region that the cluster belongs to.
    Tags map[string]string
    Cluster tags.
    Timeouts DbdcDbCustomClusterTimeoutsArgs
    api_server_network object
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    cluster_description string
    Cluster description.
    cluster_level string
    Cluster level.
    cluster_name string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    cluster_node_num number
    Number of nodes in the cluster.
    cluster_status string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    cluster_version string
    Cluster version.
    container_network object
    Container network. All pods in this cluster are connected to this network.
    created_time string
    Creation time.
    dbdc_db_custom_cluster_id string
    region string
    Region that the cluster belongs to.
    tags map(string)
    Cluster tags.
    timeouts object
    apiServerNetwork DbdcDbCustomClusterApiServerNetwork
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    clusterDescription String
    Cluster description.
    clusterLevel String
    Cluster level.
    clusterName String
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    clusterNodeNum Double
    Number of nodes in the cluster.
    clusterStatus String
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    clusterVersion String
    Cluster version.
    containerNetwork DbdcDbCustomClusterContainerNetwork
    Container network. All pods in this cluster are connected to this network.
    createdTime String
    Creation time.
    dbdcDbCustomClusterId String
    region String
    Region that the cluster belongs to.
    tags Map<String,String>
    Cluster tags.
    timeouts DbdcDbCustomClusterTimeouts
    apiServerNetwork DbdcDbCustomClusterApiServerNetwork
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    clusterDescription string
    Cluster description.
    clusterLevel string
    Cluster level.
    clusterName string
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    clusterNodeNum number
    Number of nodes in the cluster.
    clusterStatus string
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    clusterVersion string
    Cluster version.
    containerNetwork DbdcDbCustomClusterContainerNetwork
    Container network. All pods in this cluster are connected to this network.
    createdTime string
    Creation time.
    dbdcDbCustomClusterId string
    region string
    Region that the cluster belongs to.
    tags {[key: string]: string}
    Cluster tags.
    timeouts DbdcDbCustomClusterTimeouts
    api_server_network DbdcDbCustomClusterApiServerNetworkArgs
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    cluster_description str
    Cluster description.
    cluster_level str
    Cluster level.
    cluster_name str
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    cluster_node_num float
    Number of nodes in the cluster.
    cluster_status str
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    cluster_version str
    Cluster version.
    container_network DbdcDbCustomClusterContainerNetworkArgs
    Container network. All pods in this cluster are connected to this network.
    created_time str
    Creation time.
    dbdc_db_custom_cluster_id str
    region str
    Region that the cluster belongs to.
    tags Mapping[str, str]
    Cluster tags.
    timeouts DbdcDbCustomClusterTimeoutsArgs
    apiServerNetwork Property Map
    Network information of the cluster API Server. Must be a network owned by this account, and can be the same as the container network.
    clusterDescription String
    Cluster description.
    clusterLevel String
    Cluster level.
    clusterName String
    Cluster name. Up to 128 characters, only Chinese, English and underscore are allowed.
    clusterNodeNum Number
    Number of nodes in the cluster.
    clusterStatus String
    DB Custom cluster status. Valid values: Creating, Running, Destroying.
    clusterVersion String
    Cluster version.
    containerNetwork Property Map
    Container network. All pods in this cluster are connected to this network.
    createdTime String
    Creation time.
    dbdcDbCustomClusterId String
    region String
    Region that the cluster belongs to.
    tags Map<String>
    Cluster tags.
    timeouts Property Map

    Supporting Types

    DbdcDbCustomClusterApiServerNetwork, DbdcDbCustomClusterApiServerNetworkArgs

    SubnetId string
    Subnet ID of the API Server network.
    VpcId string
    VPC ID of the API Server network.
    SubnetId string
    Subnet ID of the API Server network.
    VpcId string
    VPC ID of the API Server network.
    subnet_id string
    Subnet ID of the API Server network.
    vpc_id string
    VPC ID of the API Server network.
    subnetId String
    Subnet ID of the API Server network.
    vpcId String
    VPC ID of the API Server network.
    subnetId string
    Subnet ID of the API Server network.
    vpcId string
    VPC ID of the API Server network.
    subnet_id str
    Subnet ID of the API Server network.
    vpc_id str
    VPC ID of the API Server network.
    subnetId String
    Subnet ID of the API Server network.
    vpcId String
    VPC ID of the API Server network.

    DbdcDbCustomClusterContainerNetwork, DbdcDbCustomClusterContainerNetworkArgs

    SubnetIds List<string>
    Subnet ID list of the container network.
    VpcId string
    VPC ID of the container network.
    SubnetIds []string
    Subnet ID list of the container network.
    VpcId string
    VPC ID of the container network.
    subnet_ids list(string)
    Subnet ID list of the container network.
    vpc_id string
    VPC ID of the container network.
    subnetIds List<String>
    Subnet ID list of the container network.
    vpcId String
    VPC ID of the container network.
    subnetIds string[]
    Subnet ID list of the container network.
    vpcId string
    VPC ID of the container network.
    subnet_ids Sequence[str]
    Subnet ID list of the container network.
    vpc_id str
    VPC ID of the container network.
    subnetIds List<String>
    Subnet ID list of the container network.
    vpcId String
    VPC ID of the container network.

    DbdcDbCustomClusterTimeouts, DbdcDbCustomClusterTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create string
    delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.7
    published on Tuesday, Jun 30, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial