DBClusterProps
Properties for defining a DBCluster.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adb-dbcluster
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkadb"
&alicloudroscdkadb.DBClusterProps {
DbClusterCategory: interface{},
DbClusterVersion: interface{},
Mode: interface{},
PayType: interface{},
VpcId: interface{},
VSwitchId: interface{},
ComputeResource: interface{},
DbClusterClass: interface{},
DbClusterDescription: interface{},
DbNodeGroupCount: interface{},
DbNodeStorage: interface{},
ElasticIoResource: interface{},
ExecutorCount: interface{},
Period: interface{},
PeriodType: interface{},
ResourceGroupId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkadb.RosDBCluster.TagsProperty,
ZoneId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DbClusterCategory |
interface{} |
Property dbClusterCategory: The edition of the cluster. |
DbClusterVersion |
interface{} |
Property dbClusterVersion: The version of the cluster. |
Mode |
interface{} |
Property mode: The mode of the cluster. |
PayType |
interface{} |
Property payType: The billing method of the cluster. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC. |
VSwitchId |
interface{} |
Property vSwitchId: The ID of the vSwitch. |
ComputeResource |
interface{} |
Property computeResource: The computing resource of the cluster. |
DbClusterClass |
interface{} |
Property dbClusterClass: The specification of the cluster. |
DbClusterDescription |
interface{} |
Property dbClusterDescription: The description of the cluster. |
DbNodeGroupCount |
interface{} |
Property dbNodeGroupCount: The number of node groups. |
DbNodeStorage |
interface{} |
Property dbNodeStorage: The storage space of the node. |
ElasticIoResource |
interface{} |
Property elasticIoResource: Elastic IO Unit Note the flexible mode cluster will use this parameter. |
ExecutorCount |
interface{} |
Property executorCount: ExecutorCount. |
Period |
interface{} |
Property period: Valid values when the Period parameter is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, and 9. |
PeriodType |
interface{} |
Property periodType: The subscription period for the cluster. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
ZoneId |
interface{} |
Property zoneId: The zone ID of the cluster. |
DbClusterCategoryRequired
DbClusterCategory interface{}
- Type: interface{}
Property dbClusterCategory: The edition of the cluster.
Valid values when the cluster is in reserved mode: Basic Cluster When the cluster is in elastic mode, set the value to MixedStorage.
DbClusterVersionRequired
DbClusterVersion interface{}
- Type: interface{}
Property dbClusterVersion: The version of the cluster.
Set the value to 3.0.
ModeRequired
Mode interface{}
- Type: interface{}
Property mode: The mode of the cluster.
Valid values: Reserver: the reserved mode Flexible: the elastic mode
PayTypeRequired
PayType interface{}
- Type: interface{}
Property payType: The billing method of the cluster.
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC.
VSwitchIdRequired
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The ID of the vSwitch.
ComputeResourceOptional
ComputeResource interface{}
- Type: interface{}
Property computeResource: The computing resource of the cluster.
This parameter is required in elastic mode.
DbClusterClassOptional
DbClusterClass interface{}
- Type: interface{}
Property dbClusterClass: The specification of the cluster.
This parameter is required in reserved mode. Valid values: Basic Edition: T8, T16, T32, and T52 Cluster Edition: C8 and C32
DbClusterDescriptionOptional
DbClusterDescription interface{}
- Type: interface{}
Property dbClusterDescription: The description of the cluster.
DbNodeGroupCountOptional
DbNodeGroupCount interface{}
- Type: interface{}
Property dbNodeGroupCount: The number of node groups.
This parameter is required in reserved mode. Valid values: T8, T16, T32, and T52: 1 C8 and C32: 1 to 128
DbNodeStorageOptional
DbNodeStorage interface{}
- Type: interface{}
Property dbNodeStorage: The storage space of the node.
This parameter is required in reserved mode. Unit: GB. Valid values: T8: 100 to 500 T16 and T32: 100 to 2000 T52: 100 to 4000 C8: 100 to 1000 C32: 100 to 8000 Note The storage space less than 1,000 GB increases in increments of 100 GB. The storage space greater than 1,000 GB increases in increments of 1,000 GB.
ElasticIoResourceOptional
ElasticIoResource interface{}
- Type: interface{}
Property elasticIoResource: Elastic IO Unit Note the flexible mode cluster will use this parameter.
ExecutorCountOptional
ExecutorCount interface{}
- Type: interface{}
Property executorCount: ExecutorCount.
PeriodOptional
Period interface{}
- Type: interface{}
Property period: Valid values when the Period parameter is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
Valid values when the Period parameter is set to Year: 1, 2, and 3.
PeriodTypeOptional
PeriodType interface{}
- Type: interface{}
Property periodType: The subscription period for the cluster.
This parameter is required if the PayType parameter is set to Prepaid. Valid values: Year: subscription on a yearly basis Month: subscription on a monthly basis
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
ZoneIdOptional
ZoneId interface{}
- Type: interface{}
Property zoneId: The zone ID of the cluster.
You can call the DescribeRegions operation to query the most recent zone list.