1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. clickhouseenterprisedbcluster
  6. ClickHouseEnterpriseDbCluster
Viewing docs for Alibaba Cloud v3.103.0
published on Friday, May 22, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.103.0
published on Friday, May 22, 2026 by Pulumi

    Provides a Click House Enterprise Db Cluster resource.

    Enterprise Edition Cluster Resources.

    For information about Click House Enterprise Db Cluster and how to use it, see What is Enterprise Db Cluster.

    NOTE: Available since v1.247.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const vswIpRangeI = config.get("vswIpRangeI") || "172.16.1.0/24";
    const regionId = config.get("regionId") || "cn-beijing";
    const vpcIpRange = config.get("vpcIpRange") || "172.16.0.0/12";
    const vswIpRangeK = config.get("vswIpRangeK") || "172.16.3.0/24";
    const vswIpRangeL = config.get("vswIpRangeL") || "172.16.2.0/24";
    const zoneIdI = config.get("zoneIdI") || "cn-beijing-i";
    const zoneIdL = config.get("zoneIdL") || "cn-beijing-l";
    const zoneIdK = config.get("zoneIdK") || "cn-beijing-k";
    const defaultktKLuM = new alicloud.vpc.Network("defaultktKLuM", {cidrBlock: vpcIpRange});
    const defaultTQWN3k = new alicloud.vpc.Switch("defaultTQWN3k", {
        vpcId: defaultktKLuM.id,
        zoneId: zoneIdI,
        cidrBlock: vswIpRangeI,
    });
    const defaultylyLu8 = new alicloud.vpc.Switch("defaultylyLu8", {
        vpcId: defaultktKLuM.id,
        zoneId: zoneIdL,
        cidrBlock: vswIpRangeL,
    });
    const defaultRNbPh8 = new alicloud.vpc.Switch("defaultRNbPh8", {
        vpcId: defaultktKLuM.id,
        zoneId: zoneIdK,
        cidrBlock: vswIpRangeK,
    });
    const _default = new alicloud.clickhouseenterprisedbcluster.ClickHouseEnterpriseDbCluster("default", {
        zoneId: zoneIdI,
        vpcId: defaultktKLuM.id,
        scaleMin: "8",
        scaleMax: "16",
        vswitchId: defaultTQWN3k.id,
        multiZones: [
            {
                vswitchIds: [defaultTQWN3k.id],
                zoneId: zoneIdI,
            },
            {
                vswitchIds: [defaultylyLu8.id],
                zoneId: zoneIdL,
            },
            {
                vswitchIds: [defaultRNbPh8.id],
                zoneId: zoneIdK,
            },
        ],
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    vsw_ip_range_i = config.get("vswIpRangeI")
    if vsw_ip_range_i is None:
        vsw_ip_range_i = "172.16.1.0/24"
    region_id = config.get("regionId")
    if region_id is None:
        region_id = "cn-beijing"
    vpc_ip_range = config.get("vpcIpRange")
    if vpc_ip_range is None:
        vpc_ip_range = "172.16.0.0/12"
    vsw_ip_range_k = config.get("vswIpRangeK")
    if vsw_ip_range_k is None:
        vsw_ip_range_k = "172.16.3.0/24"
    vsw_ip_range_l = config.get("vswIpRangeL")
    if vsw_ip_range_l is None:
        vsw_ip_range_l = "172.16.2.0/24"
    zone_id_i = config.get("zoneIdI")
    if zone_id_i is None:
        zone_id_i = "cn-beijing-i"
    zone_id_l = config.get("zoneIdL")
    if zone_id_l is None:
        zone_id_l = "cn-beijing-l"
    zone_id_k = config.get("zoneIdK")
    if zone_id_k is None:
        zone_id_k = "cn-beijing-k"
    defaultkt_k_lu_m = alicloud.vpc.Network("defaultktKLuM", cidr_block=vpc_ip_range)
    default_tqwn3k = alicloud.vpc.Switch("defaultTQWN3k",
        vpc_id=defaultkt_k_lu_m.id,
        zone_id=zone_id_i,
        cidr_block=vsw_ip_range_i)
    defaultyly_lu8 = alicloud.vpc.Switch("defaultylyLu8",
        vpc_id=defaultkt_k_lu_m.id,
        zone_id=zone_id_l,
        cidr_block=vsw_ip_range_l)
    default_r_nb_ph8 = alicloud.vpc.Switch("defaultRNbPh8",
        vpc_id=defaultkt_k_lu_m.id,
        zone_id=zone_id_k,
        cidr_block=vsw_ip_range_k)
    default = alicloud.clickhouseenterprisedbcluster.ClickHouseEnterpriseDbCluster("default",
        zone_id=zone_id_i,
        vpc_id=defaultkt_k_lu_m.id,
        scale_min="8",
        scale_max="16",
        vswitch_id=default_tqwn3k.id,
        multi_zones=[
            {
                "vswitch_ids": [default_tqwn3k.id],
                "zone_id": zone_id_i,
            },
            {
                "vswitch_ids": [defaultyly_lu8.id],
                "zone_id": zone_id_l,
            },
            {
                "vswitch_ids": [default_r_nb_ph8.id],
                "zone_id": zone_id_k,
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/clickhouseenterprisedbcluster"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		vswIpRangeI := "172.16.1.0/24"
    		if param := cfg.Get("vswIpRangeI"); param != "" {
    			vswIpRangeI = param
    		}
    		regionId := "cn-beijing"
    		if param := cfg.Get("regionId"); param != "" {
    			regionId = param
    		}
    		vpcIpRange := "172.16.0.0/12"
    		if param := cfg.Get("vpcIpRange"); param != "" {
    			vpcIpRange = param
    		}
    		vswIpRangeK := "172.16.3.0/24"
    		if param := cfg.Get("vswIpRangeK"); param != "" {
    			vswIpRangeK = param
    		}
    		vswIpRangeL := "172.16.2.0/24"
    		if param := cfg.Get("vswIpRangeL"); param != "" {
    			vswIpRangeL = param
    		}
    		zoneIdI := "cn-beijing-i"
    		if param := cfg.Get("zoneIdI"); param != "" {
    			zoneIdI = param
    		}
    		zoneIdL := "cn-beijing-l"
    		if param := cfg.Get("zoneIdL"); param != "" {
    			zoneIdL = param
    		}
    		zoneIdK := "cn-beijing-k"
    		if param := cfg.Get("zoneIdK"); param != "" {
    			zoneIdK = param
    		}
    		defaultktKLuM, err := vpc.NewNetwork(ctx, "defaultktKLuM", &vpc.NetworkArgs{
    			CidrBlock: pulumi.String(pulumi.String(vpcIpRange)),
    		})
    		if err != nil {
    			return err
    		}
    		defaultTQWN3k, err := vpc.NewSwitch(ctx, "defaultTQWN3k", &vpc.SwitchArgs{
    			VpcId:     defaultktKLuM.ID(),
    			ZoneId:    pulumi.String(pulumi.String(zoneIdI)),
    			CidrBlock: pulumi.String(pulumi.String(vswIpRangeI)),
    		})
    		if err != nil {
    			return err
    		}
    		defaultylyLu8, err := vpc.NewSwitch(ctx, "defaultylyLu8", &vpc.SwitchArgs{
    			VpcId:     defaultktKLuM.ID(),
    			ZoneId:    pulumi.String(pulumi.String(zoneIdL)),
    			CidrBlock: pulumi.String(pulumi.String(vswIpRangeL)),
    		})
    		if err != nil {
    			return err
    		}
    		defaultRNbPh8, err := vpc.NewSwitch(ctx, "defaultRNbPh8", &vpc.SwitchArgs{
    			VpcId:     defaultktKLuM.ID(),
    			ZoneId:    pulumi.String(pulumi.String(zoneIdK)),
    			CidrBlock: pulumi.String(pulumi.String(vswIpRangeK)),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = clickhouseenterprisedbcluster.NewClickHouseEnterpriseDbCluster(ctx, "default", &clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterArgs{
    			ZoneId:    pulumi.String(pulumi.String(zoneIdI)),
    			VpcId:     defaultktKLuM.ID(),
    			ScaleMin:  pulumi.String("8"),
    			ScaleMax:  pulumi.String("16"),
    			VswitchId: defaultTQWN3k.ID(),
    			MultiZones: clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterMultiZoneArray{
    				&clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterMultiZoneArgs{
    					VswitchIds: pulumi.StringArray{
    						defaultTQWN3k.ID(),
    					},
    					ZoneId: pulumi.String(pulumi.String(zoneIdI)),
    				},
    				&clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterMultiZoneArgs{
    					VswitchIds: pulumi.StringArray{
    						defaultylyLu8.ID(),
    					},
    					ZoneId: pulumi.String(pulumi.String(zoneIdL)),
    				},
    				&clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterMultiZoneArgs{
    					VswitchIds: pulumi.StringArray{
    						defaultRNbPh8.ID(),
    					},
    					ZoneId: pulumi.String(pulumi.String(zoneIdK)),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var vswIpRangeI = config.Get("vswIpRangeI") ?? "172.16.1.0/24";
        var regionId = config.Get("regionId") ?? "cn-beijing";
        var vpcIpRange = config.Get("vpcIpRange") ?? "172.16.0.0/12";
        var vswIpRangeK = config.Get("vswIpRangeK") ?? "172.16.3.0/24";
        var vswIpRangeL = config.Get("vswIpRangeL") ?? "172.16.2.0/24";
        var zoneIdI = config.Get("zoneIdI") ?? "cn-beijing-i";
        var zoneIdL = config.Get("zoneIdL") ?? "cn-beijing-l";
        var zoneIdK = config.Get("zoneIdK") ?? "cn-beijing-k";
        var defaultktKLuM = new AliCloud.Vpc.Network("defaultktKLuM", new()
        {
            CidrBlock = vpcIpRange,
        });
    
        var defaultTQWN3k = new AliCloud.Vpc.Switch("defaultTQWN3k", new()
        {
            VpcId = defaultktKLuM.Id,
            ZoneId = zoneIdI,
            CidrBlock = vswIpRangeI,
        });
    
        var defaultylyLu8 = new AliCloud.Vpc.Switch("defaultylyLu8", new()
        {
            VpcId = defaultktKLuM.Id,
            ZoneId = zoneIdL,
            CidrBlock = vswIpRangeL,
        });
    
        var defaultRNbPh8 = new AliCloud.Vpc.Switch("defaultRNbPh8", new()
        {
            VpcId = defaultktKLuM.Id,
            ZoneId = zoneIdK,
            CidrBlock = vswIpRangeK,
        });
    
        var @default = new AliCloud.ClickHouseEnterpriseDbCluster.ClickHouseEnterpriseDbCluster("default", new()
        {
            ZoneId = zoneIdI,
            VpcId = defaultktKLuM.Id,
            ScaleMin = "8",
            ScaleMax = "16",
            VswitchId = defaultTQWN3k.Id,
            MultiZones = new[]
            {
                new AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterMultiZoneArgs
                {
                    VswitchIds = new[]
                    {
                        defaultTQWN3k.Id,
                    },
                    ZoneId = zoneIdI,
                },
                new AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterMultiZoneArgs
                {
                    VswitchIds = new[]
                    {
                        defaultylyLu8.Id,
                    },
                    ZoneId = zoneIdL,
                },
                new AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterMultiZoneArgs
                {
                    VswitchIds = new[]
                    {
                        defaultRNbPh8.Id,
                    },
                    ZoneId = zoneIdK,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.clickhouseenterprisedbcluster.ClickHouseEnterpriseDbCluster;
    import com.pulumi.alicloud.clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterArgs;
    import com.pulumi.alicloud.clickhouseenterprisedbcluster.inputs.ClickHouseEnterpriseDbClusterMultiZoneArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            final var vswIpRangeI = config.get("vswIpRangeI").orElse("172.16.1.0/24");
            final var regionId = config.get("regionId").orElse("cn-beijing");
            final var vpcIpRange = config.get("vpcIpRange").orElse("172.16.0.0/12");
            final var vswIpRangeK = config.get("vswIpRangeK").orElse("172.16.3.0/24");
            final var vswIpRangeL = config.get("vswIpRangeL").orElse("172.16.2.0/24");
            final var zoneIdI = config.get("zoneIdI").orElse("cn-beijing-i");
            final var zoneIdL = config.get("zoneIdL").orElse("cn-beijing-l");
            final var zoneIdK = config.get("zoneIdK").orElse("cn-beijing-k");
            var defaultktKLuM = new Network("defaultktKLuM", NetworkArgs.builder()
                .cidrBlock(vpcIpRange)
                .build());
    
            var defaultTQWN3k = new Switch("defaultTQWN3k", SwitchArgs.builder()
                .vpcId(defaultktKLuM.id())
                .zoneId(zoneIdI)
                .cidrBlock(vswIpRangeI)
                .build());
    
            var defaultylyLu8 = new Switch("defaultylyLu8", SwitchArgs.builder()
                .vpcId(defaultktKLuM.id())
                .zoneId(zoneIdL)
                .cidrBlock(vswIpRangeL)
                .build());
    
            var defaultRNbPh8 = new Switch("defaultRNbPh8", SwitchArgs.builder()
                .vpcId(defaultktKLuM.id())
                .zoneId(zoneIdK)
                .cidrBlock(vswIpRangeK)
                .build());
    
            var default_ = new ClickHouseEnterpriseDbCluster("default", ClickHouseEnterpriseDbClusterArgs.builder()
                .zoneId(zoneIdI)
                .vpcId(defaultktKLuM.id())
                .scaleMin("8")
                .scaleMax("16")
                .vswitchId(defaultTQWN3k.id())
                .multiZones(            
                    ClickHouseEnterpriseDbClusterMultiZoneArgs.builder()
                        .vswitchIds(defaultTQWN3k.id())
                        .zoneId(zoneIdI)
                        .build(),
                    ClickHouseEnterpriseDbClusterMultiZoneArgs.builder()
                        .vswitchIds(defaultylyLu8.id())
                        .zoneId(zoneIdL)
                        .build(),
                    ClickHouseEnterpriseDbClusterMultiZoneArgs.builder()
                        .vswitchIds(defaultRNbPh8.id())
                        .zoneId(zoneIdK)
                        .build())
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
      vswIpRangeI:
        type: string
        default: 172.16.1.0/24
      regionId:
        type: string
        default: cn-beijing
      vpcIpRange:
        type: string
        default: 172.16.0.0/12
      vswIpRangeK:
        type: string
        default: 172.16.3.0/24
      vswIpRangeL:
        type: string
        default: 172.16.2.0/24
      zoneIdI:
        type: string
        default: cn-beijing-i
      zoneIdL:
        type: string
        default: cn-beijing-l
      zoneIdK:
        type: string
        default: cn-beijing-k
    resources:
      defaultktKLuM:
        type: alicloud:vpc:Network
        properties:
          cidrBlock: ${vpcIpRange}
      defaultTQWN3k:
        type: alicloud:vpc:Switch
        properties:
          vpcId: ${defaultktKLuM.id}
          zoneId: ${zoneIdI}
          cidrBlock: ${vswIpRangeI}
      defaultylyLu8:
        type: alicloud:vpc:Switch
        properties:
          vpcId: ${defaultktKLuM.id}
          zoneId: ${zoneIdL}
          cidrBlock: ${vswIpRangeL}
      defaultRNbPh8:
        type: alicloud:vpc:Switch
        properties:
          vpcId: ${defaultktKLuM.id}
          zoneId: ${zoneIdK}
          cidrBlock: ${vswIpRangeK}
      default:
        type: alicloud:clickhouseenterprisedbcluster:ClickHouseEnterpriseDbCluster
        properties:
          zoneId: ${zoneIdI}
          vpcId: ${defaultktKLuM.id}
          scaleMin: '8'
          scaleMax: '16'
          vswitchId: ${defaultTQWN3k.id}
          multiZones:
            - vswitchIds:
                - ${defaultTQWN3k.id}
              zoneId: ${zoneIdI}
            - vswitchIds:
                - ${defaultylyLu8.id}
              zoneId: ${zoneIdL}
            - vswitchIds:
                - ${defaultRNbPh8.id}
              zoneId: ${zoneIdK}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    resource "alicloud_vpc_network" "defaultktKLuM" {
      cidr_block = var.vpcIpRange
    }
    resource "alicloud_vpc_switch" "defaultTQWN3k" {
      vpc_id     = alicloud_vpc_network.defaultktKLuM.id
      zone_id    = var.zoneIdI
      cidr_block = var.vswIpRangeI
    }
    resource "alicloud_vpc_switch" "defaultylyLu8" {
      vpc_id     = alicloud_vpc_network.defaultktKLuM.id
      zone_id    = var.zoneIdL
      cidr_block = var.vswIpRangeL
    }
    resource "alicloud_vpc_switch" "defaultRNbPh8" {
      vpc_id     = alicloud_vpc_network.defaultktKLuM.id
      zone_id    = var.zoneIdK
      cidr_block = var.vswIpRangeK
    }
    resource "alicloud_clickhouseenterprisedbcluster_clickhouseenterprisedbcluster" "default" {
      zone_id    = var.zoneIdI
      vpc_id     = alicloud_vpc_network.defaultktKLuM.id
      scale_min  = "8"
      scale_max  = "16"
      vswitch_id = alicloud_vpc_switch.defaultTQWN3k.id
      multi_zones {
        vswitch_ids = [alicloud_vpc_switch.defaultTQWN3k.id]
        zone_id     = var.zoneIdI
      }
      multi_zones {
        vswitch_ids = [alicloud_vpc_switch.defaultylyLu8.id]
        zone_id     = var.zoneIdL
      }
      multi_zones {
        vswitch_ids = [alicloud_vpc_switch.defaultRNbPh8.id]
        zone_id     = var.zoneIdK
      }
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    variable "vswIpRangeI" {
      type    = string
      default = "172.16.1.0/24"
    }
    variable "regionId" {
      type    = string
      default = "cn-beijing"
    }
    variable "vpcIpRange" {
      type    = string
      default = "172.16.0.0/12"
    }
    variable "vswIpRangeK" {
      type    = string
      default = "172.16.3.0/24"
    }
    variable "vswIpRangeL" {
      type    = string
      default = "172.16.2.0/24"
    }
    variable "zoneIdI" {
      type    = string
      default = "cn-beijing-i"
    }
    variable "zoneIdL" {
      type    = string
      default = "cn-beijing-l"
    }
    variable "zoneIdK" {
      type    = string
      default = "cn-beijing-k"
    }
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create ClickHouseEnterpriseDbCluster Resource

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

    Constructor syntax

    new ClickHouseEnterpriseDbCluster(name: string, args?: ClickHouseEnterpriseDbClusterArgs, opts?: CustomResourceOptions);
    @overload
    def ClickHouseEnterpriseDbCluster(resource_name: str,
                                      args: Optional[ClickHouseEnterpriseDbClusterArgs] = None,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClickHouseEnterpriseDbCluster(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      description: Optional[str] = None,
                                      multi_zones: Optional[Sequence[ClickHouseEnterpriseDbClusterMultiZoneArgs]] = None,
                                      node_count: Optional[int] = None,
                                      node_scale_max: Optional[int] = None,
                                      node_scale_min: Optional[int] = None,
                                      resource_group_id: Optional[str] = None,
                                      scale_max: Optional[str] = None,
                                      scale_min: Optional[str] = None,
                                      tags: Optional[Mapping[str, str]] = None,
                                      vpc_id: Optional[str] = None,
                                      vswitch_id: Optional[str] = None,
                                      zone_id: Optional[str] = None)
    func NewClickHouseEnterpriseDbCluster(ctx *Context, name string, args *ClickHouseEnterpriseDbClusterArgs, opts ...ResourceOption) (*ClickHouseEnterpriseDbCluster, error)
    public ClickHouseEnterpriseDbCluster(string name, ClickHouseEnterpriseDbClusterArgs? args = null, CustomResourceOptions? opts = null)
    public ClickHouseEnterpriseDbCluster(String name, ClickHouseEnterpriseDbClusterArgs args)
    public ClickHouseEnterpriseDbCluster(String name, ClickHouseEnterpriseDbClusterArgs args, CustomResourceOptions options)
    
    type: alicloud:clickhouseenterprisedbcluster:ClickHouseEnterpriseDbCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "alicloud_clickhouseenterprisedbcluster_clickhouseenterprisedbcluster" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ClickHouseEnterpriseDbClusterArgs
    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 ClickHouseEnterpriseDbClusterArgs
    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 ClickHouseEnterpriseDbClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClickHouseEnterpriseDbClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClickHouseEnterpriseDbClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var clickHouseEnterpriseDbClusterResource = new AliCloud.ClickHouseEnterpriseDbCluster.ClickHouseEnterpriseDbCluster("clickHouseEnterpriseDbClusterResource", new()
    {
        Description = "string",
        MultiZones = new[]
        {
            new AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterMultiZoneArgs
            {
                VswitchIds = new[]
                {
                    "string",
                },
                ZoneId = "string",
            },
        },
        NodeCount = 0,
        NodeScaleMax = 0,
        NodeScaleMin = 0,
        ResourceGroupId = "string",
        ScaleMax = "string",
        ScaleMin = "string",
        Tags = 
        {
            { "string", "string" },
        },
        VpcId = "string",
        VswitchId = "string",
        ZoneId = "string",
    });
    
    example, err := clickhouseenterprisedbcluster.NewClickHouseEnterpriseDbCluster(ctx, "clickHouseEnterpriseDbClusterResource", &clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterArgs{
    	Description: pulumi.String("string"),
    	MultiZones: clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterMultiZoneArray{
    		&clickhouseenterprisedbcluster.ClickHouseEnterpriseDbClusterMultiZoneArgs{
    			VswitchIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ZoneId: pulumi.String("string"),
    		},
    	},
    	NodeCount:       pulumi.Int(0),
    	NodeScaleMax:    pulumi.Int(0),
    	NodeScaleMin:    pulumi.Int(0),
    	ResourceGroupId: pulumi.String("string"),
    	ScaleMax:        pulumi.String("string"),
    	ScaleMin:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VpcId:     pulumi.String("string"),
    	VswitchId: pulumi.String("string"),
    	ZoneId:    pulumi.String("string"),
    })
    
    resource "alicloud_clickhouseenterprisedbcluster_clickhouseenterprisedbcluster" "clickHouseEnterpriseDbClusterResource" {
      description = "string"
      multi_zones {
        vswitch_ids = ["string"]
        zone_id     = "string"
      }
      node_count        = 0
      node_scale_max    = 0
      node_scale_min    = 0
      resource_group_id = "string"
      scale_max         = "string"
      scale_min         = "string"
      tags = {
        "string" = "string"
      }
      vpc_id     = "string"
      vswitch_id = "string"
      zone_id    = "string"
    }
    
    var clickHouseEnterpriseDbClusterResource = new ClickHouseEnterpriseDbCluster("clickHouseEnterpriseDbClusterResource", ClickHouseEnterpriseDbClusterArgs.builder()
        .description("string")
        .multiZones(ClickHouseEnterpriseDbClusterMultiZoneArgs.builder()
            .vswitchIds("string")
            .zoneId("string")
            .build())
        .nodeCount(0)
        .nodeScaleMax(0)
        .nodeScaleMin(0)
        .resourceGroupId("string")
        .scaleMax("string")
        .scaleMin("string")
        .tags(Map.of("string", "string"))
        .vpcId("string")
        .vswitchId("string")
        .zoneId("string")
        .build());
    
    click_house_enterprise_db_cluster_resource = alicloud.clickhouseenterprisedbcluster.ClickHouseEnterpriseDbCluster("clickHouseEnterpriseDbClusterResource",
        description="string",
        multi_zones=[{
            "vswitch_ids": ["string"],
            "zone_id": "string",
        }],
        node_count=0,
        node_scale_max=0,
        node_scale_min=0,
        resource_group_id="string",
        scale_max="string",
        scale_min="string",
        tags={
            "string": "string",
        },
        vpc_id="string",
        vswitch_id="string",
        zone_id="string")
    
    const clickHouseEnterpriseDbClusterResource = new alicloud.clickhouseenterprisedbcluster.ClickHouseEnterpriseDbCluster("clickHouseEnterpriseDbClusterResource", {
        description: "string",
        multiZones: [{
            vswitchIds: ["string"],
            zoneId: "string",
        }],
        nodeCount: 0,
        nodeScaleMax: 0,
        nodeScaleMin: 0,
        resourceGroupId: "string",
        scaleMax: "string",
        scaleMin: "string",
        tags: {
            string: "string",
        },
        vpcId: "string",
        vswitchId: "string",
        zoneId: "string",
    });
    
    type: alicloud:clickhouseenterprisedbcluster:ClickHouseEnterpriseDbCluster
    properties:
        description: string
        multiZones:
            - vswitchIds:
                - string
              zoneId: string
        nodeCount: 0
        nodeScaleMax: 0
        nodeScaleMin: 0
        resourceGroupId: string
        scaleMax: string
        scaleMin: string
        tags:
            string: string
        vpcId: string
        vswitchId: string
        zoneId: string
    

    ClickHouseEnterpriseDbCluster 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 ClickHouseEnterpriseDbCluster resource accepts the following input properties:

    Description string
    Cluster description.
    MultiZones List<Pulumi.AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterMultiZone>
    The multi-zone configuration. See multiZones below.
    NodeCount int
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    NodeScaleMax int
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    NodeScaleMin int
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    ResourceGroupId string
    Resource group ID of the cluster.
    ScaleMax string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    ScaleMin string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    Tags Dictionary<string, string>
    Tag information.
    VpcId string
    The VPC ID.
    VswitchId string
    vSwitch ID.
    ZoneId string
    The zone ID.
    Description string
    Cluster description.
    MultiZones []ClickHouseEnterpriseDbClusterMultiZoneArgs
    The multi-zone configuration. See multiZones below.
    NodeCount int
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    NodeScaleMax int
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    NodeScaleMin int
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    ResourceGroupId string
    Resource group ID of the cluster.
    ScaleMax string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    ScaleMin string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    Tags map[string]string
    Tag information.
    VpcId string
    The VPC ID.
    VswitchId string
    vSwitch ID.
    ZoneId string
    The zone ID.
    description string
    Cluster description.
    multi_zones list(object)
    The multi-zone configuration. See multiZones below.
    node_count number
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    node_scale_max number
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    node_scale_min number
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    resource_group_id string
    Resource group ID of the cluster.
    scale_max string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scale_min string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    tags map(string)
    Tag information.
    vpc_id string
    The VPC ID.
    vswitch_id string
    vSwitch ID.
    zone_id string
    The zone ID.
    description String
    Cluster description.
    multiZones List<ClickHouseEnterpriseDbClusterMultiZone>
    The multi-zone configuration. See multiZones below.
    nodeCount Integer
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    nodeScaleMax Integer
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    nodeScaleMin Integer
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    resourceGroupId String
    Resource group ID of the cluster.
    scaleMax String
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scaleMin String
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    tags Map<String,String>
    Tag information.
    vpcId String
    The VPC ID.
    vswitchId String
    vSwitch ID.
    zoneId String
    The zone ID.
    description string
    Cluster description.
    multiZones ClickHouseEnterpriseDbClusterMultiZone[]
    The multi-zone configuration. See multiZones below.
    nodeCount number
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    nodeScaleMax number
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    nodeScaleMin number
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    resourceGroupId string
    Resource group ID of the cluster.
    scaleMax string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scaleMin string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    tags {[key: string]: string}
    Tag information.
    vpcId string
    The VPC ID.
    vswitchId string
    vSwitch ID.
    zoneId string
    The zone ID.
    description str
    Cluster description.
    multi_zones Sequence[ClickHouseEnterpriseDbClusterMultiZoneArgs]
    The multi-zone configuration. See multiZones below.
    node_count int
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    node_scale_max int
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    node_scale_min int
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    resource_group_id str
    Resource group ID of the cluster.
    scale_max str
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scale_min str
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    tags Mapping[str, str]
    Tag information.
    vpc_id str
    The VPC ID.
    vswitch_id str
    vSwitch ID.
    zone_id str
    The zone ID.
    description String
    Cluster description.
    multiZones List<Property Map>
    The multi-zone configuration. See multiZones below.
    nodeCount Number
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    nodeScaleMax Number
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    nodeScaleMin Number
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    resourceGroupId String
    Resource group ID of the cluster.
    scaleMax String
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scaleMin String
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    tags Map<String>
    Tag information.
    vpcId String
    The VPC ID.
    vswitchId String
    vSwitch ID.
    zoneId String
    The zone ID.

    Outputs

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

    Category string
    Instance type.
    ChargeType string
    The billing method.
    ComputingGroupIds List<string>
    List of computing group IDs.
    CreateTime string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    Endpoints List<Pulumi.AliCloud.clickHouseEnterpriseDbCluster.Outputs.ClickHouseEnterpriseDbClusterEndpoint>
    List of endpoint details.
    EngineMinorVersion string
    The minor version number of the cluster engine.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceNetworkType string
    Network type of the instance.
    RegionId string
    The region ID.
    Status string
    The instance status.
    StorageQuota string
    Pre-purchased storage capacity (GB).
    StorageSize int
    The storage capacity.
    StorageType string
    The storage type.
    Category string
    Instance type.
    ChargeType string
    The billing method.
    ComputingGroupIds []string
    List of computing group IDs.
    CreateTime string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    Endpoints []ClickHouseEnterpriseDbClusterEndpoint
    List of endpoint details.
    EngineMinorVersion string
    The minor version number of the cluster engine.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceNetworkType string
    Network type of the instance.
    RegionId string
    The region ID.
    Status string
    The instance status.
    StorageQuota string
    Pre-purchased storage capacity (GB).
    StorageSize int
    The storage capacity.
    StorageType string
    The storage type.
    category string
    Instance type.
    charge_type string
    The billing method.
    computing_group_ids list(string)
    List of computing group IDs.
    create_time string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    endpoints list(object)
    List of endpoint details.
    engine_minor_version string
    The minor version number of the cluster engine.
    id string
    The provider-assigned unique ID for this managed resource.
    instance_network_type string
    Network type of the instance.
    region_id string
    The region ID.
    status string
    The instance status.
    storage_quota string
    Pre-purchased storage capacity (GB).
    storage_size number
    The storage capacity.
    storage_type string
    The storage type.
    category String
    Instance type.
    chargeType String
    The billing method.
    computingGroupIds List<String>
    List of computing group IDs.
    createTime String
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    endpoints List<ClickHouseEnterpriseDbClusterEndpoint>
    List of endpoint details.
    engineMinorVersion String
    The minor version number of the cluster engine.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceNetworkType String
    Network type of the instance.
    regionId String
    The region ID.
    status String
    The instance status.
    storageQuota String
    Pre-purchased storage capacity (GB).
    storageSize Integer
    The storage capacity.
    storageType String
    The storage type.
    category string
    Instance type.
    chargeType string
    The billing method.
    computingGroupIds string[]
    List of computing group IDs.
    createTime string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    endpoints ClickHouseEnterpriseDbClusterEndpoint[]
    List of endpoint details.
    engineMinorVersion string
    The minor version number of the cluster engine.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceNetworkType string
    Network type of the instance.
    regionId string
    The region ID.
    status string
    The instance status.
    storageQuota string
    Pre-purchased storage capacity (GB).
    storageSize number
    The storage capacity.
    storageType string
    The storage type.
    category str
    Instance type.
    charge_type str
    The billing method.
    computing_group_ids Sequence[str]
    List of computing group IDs.
    create_time str
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    endpoints Sequence[ClickHouseEnterpriseDbClusterEndpoint]
    List of endpoint details.
    engine_minor_version str
    The minor version number of the cluster engine.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_network_type str
    Network type of the instance.
    region_id str
    The region ID.
    status str
    The instance status.
    storage_quota str
    Pre-purchased storage capacity (GB).
    storage_size int
    The storage capacity.
    storage_type str
    The storage type.
    category String
    Instance type.
    chargeType String
    The billing method.
    computingGroupIds List<String>
    List of computing group IDs.
    createTime String
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    endpoints List<Property Map>
    List of endpoint details.
    engineMinorVersion String
    The minor version number of the cluster engine.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceNetworkType String
    Network type of the instance.
    regionId String
    The region ID.
    status String
    The instance status.
    storageQuota String
    Pre-purchased storage capacity (GB).
    storageSize Number
    The storage capacity.
    storageType String
    The storage type.

    Look up Existing ClickHouseEnterpriseDbCluster Resource

    Get an existing ClickHouseEnterpriseDbCluster 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?: ClickHouseEnterpriseDbClusterState, opts?: CustomResourceOptions): ClickHouseEnterpriseDbCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            category: Optional[str] = None,
            charge_type: Optional[str] = None,
            computing_group_ids: Optional[Sequence[str]] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            endpoints: Optional[Sequence[ClickHouseEnterpriseDbClusterEndpointArgs]] = None,
            engine_minor_version: Optional[str] = None,
            instance_network_type: Optional[str] = None,
            multi_zones: Optional[Sequence[ClickHouseEnterpriseDbClusterMultiZoneArgs]] = None,
            node_count: Optional[int] = None,
            node_scale_max: Optional[int] = None,
            node_scale_min: Optional[int] = None,
            region_id: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            scale_max: Optional[str] = None,
            scale_min: Optional[str] = None,
            status: Optional[str] = None,
            storage_quota: Optional[str] = None,
            storage_size: Optional[int] = None,
            storage_type: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vpc_id: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> ClickHouseEnterpriseDbCluster
    func GetClickHouseEnterpriseDbCluster(ctx *Context, name string, id IDInput, state *ClickHouseEnterpriseDbClusterState, opts ...ResourceOption) (*ClickHouseEnterpriseDbCluster, error)
    public static ClickHouseEnterpriseDbCluster Get(string name, Input<string> id, ClickHouseEnterpriseDbClusterState? state, CustomResourceOptions? opts = null)
    public static ClickHouseEnterpriseDbCluster get(String name, Output<String> id, ClickHouseEnterpriseDbClusterState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:clickhouseenterprisedbcluster:ClickHouseEnterpriseDbCluster    get:      id: ${id}
    import {
      to = alicloud_clickhouseenterprisedbcluster_clickhouseenterprisedbcluster.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:
    Category string
    Instance type.
    ChargeType string
    The billing method.
    ComputingGroupIds List<string>
    List of computing group IDs.
    CreateTime string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    Description string
    Cluster description.
    Endpoints List<Pulumi.AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterEndpoint>
    List of endpoint details.
    EngineMinorVersion string
    The minor version number of the cluster engine.
    InstanceNetworkType string
    Network type of the instance.
    MultiZones List<Pulumi.AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterMultiZone>
    The multi-zone configuration. See multiZones below.
    NodeCount int
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    NodeScaleMax int
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    NodeScaleMin int
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    RegionId string
    The region ID.
    ResourceGroupId string
    Resource group ID of the cluster.
    ScaleMax string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    ScaleMin string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    Status string
    The instance status.
    StorageQuota string
    Pre-purchased storage capacity (GB).
    StorageSize int
    The storage capacity.
    StorageType string
    The storage type.
    Tags Dictionary<string, string>
    Tag information.
    VpcId string
    The VPC ID.
    VswitchId string
    vSwitch ID.
    ZoneId string
    The zone ID.
    Category string
    Instance type.
    ChargeType string
    The billing method.
    ComputingGroupIds []string
    List of computing group IDs.
    CreateTime string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    Description string
    Cluster description.
    Endpoints []ClickHouseEnterpriseDbClusterEndpointArgs
    List of endpoint details.
    EngineMinorVersion string
    The minor version number of the cluster engine.
    InstanceNetworkType string
    Network type of the instance.
    MultiZones []ClickHouseEnterpriseDbClusterMultiZoneArgs
    The multi-zone configuration. See multiZones below.
    NodeCount int
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    NodeScaleMax int
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    NodeScaleMin int
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    RegionId string
    The region ID.
    ResourceGroupId string
    Resource group ID of the cluster.
    ScaleMax string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    ScaleMin string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    Status string
    The instance status.
    StorageQuota string
    Pre-purchased storage capacity (GB).
    StorageSize int
    The storage capacity.
    StorageType string
    The storage type.
    Tags map[string]string
    Tag information.
    VpcId string
    The VPC ID.
    VswitchId string
    vSwitch ID.
    ZoneId string
    The zone ID.
    category string
    Instance type.
    charge_type string
    The billing method.
    computing_group_ids list(string)
    List of computing group IDs.
    create_time string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    description string
    Cluster description.
    endpoints list(object)
    List of endpoint details.
    engine_minor_version string
    The minor version number of the cluster engine.
    instance_network_type string
    Network type of the instance.
    multi_zones list(object)
    The multi-zone configuration. See multiZones below.
    node_count number
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    node_scale_max number
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    node_scale_min number
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    region_id string
    The region ID.
    resource_group_id string
    Resource group ID of the cluster.
    scale_max string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scale_min string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    status string
    The instance status.
    storage_quota string
    Pre-purchased storage capacity (GB).
    storage_size number
    The storage capacity.
    storage_type string
    The storage type.
    tags map(string)
    Tag information.
    vpc_id string
    The VPC ID.
    vswitch_id string
    vSwitch ID.
    zone_id string
    The zone ID.
    category String
    Instance type.
    chargeType String
    The billing method.
    computingGroupIds List<String>
    List of computing group IDs.
    createTime String
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    description String
    Cluster description.
    endpoints List<ClickHouseEnterpriseDbClusterEndpoint>
    List of endpoint details.
    engineMinorVersion String
    The minor version number of the cluster engine.
    instanceNetworkType String
    Network type of the instance.
    multiZones List<ClickHouseEnterpriseDbClusterMultiZone>
    The multi-zone configuration. See multiZones below.
    nodeCount Integer
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    nodeScaleMax Integer
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    nodeScaleMin Integer
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    regionId String
    The region ID.
    resourceGroupId String
    Resource group ID of the cluster.
    scaleMax String
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scaleMin String
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    status String
    The instance status.
    storageQuota String
    Pre-purchased storage capacity (GB).
    storageSize Integer
    The storage capacity.
    storageType String
    The storage type.
    tags Map<String,String>
    Tag information.
    vpcId String
    The VPC ID.
    vswitchId String
    vSwitch ID.
    zoneId String
    The zone ID.
    category string
    Instance type.
    chargeType string
    The billing method.
    computingGroupIds string[]
    List of computing group IDs.
    createTime string
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    description string
    Cluster description.
    endpoints ClickHouseEnterpriseDbClusterEndpoint[]
    List of endpoint details.
    engineMinorVersion string
    The minor version number of the cluster engine.
    instanceNetworkType string
    Network type of the instance.
    multiZones ClickHouseEnterpriseDbClusterMultiZone[]
    The multi-zone configuration. See multiZones below.
    nodeCount number
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    nodeScaleMax number
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    nodeScaleMin number
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    regionId string
    The region ID.
    resourceGroupId string
    Resource group ID of the cluster.
    scaleMax string
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scaleMin string
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    status string
    The instance status.
    storageQuota string
    Pre-purchased storage capacity (GB).
    storageSize number
    The storage capacity.
    storageType string
    The storage type.
    tags {[key: string]: string}
    Tag information.
    vpcId string
    The VPC ID.
    vswitchId string
    vSwitch ID.
    zoneId string
    The zone ID.
    category str
    Instance type.
    charge_type str
    The billing method.
    computing_group_ids Sequence[str]
    List of computing group IDs.
    create_time str
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    description str
    Cluster description.
    endpoints Sequence[ClickHouseEnterpriseDbClusterEndpointArgs]
    List of endpoint details.
    engine_minor_version str
    The minor version number of the cluster engine.
    instance_network_type str
    Network type of the instance.
    multi_zones Sequence[ClickHouseEnterpriseDbClusterMultiZoneArgs]
    The multi-zone configuration. See multiZones below.
    node_count int
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    node_scale_max int
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    node_scale_min int
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    region_id str
    The region ID.
    resource_group_id str
    Resource group ID of the cluster.
    scale_max str
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scale_min str
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    status str
    The instance status.
    storage_quota str
    Pre-purchased storage capacity (GB).
    storage_size int
    The storage capacity.
    storage_type str
    The storage type.
    tags Mapping[str, str]
    Tag information.
    vpc_id str
    The VPC ID.
    vswitch_id str
    vSwitch ID.
    zone_id str
    The zone ID.
    category String
    Instance type.
    chargeType String
    The billing method.
    computingGroupIds List<String>
    List of computing group IDs.
    createTime String
    The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
    description String
    Cluster description.
    endpoints List<Property Map>
    List of endpoint details.
    engineMinorVersion String
    The minor version number of the cluster engine.
    instanceNetworkType String
    Network type of the instance.
    multiZones List<Property Map>
    The multi-zone configuration. See multiZones below.
    nodeCount Number
    The number of nodes. Valid values: 2 to 16. This parameter is required when NodeScaleMin and NodeScaleMax are configured to define the auto-scaling range.
    nodeScaleMax Number
    Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
    nodeScaleMin Number
    The minimum value for serverless node auto-scaling. Valid values: 4–32.
    regionId String
    The region ID.
    resourceGroupId String
    Resource group ID of the cluster.
    scaleMax String
    The maximum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    scaleMin String
    The minimum value for serverless auto scaling. This parameter is not recommended. We recommend that you use NodeCount, NodeScaleMin, and NodeScaleMax to configure auto scaling capabilities.
    status String
    The instance status.
    storageQuota String
    Pre-purchased storage capacity (GB).
    storageSize Number
    The storage capacity.
    storageType String
    The storage type.
    tags Map<String>
    Tag information.
    vpcId String
    The VPC ID.
    vswitchId String
    vSwitch ID.
    zoneId String
    The zone ID.

    Supporting Types

    ClickHouseEnterpriseDbClusterEndpoint, ClickHouseEnterpriseDbClusterEndpointArgs

    ComputingGroupId string
    The computing group ID.
    ConnectionString string
    The instance connection string.
    EndpointName string
    The endpoint name.
    IpAddress string
    The IP address.
    NetType string
    The network type of the connection string.
    Ports List<Pulumi.AliCloud.clickHouseEnterpriseDbCluster.Inputs.ClickHouseEnterpriseDbClusterEndpointPort>
    A list of port details.
    Status string
    The instance status.
    VpcId string
    The VPC ID.
    VpcInstanceId string
    The VPC instance ID.
    VswitchId string
    vSwitch ID.
    ComputingGroupId string
    The computing group ID.
    ConnectionString string
    The instance connection string.
    EndpointName string
    The endpoint name.
    IpAddress string
    The IP address.
    NetType string
    The network type of the connection string.
    Ports []ClickHouseEnterpriseDbClusterEndpointPort
    A list of port details.
    Status string
    The instance status.
    VpcId string
    The VPC ID.
    VpcInstanceId string
    The VPC instance ID.
    VswitchId string
    vSwitch ID.
    computing_group_id string
    The computing group ID.
    connection_string string
    The instance connection string.
    endpoint_name string
    The endpoint name.
    ip_address string
    The IP address.
    net_type string
    The network type of the connection string.
    ports list(object)
    A list of port details.
    status string
    The instance status.
    vpc_id string
    The VPC ID.
    vpc_instance_id string
    The VPC instance ID.
    vswitch_id string
    vSwitch ID.
    computingGroupId String
    The computing group ID.
    connectionString String
    The instance connection string.
    endpointName String
    The endpoint name.
    ipAddress String
    The IP address.
    netType String
    The network type of the connection string.
    ports List<ClickHouseEnterpriseDbClusterEndpointPort>
    A list of port details.
    status String
    The instance status.
    vpcId String
    The VPC ID.
    vpcInstanceId String
    The VPC instance ID.
    vswitchId String
    vSwitch ID.
    computingGroupId string
    The computing group ID.
    connectionString string
    The instance connection string.
    endpointName string
    The endpoint name.
    ipAddress string
    The IP address.
    netType string
    The network type of the connection string.
    ports ClickHouseEnterpriseDbClusterEndpointPort[]
    A list of port details.
    status string
    The instance status.
    vpcId string
    The VPC ID.
    vpcInstanceId string
    The VPC instance ID.
    vswitchId string
    vSwitch ID.
    computing_group_id str
    The computing group ID.
    connection_string str
    The instance connection string.
    endpoint_name str
    The endpoint name.
    ip_address str
    The IP address.
    net_type str
    The network type of the connection string.
    ports Sequence[ClickHouseEnterpriseDbClusterEndpointPort]
    A list of port details.
    status str
    The instance status.
    vpc_id str
    The VPC ID.
    vpc_instance_id str
    The VPC instance ID.
    vswitch_id str
    vSwitch ID.
    computingGroupId String
    The computing group ID.
    connectionString String
    The instance connection string.
    endpointName String
    The endpoint name.
    ipAddress String
    The IP address.
    netType String
    The network type of the connection string.
    ports List<Property Map>
    A list of port details.
    status String
    The instance status.
    vpcId String
    The VPC ID.
    vpcInstanceId String
    The VPC instance ID.
    vswitchId String
    vSwitch ID.

    ClickHouseEnterpriseDbClusterEndpointPort, ClickHouseEnterpriseDbClusterEndpointPortArgs

    Port int
    The access port.
    Protocol string
    The protocol type.
    Port int
    The access port.
    Protocol string
    The protocol type.
    port number
    The access port.
    protocol string
    The protocol type.
    port Integer
    The access port.
    protocol String
    The protocol type.
    port number
    The access port.
    protocol string
    The protocol type.
    port int
    The access port.
    protocol str
    The protocol type.
    port Number
    The access port.
    protocol String
    The protocol type.

    ClickHouseEnterpriseDbClusterMultiZone, ClickHouseEnterpriseDbClusterMultiZoneArgs

    VswitchIds List<string>
    List of vSwitch IDs.
    ZoneId string
    Zone ID.
    VswitchIds []string
    List of vSwitch IDs.
    ZoneId string
    Zone ID.
    vswitch_ids list(string)
    List of vSwitch IDs.
    zone_id string
    Zone ID.
    vswitchIds List<String>
    List of vSwitch IDs.
    zoneId String
    Zone ID.
    vswitchIds string[]
    List of vSwitch IDs.
    zoneId string
    Zone ID.
    vswitch_ids Sequence[str]
    List of vSwitch IDs.
    zone_id str
    Zone ID.
    vswitchIds List<String>
    List of vSwitch IDs.
    zoneId String
    Zone ID.

    Import

    Click House Enterprise Db Cluster can be imported using the id, e.g.

    $ pulumi import alicloud:clickhouseenterprisedbcluster/clickHouseEnterpriseDbCluster:ClickHouseEnterpriseDbCluster example <db_instance_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.103.0
    published on Friday, May 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial