Skip to content

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.

DbNodeClassRequired

DbNodeClass interface{}
  • Type: interface{}

Property dbNodeClass: The specification of the nodes in the instance you want to create.


DbNodeCountRequired

DbNodeCount interface{}
  • Type: interface{}

Property dbNodeCount: The number of nodes in the instance you want to create.


EngineVersionRequired

EngineVersion interface{}
  • Type: interface{}

Property engineVersion: The version of the database engine.


PrimaryZoneRequired

PrimaryZone interface{}
  • Type: interface{}

Property primaryZone: The primary zone.


TopologyTypeRequired

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.


VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC to which the instance belongs.


VSwitchIdRequired

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The ID of the vSwitch.


AutoRenewOptional

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.


DbInstanceDescriptionOptional

DbInstanceDescription interface{}
  • Type: interface{}

Property dbInstanceDescription: The description of the instance.


PayTypeOptional

PayType interface{}
  • Type: interface{}

Property payType: The billing method of the instance.

Default: POSTPAY.Valid values: PREPAY: subscription POSTPAY: pay-as-you-go


PeriodOptional

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.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of resource group.


SecondaryZoneOptional

SecondaryZone interface{}
  • Type: interface{}

Property secondaryZone: The secondary zone.


SecurityIpConfigOptional

SecurityIpConfig interface{}
  • Type: interface{}

Property securityIpConfig: Instance whitelist configuration.


TertiaryZoneOptional

TertiaryZone interface{}
  • Type: interface{}

Property tertiaryZone: The tertiary zone.


UsedTimeOptional

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.