published on Friday, May 22, 2026 by Pulumi
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.
- Multi
Zones List<Pulumi.Ali Cloud.click House Enterprise Db Cluster. Inputs. Click House Enterprise Db Cluster Multi Zone> - The multi-zone configuration. See
multiZonesbelow. - 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 intMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- Node
Scale intMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- Resource
Group stringId - 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.
- Dictionary<string, string>
- Tag information.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - vSwitch ID.
- Zone
Id string - The zone ID.
- Description string
- Cluster description.
- Multi
Zones []ClickHouse Enterprise Db Cluster Multi Zone Args - The multi-zone configuration. See
multiZonesbelow. - 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 intMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- Node
Scale intMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- Resource
Group stringId - 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.
- map[string]string
- Tag information.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - vSwitch ID.
- Zone
Id string - The zone ID.
- description string
- Cluster description.
- multi_
zones list(object) - The multi-zone configuration. See
multiZonesbelow. - 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_ numbermax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node_
scale_ numbermin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- resource_
group_ stringid - 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.
- 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.
- multi
Zones List<ClickHouse Enterprise Db Cluster Multi Zone> - The multi-zone configuration. See
multiZonesbelow. - node
Count 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.
- node
Scale IntegerMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node
Scale IntegerMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- resource
Group StringId - 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.
- Map<String,String>
- Tag information.
- vpc
Id String - The VPC ID.
- vswitch
Id String - vSwitch ID.
- zone
Id String - The zone ID.
- description string
- Cluster description.
- multi
Zones ClickHouse Enterprise Db Cluster Multi Zone[] - The multi-zone configuration. See
multiZonesbelow. - 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 numberMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node
Scale numberMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- resource
Group stringId - 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.
- {[key: string]: string}
- Tag information.
- vpc
Id string - The VPC ID.
- vswitch
Id string - vSwitch ID.
- zone
Id string - The zone ID.
- description str
- Cluster description.
- multi_
zones Sequence[ClickHouse Enterprise Db Cluster Multi Zone Args] - The multi-zone configuration. See
multiZonesbelow. - 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_ intmax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node_
scale_ intmin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- resource_
group_ strid - 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.
- 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.
- multi
Zones List<Property Map> - The multi-zone configuration. See
multiZonesbelow. - 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 NumberMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node
Scale NumberMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- resource
Group StringId - 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.
- Map<String>
- Tag information.
- vpc
Id String - The VPC ID.
- vswitch
Id String - vSwitch ID.
- zone
Id 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.
- Charge
Type string - The billing method.
- Computing
Group List<string>Ids - List of computing group IDs.
- Create
Time string - The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
- Endpoints
List<Pulumi.
Ali Cloud.click House Enterprise Db Cluster. Outputs. Click House Enterprise Db Cluster Endpoint> - List of endpoint details.
- Engine
Minor stringVersion - The minor version number of the cluster engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Network stringType - 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 int - The storage capacity.
- Storage
Type string - The storage type.
- Category string
- Instance type.
- Charge
Type string - The billing method.
- Computing
Group []stringIds - List of computing group IDs.
- Create
Time string - The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
- Endpoints
[]Click
House Enterprise Db Cluster Endpoint - List of endpoint details.
- Engine
Minor stringVersion - The minor version number of the cluster engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Network stringType - 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 int - The storage capacity.
- Storage
Type string - The storage type.
- category string
- Instance type.
- charge_
type string - The billing method.
- computing_
group_ list(string)ids - 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_ stringversion - The minor version number of the cluster engine.
- id string
- The provider-assigned unique ID for this managed resource.
- instance_
network_ stringtype - 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.
- charge
Type String - The billing method.
- computing
Group List<String>Ids - List of computing group IDs.
- create
Time String - The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
- endpoints
List<Click
House Enterprise Db Cluster Endpoint> - List of endpoint details.
- engine
Minor StringVersion - The minor version number of the cluster engine.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Network StringType - 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 Integer - The storage capacity.
- storage
Type String - The storage type.
- category string
- Instance type.
- charge
Type string - The billing method.
- computing
Group string[]Ids - List of computing group IDs.
- create
Time string - The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
- endpoints
Click
House Enterprise Db Cluster Endpoint[] - List of endpoint details.
- engine
Minor stringVersion - The minor version number of the cluster engine.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Network stringType - 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 str
- Instance type.
- charge_
type str - The billing method.
- computing_
group_ Sequence[str]ids - List of computing group IDs.
- create_
time str - The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
- endpoints
Sequence[Click
House Enterprise Db Cluster Endpoint] - List of endpoint details.
- engine_
minor_ strversion - The minor version number of the cluster engine.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
network_ strtype - 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.
- charge
Type String - The billing method.
- computing
Group List<String>Ids - List of computing group IDs.
- create
Time String - The cluster creation time, in the format yyyy-MM-ddTHH:mm:ssZ.
- endpoints List<Property Map>
- List of endpoint details.
- engine
Minor StringVersion - The minor version number of the cluster engine.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Network StringType - 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.
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) -> ClickHouseEnterpriseDbClusterfunc 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.
- Category string
- Instance type.
- Charge
Type string - The billing method.
- Computing
Group List<string>Ids - 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<Pulumi.
Ali Cloud.click House Enterprise Db Cluster. Inputs. Click House Enterprise Db Cluster Endpoint> - List of endpoint details.
- Engine
Minor stringVersion - The minor version number of the cluster engine.
- Instance
Network stringType - Network type of the instance.
- Multi
Zones List<Pulumi.Ali Cloud.click House Enterprise Db Cluster. Inputs. Click House Enterprise Db Cluster Multi Zone> - The multi-zone configuration. See
multiZonesbelow. - 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 intMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- Node
Scale intMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- Region
Id string - The region ID.
- Resource
Group stringId - 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 int - The storage capacity.
- Storage
Type string - The storage type.
- Dictionary<string, string>
- Tag information.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - vSwitch ID.
- Zone
Id string - The zone ID.
- Category string
- Instance type.
- Charge
Type string - The billing method.
- Computing
Group []stringIds - 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
[]Click
House Enterprise Db Cluster Endpoint Args - List of endpoint details.
- Engine
Minor stringVersion - The minor version number of the cluster engine.
- Instance
Network stringType - Network type of the instance.
- Multi
Zones []ClickHouse Enterprise Db Cluster Multi Zone Args - The multi-zone configuration. See
multiZonesbelow. - 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 intMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- Node
Scale intMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- Region
Id string - The region ID.
- Resource
Group stringId - 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 int - The storage capacity.
- Storage
Type string - The storage type.
- map[string]string
- Tag information.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - vSwitch ID.
- Zone
Id string - The zone ID.
- category string
- Instance type.
- charge_
type string - The billing method.
- computing_
group_ list(string)ids - 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_ stringversion - The minor version number of the cluster engine.
- instance_
network_ stringtype - Network type of the instance.
- multi_
zones list(object) - The multi-zone configuration. See
multiZonesbelow. - 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_ numbermax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node_
scale_ numbermin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- region_
id string - The region ID.
- resource_
group_ stringid - 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.
- 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.
- charge
Type String - The billing method.
- computing
Group List<String>Ids - 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<Click
House Enterprise Db Cluster Endpoint> - List of endpoint details.
- engine
Minor StringVersion - The minor version number of the cluster engine.
- instance
Network StringType - Network type of the instance.
- multi
Zones List<ClickHouse Enterprise Db Cluster Multi Zone> - The multi-zone configuration. See
multiZonesbelow. - node
Count 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.
- node
Scale IntegerMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node
Scale IntegerMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- region
Id String - The region ID.
- resource
Group StringId - 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 Integer - The storage capacity.
- storage
Type String - The storage type.
- Map<String,String>
- Tag information.
- vpc
Id String - The VPC ID.
- vswitch
Id String - vSwitch ID.
- zone
Id String - The zone ID.
- category string
- Instance type.
- charge
Type string - The billing method.
- computing
Group string[]Ids - 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
Click
House Enterprise Db Cluster Endpoint[] - List of endpoint details.
- engine
Minor stringVersion - The minor version number of the cluster engine.
- instance
Network stringType - Network type of the instance.
- multi
Zones ClickHouse Enterprise Db Cluster Multi Zone[] - The multi-zone configuration. See
multiZonesbelow. - 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 numberMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node
Scale numberMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- region
Id string - The region ID.
- resource
Group stringId - 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.
- {[key: string]: string}
- Tag information.
- vpc
Id string - The VPC ID.
- vswitch
Id string - vSwitch ID.
- zone
Id string - The zone ID.
- category str
- Instance type.
- charge_
type str - The billing method.
- computing_
group_ Sequence[str]ids - 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[Click
House Enterprise Db Cluster Endpoint Args] - List of endpoint details.
- engine_
minor_ strversion - The minor version number of the cluster engine.
- instance_
network_ strtype - Network type of the instance.
- multi_
zones Sequence[ClickHouse Enterprise Db Cluster Multi Zone Args] - The multi-zone configuration. See
multiZonesbelow. - 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_ intmax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node_
scale_ intmin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- region_
id str - The region ID.
- resource_
group_ strid - 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.
- 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.
- charge
Type String - The billing method.
- computing
Group List<String>Ids - 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<Property Map>
- List of endpoint details.
- engine
Minor StringVersion - The minor version number of the cluster engine.
- instance
Network StringType - Network type of the instance.
- multi
Zones List<Property Map> - The multi-zone configuration. See
multiZonesbelow. - 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 NumberMax - Maximum value for serverless node auto scaling. Valid values range from 4 to 32 and must be greater than the minimum value.
- node
Scale NumberMin - The minimum value for serverless node auto-scaling. Valid values: 4–32.
- region
Id String - The region ID.
- resource
Group StringId - 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.
- Map<String>
- Tag information.
- vpc
Id String - The VPC ID.
- vswitch
Id String - vSwitch ID.
- zone
Id String - The zone ID.
Supporting Types
ClickHouseEnterpriseDbClusterEndpoint, ClickHouseEnterpriseDbClusterEndpointArgs
- Computing
Group stringId - 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<Pulumi.
Ali Cloud.click House Enterprise Db Cluster. Inputs. Click House Enterprise Db Cluster Endpoint Port> - A list of port details.
- Status string
- The instance status.
- Vpc
Id string - The VPC ID.
- Vpc
Instance stringId - The VPC instance ID.
- Vswitch
Id string - vSwitch ID.
- Computing
Group stringId - 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
[]Click
House Enterprise Db Cluster Endpoint Port - A list of port details.
- Status string
- The instance status.
- Vpc
Id string - The VPC ID.
- Vpc
Instance stringId - The VPC instance ID.
- Vswitch
Id string - vSwitch ID.
- computing_
group_ stringid - 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_ stringid - The VPC instance ID.
- vswitch_
id string - vSwitch ID.
- computing
Group StringId - 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<Click
House Enterprise Db Cluster Endpoint Port> - A list of port details.
- status String
- The instance status.
- vpc
Id String - The VPC ID.
- vpc
Instance StringId - The VPC instance ID.
- vswitch
Id String - vSwitch ID.
- computing
Group stringId - 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
Click
House Enterprise Db Cluster Endpoint Port[] - A list of port details.
- status string
- The instance status.
- vpc
Id string - The VPC ID.
- vpc
Instance stringId - The VPC instance ID.
- vswitch
Id string - vSwitch ID.
- computing_
group_ strid - 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[Click
House Enterprise Db Cluster Endpoint Port] - A list of port details.
- status str
- The instance status.
- vpc_
id str - The VPC ID.
- vpc_
instance_ strid - The VPC instance ID.
- vswitch_
id str - vSwitch ID.
- computing
Group StringId - 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<Property Map>
- A list of port details.
- status String
- The instance status.
- vpc
Id String - The VPC ID.
- vpc
Instance StringId - The VPC instance ID.
- vswitch
Id String - vSwitch ID.
ClickHouseEnterpriseDbClusterEndpointPort, ClickHouseEnterpriseDbClusterEndpointPortArgs
ClickHouseEnterpriseDbClusterMultiZone, ClickHouseEnterpriseDbClusterMultiZoneArgs
- Vswitch
Ids List<string> - List of vSwitch IDs.
- Zone
Id string - Zone ID.
- Vswitch
Ids []string - List of vSwitch IDs.
- Zone
Id string - Zone ID.
- vswitch_
ids list(string) - List of vSwitch IDs.
- zone_
id string - Zone ID.
- vswitch
Ids List<String> - List of vSwitch IDs.
- zone
Id String - Zone ID.
- vswitch
Ids string[] - List of vSwitch IDs.
- zone
Id string - Zone ID.
- vswitch_
ids Sequence[str] - List of vSwitch IDs.
- zone_
id str - Zone ID.
- vswitch
Ids List<String> - List of vSwitch IDs.
- zone
Id 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
alicloudTerraform Provider.
published on Friday, May 22, 2026 by Pulumi