DBInstanceProps
Properties for defining a DBInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardbx-dbinstance
Initializer
using AlibabaCloud.SDK.ROS.CDK.Polardbx;
new DBInstanceProps {
object DbNodeClass,
object DbNodeCount,
object EngineVersion,
object PrimaryZone,
object TopologyType,
object VpcId,
object VSwitchId,
object AutoRenew = null,
object DbInstanceDescription = null,
object PayType = null,
object Period = null,
object ResourceGroupId = null,
object SecondaryZone = null,
object SecurityIpConfig = null,
object TertiaryZone = null,
object UsedTime = null
};
Properties
Name | Type | Description |
---|---|---|
DbNodeClass |
object |
Property dbNodeClass: The specification of the nodes in the instance you want to create. |
DbNodeCount |
object |
Property dbNodeCount: The number of nodes in the instance you want to create. |
EngineVersion |
object |
Property engineVersion: The version of the database engine. |
PrimaryZone |
object |
Property primaryZone: The primary zone. |
TopologyType |
object |
Property topologyType: The topology type of the instance. |
VpcId |
object |
Property vpcId: The ID of the VPC to which the instance belongs. |
VSwitchId |
object |
Property vSwitchId: The ID of the vSwitch. |
AutoRenew |
object |
Property autoRenew: Specifies whether to enable auto-renewal for the instance. |
DbInstanceDescription |
object |
Property dbInstanceDescription: The description of the instance. |
PayType |
object |
Property payType: The billing method of the instance. |
Period |
object |
Property period: The unit of the billing cycle for the instance. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of resource group. |
SecondaryZone |
object |
Property secondaryZone: The secondary zone. |
SecurityIpConfig |
object |
Property securityIpConfig: Instance whitelist configuration. |
TertiaryZone |
object |
Property tertiaryZone: The tertiary zone. |
UsedTime |
object |
Property usedTime: The subscription period of the instance. |
DbNodeClass
Required
public object DbNodeClass { get; set; }
- Type: object
Property dbNodeClass: The specification of the nodes in the instance you want to create.
DbNodeCount
Required
public object DbNodeCount { get; set; }
- Type: object
Property dbNodeCount: The number of nodes in the instance you want to create.
EngineVersion
Required
public object EngineVersion { get; set; }
- Type: object
Property engineVersion: The version of the database engine.
PrimaryZone
Required
public object PrimaryZone { get; set; }
- Type: object
Property primaryZone: The primary zone.
TopologyType
Required
public object TopologyType { get; set; }
- Type: object
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
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the VPC to which the instance belongs.
VSwitchId
Required
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch.
AutoRenew
Optional
public object AutoRenew { get; set; }
- Type: object
Property autoRenew: Specifies whether to enable auto-renewal for the instance.
Default value: true. true: Enable auto-renewal. false: Disable auto-renewal.
DbInstanceDescription
Optional
public object DbInstanceDescription { get; set; }
- Type: object
Property dbInstanceDescription: The description of the instance.
PayType
Optional
public object PayType { get; set; }
- Type: object
Property payType: The billing method of the instance.
Default: POSTPAY.Valid values: PREPAY: subscription POSTPAY: pay-as-you-go
Period
Optional
public object Period { get; set; }
- Type: object
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
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of resource group.
SecondaryZone
Optional
public object SecondaryZone { get; set; }
- Type: object
Property secondaryZone: The secondary zone.
SecurityIpConfig
Optional
public object SecurityIpConfig { get; set; }
- Type: object
Property securityIpConfig: Instance whitelist configuration.
TertiaryZone
Optional
public object TertiaryZone { get; set; }
- Type: object
Property tertiaryZone: The tertiary zone.
UsedTime
Optional
public object UsedTime { get; set; }
- Type: object
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.