DBInstanceProps
Properties for defining a DBInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardbx-dbinstance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardbx"
&alicloudroscdkpolardbx.DBInstanceProps {
DbNodeClass: interface{},
DbNodeCount: interface{},
EngineVersion: interface{},
PrimaryZone: interface{},
TopologyType: interface{},
VpcId: interface{},
VSwitchId: interface{},
AutoRenew: interface{},
DbInstanceDescription: interface{},
PayType: interface{},
Period: interface{},
ResourceGroupId: interface{},
SecondaryZone: interface{},
SecurityIpConfig: interface{},
TertiaryZone: interface{},
UsedTime: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DbNodeClass |
interface{} |
Property dbNodeClass: The specification of the nodes in the instance you want to create. |
DbNodeCount |
interface{} |
Property dbNodeCount: The number of nodes in the instance you want to create. |
EngineVersion |
interface{} |
Property engineVersion: The version of the database engine. |
PrimaryZone |
interface{} |
Property primaryZone: The primary zone. |
TopologyType |
interface{} |
Property topologyType: The topology type of the instance. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC to which the instance belongs. |
VSwitchId |
interface{} |
Property vSwitchId: The ID of the vSwitch. |
AutoRenew |
interface{} |
Property autoRenew: Specifies whether to enable auto-renewal for the instance. |
DbInstanceDescription |
interface{} |
Property dbInstanceDescription: The description of the instance. |
PayType |
interface{} |
Property payType: The billing method of the instance. |
Period |
interface{} |
Property period: The unit of the billing cycle for the instance. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of resource group. |
SecondaryZone |
interface{} |
Property secondaryZone: The secondary zone. |
SecurityIpConfig |
interface{} |
Property securityIpConfig: Instance whitelist configuration. |
TertiaryZone |
interface{} |
Property tertiaryZone: The tertiary zone. |
UsedTime |
interface{} |
Property usedTime: The subscription period of the instance. |
DbNodeClass
Required
DbNodeClass interface{}
- Type: interface{}
Property dbNodeClass: The specification of the nodes in the instance you want to create.
DbNodeCount
Required
DbNodeCount interface{}
- Type: interface{}
Property dbNodeCount: The number of nodes in the instance you want to create.
EngineVersion
Required
EngineVersion interface{}
- Type: interface{}
Property engineVersion: The version of the database engine.
PrimaryZone
Required
PrimaryZone interface{}
- Type: interface{}
Property primaryZone: The primary zone.
TopologyType
Required
TopologyType interface{}
- Type: interface{}
Property topologyType: The topology type of the instance.
Valid values: 3azones: The instance is deployed in three zones. 1azone: The instance is deployed in only one zone.
VpcId
Required
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC to which the instance belongs.
VSwitchId
Required
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The ID of the vSwitch.
AutoRenew
Optional
AutoRenew interface{}
- Type: interface{}
Property autoRenew: Specifies whether to enable auto-renewal for the instance.
Default value: true. true: Enable auto-renewal. false: Disable auto-renewal.
DbInstanceDescription
Optional
DbInstanceDescription interface{}
- Type: interface{}
Property dbInstanceDescription: The description of the instance.
PayType
Optional
PayType interface{}
- Type: interface{}
Property payType: The billing method of the instance.
Default: POSTPAY.Valid values: PREPAY: subscription POSTPAY: pay-as-you-go
Period
Optional
Period interface{}
- Type: interface{}
Property period: The unit of the billing cycle for the instance.
The valid values vary based on the billing method. If you use the subscription billing method, set the value to Year or Month. If you use the pay-as-you-go billing method, the value is automatically set to Hour.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of resource group.
SecondaryZone
Optional
SecondaryZone interface{}
- Type: interface{}
Property secondaryZone: The secondary zone.
SecurityIpConfig
Optional
SecurityIpConfig interface{}
- Type: interface{}
Property securityIpConfig: Instance whitelist configuration.
TertiaryZone
Optional
TertiaryZone interface{}
- Type: interface{}
Property tertiaryZone: The tertiary zone.
UsedTime
Optional
UsedTime interface{}
- Type: interface{}
Property usedTime: The subscription period of the instance.
Unit: month or year. Note When period is set to year, the supported values of this parameter are 1, 2 and 3.