Skip to content

DBClusterProps

Properties for defining a DBCluster.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-clickhouse-dbcluster

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkclickhouse"
&alicloudroscdkclickhouse.DBClusterProps {
    Category: interface{},
    DbClusterNetworkType: interface{},
    DbClusterType: interface{},
    DbClusterVersion: interface{},
    DbNodeCount: interface{},
    DbNodeStorage: interface{},
    DbNodeStorageType: interface{},
    PaymentType: interface{},
    DbClusterDescription: interface{},
    EncryptionKey: interface{},
    EncryptionType: interface{},
    Period: interface{},
    UsedTime: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
Category interface{} Property category: The edition of the cluster.
DbClusterNetworkType interface{} Property dbClusterNetworkType: Network type of the cluster instance, value: VPC.
DbClusterType interface{} Property dbClusterType: The specification of the cluster.
DbClusterVersion interface{} Property dbClusterVersion: Version, value: 19.15.2.2.
DbNodeCount interface{} Property dbNodeCount: The number of nodes.
DbNodeStorage interface{} Property dbNodeStorage: The storage capacity of a single node.
DbNodeStorageType interface{} Property dbNodeStorageType: Instance node storage type.
PaymentType interface{} Property paymentType: The billing method of the cluster.
DbClusterDescription interface{} Property dbClusterDescription: The description of the cluster.
EncryptionKey interface{} Property encryptionKey: KMS key ID.
EncryptionType interface{} Property encryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk.
Period interface{} Property period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory. Specify the prepaid cluster as a yearly or monthly type. Valid values: Year, Month.
UsedTime interface{} Property usedTime: The subscription duration.
VpcId interface{} Property vpcId: VpcId.
VSwitchId interface{} Property vSwitchId: VSwitchId.
ZoneId interface{} Property zoneId: ZoneId.

CategoryRequired

Category interface{}
  • Type: interface{}

Property category: The edition of the cluster.

Valid values: Basic: Single-replica Edition HighAvailability: Double-replica Edition


DbClusterNetworkTypeRequired

DbClusterNetworkType interface{}
  • Type: interface{}

Property dbClusterNetworkType: Network type of the cluster instance, value: VPC.


DbClusterTypeRequired

DbClusterType interface{}
  • Type: interface{}

Property dbClusterType: The specification of the cluster.

If the cluster is of the Single-replica Edition, the following values are valid: S4: 4 cores, 16 GB. S8: 8 cores, 32 GB. S16: 16 cores, 64 GB. S32: 32 cores, 128 GB. S64: 64 cores, 256 GB. S104: 104 cores, 384 GB. If the cluster is of the Double-replica Edition, the following values are valid: C4: 4 cores, 16 GB. C8: 8 cores, 32 GB. C16: 16 cores, 64 GB. C32: 32 cores, 128 GB. C64: 64 cores, 256 GB. C104: 104 cores, 384 GB.


DbClusterVersionRequired

DbClusterVersion interface{}
  • Type: interface{}

Property dbClusterVersion: Version, value: 19.15.2.2.


DbNodeCountRequired

DbNodeCount interface{}
  • Type: interface{}

Property dbNodeCount: The number of nodes.

If the cluster is of the Single-replica Edition, the value ranges from 1 to 48. If the cluster is of the Double-replica Edition, the value ranges from 1 to 24.


DbNodeStorageRequired

DbNodeStorage interface{}
  • Type: interface{}

Property dbNodeStorage: The storage capacity of a single node.

Valid values: 100 to 32000. Unit: GB. Note self value is a multiple of 100.


DbNodeStorageTypeRequired

DbNodeStorageType interface{}
  • Type: interface{}

Property dbNodeStorageType: Instance node storage type.

Valid values: cloud_essd, cloud_efficiency.


PaymentTypeRequired

PaymentType interface{}
  • Type: interface{}

Property paymentType: The billing method of the cluster.

Valid values: Postpaid: pay-as-you-go Prepaid: subscription


DbClusterDescriptionOptional

DbClusterDescription interface{}
  • Type: interface{}

Property dbClusterDescription: The description of the cluster.


EncryptionKeyOptional

EncryptionKey interface{}
  • Type: interface{}

Property encryptionKey: KMS key ID.


EncryptionTypeOptional

EncryptionType interface{}
  • Type: interface{}

Property encryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory. Specify the prepaid cluster as a yearly or monthly type. Valid values: Year, Month.


UsedTimeOptional

UsedTime interface{}
  • Type: interface{}

Property usedTime: The subscription duration.

Valid values: When Period is Month, it could be from 1 to 9, 12, 24, 36. When Period is Year, it could be from 1 to 3.


VpcIdOptional

VpcId interface{}
  • Type: interface{}

Property vpcId: VpcId.


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: VSwitchId.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: ZoneId.