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. |
DbNodeClassRequired
public object DbNodeClass { get; set; }
- Type: object
Property dbNodeClass: The specification of the nodes in the instance you want to create.
DbNodeCountRequired
public object DbNodeCount { get; set; }
- Type: object
Property dbNodeCount: The number of nodes in the instance you want to create.
EngineVersionRequired
public object EngineVersion { get; set; }
- Type: object
Property engineVersion: The version of the database engine.
PrimaryZoneRequired
public object PrimaryZone { get; set; }
- Type: object
Property primaryZone: The primary zone.
TopologyTypeRequired
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.
VpcIdRequired
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the VPC to which the instance belongs.
VSwitchIdRequired
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch.
AutoRenewOptional
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.
DbInstanceDescriptionOptional
public object DbInstanceDescription { get; set; }
- Type: object
Property dbInstanceDescription: The description of the instance.
PayTypeOptional
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
PeriodOptional
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.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of resource group.
SecondaryZoneOptional
public object SecondaryZone { get; set; }
- Type: object
Property secondaryZone: The secondary zone.
SecurityIpConfigOptional
public object SecurityIpConfig { get; set; }
- Type: object
Property securityIpConfig: Instance whitelist configuration.
TertiaryZoneOptional
public object TertiaryZone { get; set; }
- Type: object
Property tertiaryZone: The tertiary zone.
UsedTimeOptional
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.