Alibaba Cloud
DbCluster
Provides a Click House DBCluster resource.
For information about Click House DBCluster and how to use it, see What is DBCluster.
NOTE: Available in v1.134.0+.
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var defaultRegions = Output.Create(AliCloud.ClickHouse.GetRegions.InvokeAsync(new AliCloud.ClickHouse.GetRegionsArgs
{
Current = true,
}));
var defaultNetworks = Output.Create(AliCloud.Vpc.GetNetworks.InvokeAsync(new AliCloud.Vpc.GetNetworksArgs
{
NameRegex = "default-NODELETING",
}));
var defaultSwitches = Output.Tuple(defaultNetworks, defaultRegions).Apply(values =>
{
var defaultNetworks = values.Item1;
var defaultRegions = values.Item2;
return Output.Create(AliCloud.Vpc.GetSwitches.InvokeAsync(new AliCloud.Vpc.GetSwitchesArgs
{
VpcId = defaultNetworks.Ids?[0],
ZoneId = defaultRegions.Regions?[0]?.ZoneIds?[0]?.ZoneId,
}));
});
var defaultDbCluster = new AliCloud.ClickHouse.DbCluster("defaultDbCluster", new AliCloud.ClickHouse.DbClusterArgs
{
DbClusterVersion = "20.3.10.75",
Category = "Basic",
DbClusterClass = "S8",
DbClusterNetworkType = "vpc",
DbNodeGroupCount = 1,
PaymentType = "PayAsYouGo",
DbNodeStorage = "500",
StorageType = "cloud_essd",
VswitchId = defaultSwitches.Apply(defaultSwitches => defaultSwitches.Ids?[0]),
DbClusterAccessWhiteLists =
{
new AliCloud.ClickHouse.Inputs.DbClusterDbClusterAccessWhiteListArgs
{
DbClusterIpArrayAttribute = "test",
DbClusterIpArrayName = "test",
SecurityIpList = "192.168.0.1",
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/clickhouse"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
defaultRegions, err := clickhouse.GetRegions(ctx, &clickhouse.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
NameRegex: pulumi.StringRef("default-NODELETING"),
}, nil)
if err != nil {
return err
}
defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
VpcId: pulumi.StringRef(defaultNetworks.Ids[0]),
ZoneId: pulumi.StringRef(defaultRegions.Regions[0].ZoneIds[0].ZoneId),
}, nil)
if err != nil {
return err
}
_, err = clickhouse.NewDbCluster(ctx, "defaultDbCluster", &clickhouse.DbClusterArgs{
DbClusterVersion: pulumi.String("20.3.10.75"),
Category: pulumi.String("Basic"),
DbClusterClass: pulumi.String("S8"),
DbClusterNetworkType: pulumi.String("vpc"),
DbNodeGroupCount: pulumi.Int(1),
PaymentType: pulumi.String("PayAsYouGo"),
DbNodeStorage: pulumi.String("500"),
StorageType: pulumi.String("cloud_essd"),
VswitchId: pulumi.String(defaultSwitches.Ids[0]),
DbClusterAccessWhiteLists: clickhouse.DbClusterDbClusterAccessWhiteListArray{
&clickhouse.DbClusterDbClusterAccessWhiteListArgs{
DbClusterIpArrayAttribute: pulumi.String("test"),
DbClusterIpArrayName: pulumi.String("test"),
SecurityIpList: pulumi.String("192.168.0.1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_alicloud as alicloud
default_regions = alicloud.clickhouse.get_regions(current=True)
default_networks = alicloud.vpc.get_networks(name_regex="default-NODELETING")
default_switches = alicloud.vpc.get_switches(vpc_id=default_networks.ids[0],
zone_id=default_regions.regions[0].zone_ids[0].zone_id)
default_db_cluster = alicloud.clickhouse.DbCluster("defaultDbCluster",
db_cluster_version="20.3.10.75",
category="Basic",
db_cluster_class="S8",
db_cluster_network_type="vpc",
db_node_group_count=1,
payment_type="PayAsYouGo",
db_node_storage="500",
storage_type="cloud_essd",
vswitch_id=default_switches.ids[0],
db_cluster_access_white_lists=[alicloud.clickhouse.DbClusterDbClusterAccessWhiteListArgs(
db_cluster_ip_array_attribute="test",
db_cluster_ip_array_name="test",
security_ip_list="192.168.0.1",
)])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const defaultRegions = alicloud.clickhouse.getRegions({
current: true,
});
const defaultNetworks = alicloud.vpc.getNetworks({
nameRegex: "default-NODELETING",
});
const defaultSwitches = Promise.all([defaultNetworks, defaultRegions]).then(([defaultNetworks, defaultRegions]) => alicloud.vpc.getSwitches({
vpcId: defaultNetworks.ids?[0],
zoneId: defaultRegions.regions?[0]?.zoneIds?[0]?.zoneId,
}));
const defaultDbCluster = new alicloud.clickhouse.DbCluster("defaultDbCluster", {
dbClusterVersion: "20.3.10.75",
category: "Basic",
dbClusterClass: "S8",
dbClusterNetworkType: "vpc",
dbNodeGroupCount: "1",
paymentType: "PayAsYouGo",
dbNodeStorage: "500",
storageType: "cloud_essd",
vswitchId: defaultSwitches.then(defaultSwitches => defaultSwitches.ids?[0]),
dbClusterAccessWhiteLists: [{
dbClusterIpArrayAttribute: "test",
dbClusterIpArrayName: "test",
securityIpList: "192.168.0.1",
}],
});
Coming soon!
Create a DbCluster Resource
new DbCluster(name: string, args: DbClusterArgs, opts?: CustomResourceOptions);
@overload
def DbCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
category: Optional[str] = None,
db_cluster_access_white_lists: Optional[Sequence[DbClusterDbClusterAccessWhiteListArgs]] = None,
db_cluster_class: Optional[str] = None,
db_cluster_description: Optional[str] = None,
db_cluster_network_type: Optional[str] = None,
db_cluster_version: Optional[str] = None,
db_node_group_count: Optional[int] = None,
db_node_storage: Optional[str] = None,
encryption_key: Optional[str] = None,
encryption_type: Optional[str] = None,
maintain_time: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[str] = None,
status: Optional[str] = None,
storage_type: Optional[str] = None,
used_time: Optional[str] = None,
vswitch_id: Optional[str] = None)
@overload
def DbCluster(resource_name: str,
args: DbClusterArgs,
opts: Optional[ResourceOptions] = None)
func NewDbCluster(ctx *Context, name string, args DbClusterArgs, opts ...ResourceOption) (*DbCluster, error)
public DbCluster(string name, DbClusterArgs args, CustomResourceOptions? opts = null)
public DbCluster(String name, DbClusterArgs args)
public DbCluster(String name, DbClusterArgs args, CustomResourceOptions options)
type: alicloud:clickhouse:DbCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbClusterArgs
- 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 DbClusterArgs
- 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 DbClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DbCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DbCluster resource accepts the following input properties:
- Category string
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- Db
Cluster stringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- Db
Cluster stringNetwork Type The DBCluster network type. Valid values:
vpc
.- Db
Cluster stringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- Db
Node intGroup Count The db node group count. The number should between 1 and 48.
- Db
Node stringStorage The db node storage.
- Payment
Type string The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- Storage
Type string Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- Db
Cluster List<Pulumi.Access White Lists Ali Cloud. Click House. Inputs. Db Cluster Db Cluster Access White List Args> The db cluster access white list.
- Db
Cluster stringDescription The DBCluster description.
- Encryption
Key string Key management service KMS key ID.
- Encryption
Type string Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- Maintain
Time string The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- Period string
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- Status string
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- Used
Time string The used time of DBCluster.
- Vswitch
Id string The vswitch id of DBCluster.
- Category string
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- Db
Cluster stringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- Db
Cluster stringNetwork Type The DBCluster network type. Valid values:
vpc
.- Db
Cluster stringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- Db
Node intGroup Count The db node group count. The number should between 1 and 48.
- Db
Node stringStorage The db node storage.
- Payment
Type string The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- Storage
Type string Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- Db
Cluster []DbAccess White Lists Cluster Db Cluster Access White List Args The db cluster access white list.
- Db
Cluster stringDescription The DBCluster description.
- Encryption
Key string Key management service KMS key ID.
- Encryption
Type string Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- Maintain
Time string The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- Period string
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- Status string
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- Used
Time string The used time of DBCluster.
- Vswitch
Id string The vswitch id of DBCluster.
- category String
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db
Cluster StringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db
Cluster StringNetwork Type The DBCluster network type. Valid values:
vpc
.- db
Cluster StringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db
Node IntegerGroup Count The db node group count. The number should between 1 and 48.
- db
Node StringStorage The db node storage.
- payment
Type String The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- storage
Type String Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- db
Cluster ListAccess White Lists Cluster Db Cluster Access White List Args> The db cluster access white list.
- db
Cluster StringDescription The DBCluster description.
- encryption
Key String Key management service KMS key ID.
- encryption
Type String Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain
Time String The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- period String
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status String
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- used
Time String The used time of DBCluster.
- vswitch
Id String The vswitch id of DBCluster.
- category string
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db
Cluster stringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db
Cluster stringNetwork Type The DBCluster network type. Valid values:
vpc
.- db
Cluster stringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db
Node numberGroup Count The db node group count. The number should between 1 and 48.
- db
Node stringStorage The db node storage.
- payment
Type string The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- storage
Type string Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- db
Cluster DbAccess White Lists Cluster Db Cluster Access White List Args[] The db cluster access white list.
- db
Cluster stringDescription The DBCluster description.
- encryption
Key string Key management service KMS key ID.
- encryption
Type string Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain
Time string The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- period string
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status string
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- used
Time string The used time of DBCluster.
- vswitch
Id string The vswitch id of DBCluster.
- category str
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db_
cluster_ strclass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db_
cluster_ strnetwork_ type The DBCluster network type. Valid values:
vpc
.- db_
cluster_ strversion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db_
node_ intgroup_ count The db node group count. The number should between 1 and 48.
- db_
node_ strstorage The db node storage.
- payment_
type str The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- storage_
type str Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- db_
cluster_ Sequence[Dbaccess_ white_ lists Cluster Db Cluster Access White List Args] The db cluster access white list.
- db_
cluster_ strdescription The DBCluster description.
- encryption_
key str Key management service KMS key ID.
- encryption_
type str Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain_
time str The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- period str
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status str
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- used_
time str The used time of DBCluster.
- vswitch_
id str The vswitch id of DBCluster.
- category String
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db
Cluster StringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db
Cluster StringNetwork Type The DBCluster network type. Valid values:
vpc
.- db
Cluster StringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db
Node NumberGroup Count The db node group count. The number should between 1 and 48.
- db
Node StringStorage The db node storage.
- payment
Type String The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- storage
Type String Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- db
Cluster ListAccess White Lists The db cluster access white list.
- db
Cluster StringDescription The DBCluster description.
- encryption
Key String Key management service KMS key ID.
- encryption
Type String Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain
Time String The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- period String
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status String
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- used
Time String The used time of DBCluster.
- vswitch
Id String The vswitch id of DBCluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbCluster resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up an Existing DbCluster Resource
Get an existing DbCluster 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?: DbClusterState, opts?: CustomResourceOptions): DbCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
category: Optional[str] = None,
db_cluster_access_white_lists: Optional[Sequence[DbClusterDbClusterAccessWhiteListArgs]] = None,
db_cluster_class: Optional[str] = None,
db_cluster_description: Optional[str] = None,
db_cluster_network_type: Optional[str] = None,
db_cluster_version: Optional[str] = None,
db_node_group_count: Optional[int] = None,
db_node_storage: Optional[str] = None,
encryption_key: Optional[str] = None,
encryption_type: Optional[str] = None,
maintain_time: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[str] = None,
status: Optional[str] = None,
storage_type: Optional[str] = None,
used_time: Optional[str] = None,
vswitch_id: Optional[str] = None) -> DbCluster
func GetDbCluster(ctx *Context, name string, id IDInput, state *DbClusterState, opts ...ResourceOption) (*DbCluster, error)
public static DbCluster Get(string name, Input<string> id, DbClusterState? state, CustomResourceOptions? opts = null)
public static DbCluster get(String name, Output<String> id, DbClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- Db
Cluster List<Pulumi.Access White Lists Ali Cloud. Click House. Inputs. Db Cluster Db Cluster Access White List Args> The db cluster access white list.
- Db
Cluster stringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- Db
Cluster stringDescription The DBCluster description.
- Db
Cluster stringNetwork Type The DBCluster network type. Valid values:
vpc
.- Db
Cluster stringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- Db
Node intGroup Count The db node group count. The number should between 1 and 48.
- Db
Node stringStorage The db node storage.
- Encryption
Key string Key management service KMS key ID.
- Encryption
Type string Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- Maintain
Time string The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- Payment
Type string The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- Period string
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- Status string
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- Storage
Type string Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- Used
Time string The used time of DBCluster.
- Vswitch
Id string The vswitch id of DBCluster.
- Category string
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- Db
Cluster []DbAccess White Lists Cluster Db Cluster Access White List Args The db cluster access white list.
- Db
Cluster stringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- Db
Cluster stringDescription The DBCluster description.
- Db
Cluster stringNetwork Type The DBCluster network type. Valid values:
vpc
.- Db
Cluster stringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- Db
Node intGroup Count The db node group count. The number should between 1 and 48.
- Db
Node stringStorage The db node storage.
- Encryption
Key string Key management service KMS key ID.
- Encryption
Type string Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- Maintain
Time string The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- Payment
Type string The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- Period string
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- Status string
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- Storage
Type string Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- Used
Time string The used time of DBCluster.
- Vswitch
Id string The vswitch id of DBCluster.
- category String
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db
Cluster ListAccess White Lists Cluster Db Cluster Access White List Args> The db cluster access white list.
- db
Cluster StringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db
Cluster StringDescription The DBCluster description.
- db
Cluster StringNetwork Type The DBCluster network type. Valid values:
vpc
.- db
Cluster StringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db
Node IntegerGroup Count The db node group count. The number should between 1 and 48.
- db
Node StringStorage The db node storage.
- encryption
Key String Key management service KMS key ID.
- encryption
Type String Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain
Time String The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- payment
Type String The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- period String
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status String
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- storage
Type String Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- used
Time String The used time of DBCluster.
- vswitch
Id String The vswitch id of DBCluster.
- category string
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db
Cluster DbAccess White Lists Cluster Db Cluster Access White List Args[] The db cluster access white list.
- db
Cluster stringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db
Cluster stringDescription The DBCluster description.
- db
Cluster stringNetwork Type The DBCluster network type. Valid values:
vpc
.- db
Cluster stringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db
Node numberGroup Count The db node group count. The number should between 1 and 48.
- db
Node stringStorage The db node storage.
- encryption
Key string Key management service KMS key ID.
- encryption
Type string Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain
Time string The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- payment
Type string The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- period string
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status string
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- storage
Type string Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- used
Time string The used time of DBCluster.
- vswitch
Id string The vswitch id of DBCluster.
- category str
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db_
cluster_ Sequence[Dbaccess_ white_ lists Cluster Db Cluster Access White List Args] The db cluster access white list.
- db_
cluster_ strclass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db_
cluster_ strdescription The DBCluster description.
- db_
cluster_ strnetwork_ type The DBCluster network type. Valid values:
vpc
.- db_
cluster_ strversion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db_
node_ intgroup_ count The db node group count. The number should between 1 and 48.
- db_
node_ strstorage The db node storage.
- encryption_
key str Key management service KMS key ID.
- encryption_
type str Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain_
time str The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- payment_
type str The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- period str
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status str
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- storage_
type str Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- used_
time str The used time of DBCluster.
- vswitch_
id str The vswitch id of DBCluster.
- category String
The Category of DBCluster. Valid values:
Basic
,HighAvailability
.- db
Cluster ListAccess White Lists The db cluster access white list.
- db
Cluster StringClass The DBCluster class. According to the category, db_cluster_class has two value ranges:
- Under the condition that the category is the
Basic
, Valid values:S4-NEW
,S8
,S16
,S32
,S64
,S104
. - Under the condition that the category is the
HighAvailability
, Valid values:C4-NEW
,C8
,C16
,C32
,C64
,C104
.
- Under the condition that the category is the
- db
Cluster StringDescription The DBCluster description.
- db
Cluster StringNetwork Type The DBCluster network type. Valid values:
vpc
.- db
Cluster StringVersion The DBCluster version. Valid values:
19.15.2.2
,20.3.10.75
,20.8.7.15
.- db
Node NumberGroup Count The db node group count. The number should between 1 and 48.
- db
Node StringStorage The db node storage.
- encryption
Key String Key management service KMS key ID.
- encryption
Type String Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
- maintain
Time String The maintenance window of DBCluster. Valid format:
hh:mmZ-hh:mm Z
.- payment
Type String The payment type of the resource. Valid values:
PayAsYouGo
,Subscription
.- period String
Pre-paid cluster of the pay-as-you-go cycle. Valid values:
Month
,Year
.- status String
The status of the resource. Valid values:
Running
,Creating
,Deleting
,Restarting
,Preparing
,.- storage
Type String Storage type of DBCluster. Valid values:
cloud_essd
,cloud_efficiency
,cloud_essd_pl2
,cloud_essd_pl3
.- used
Time String The used time of DBCluster.
- vswitch
Id String The vswitch id of DBCluster.
Supporting Types
DbClusterDbClusterAccessWhiteList
- Db
Cluster stringIp Array Attribute Field
db_cluster_ip_array_attribute
has been removed from provider.- Db
Cluster stringIp Array Name Whitelist group name.
- Security
Ip stringList The IP address list under the whitelist group.
- Db
Cluster stringIp Array Attribute Field
db_cluster_ip_array_attribute
has been removed from provider.- Db
Cluster stringIp Array Name Whitelist group name.
- Security
Ip stringList The IP address list under the whitelist group.
- db
Cluster StringIp Array Attribute Field
db_cluster_ip_array_attribute
has been removed from provider.- db
Cluster StringIp Array Name Whitelist group name.
- security
Ip StringList The IP address list under the whitelist group.
- db
Cluster stringIp Array Attribute Field
db_cluster_ip_array_attribute
has been removed from provider.- db
Cluster stringIp Array Name Whitelist group name.
- security
Ip stringList The IP address list under the whitelist group.
- db_
cluster_ strip_ array_ attribute Field
db_cluster_ip_array_attribute
has been removed from provider.- db_
cluster_ strip_ array_ name Whitelist group name.
- security_
ip_ strlist The IP address list under the whitelist group.
- db
Cluster StringIp Array Attribute Field
db_cluster_ip_array_attribute
has been removed from provider.- db
Cluster StringIp Array Name Whitelist group name.
- security
Ip StringList The IP address list under the whitelist group.
Import
Click House DBCluster can be imported using the id, e.g.
$ pulumi import alicloud:clickhouse/dbCluster:DbCluster example <id>
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.