DBInstanceProps
Properties for defining a DBInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardbx-dbinstance
Initializer
import { DBInstanceProps } from '@alicloud/ros-cdk-polardbx'
const dBInstanceProps: DBInstanceProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
dbNodeClass | string | @alicloud/ros-cdk-core.IResolvable | Property dbNodeClass: Node specifications: - polarx.x4.medium.2e: 2 vCPUs, 8 GB - polarx.x4.large.2e: 4 vCPUs, 16 GB - polarx.x8.large.2e: 4 vCPUs, 32 GB - polarx.x4.xlarge.2e: 8 vCPUs, 32 GB - polarx.x8.xlarge.2e: 8 vCPUs, 64 GB - polarx.x4.2xlarge.2e: 16 vCPUs, 64 GB - polarx.x8.2xlarge.2e: 16 vCPUs, 128 GB - polarx.x4.4xlarge.2e: 32 vCPUs, 128 GB - polarx.x8.4xlarge.2e: 32 vCPUs, 256 GB - polarx.st.8xlarge.2e: 60 vCPUs, 470 GB - polarx.st.12xlarge.2e: 90 vCPUs, 720 GB. |
dbNodeCount | number | @alicloud/ros-cdk-core.IResolvable | Property dbNodeCount: Number of instance nodes. |
engineVersion | string | @alicloud/ros-cdk-core.IResolvable | Property engineVersion: MySQL engine version, either 5.7 or 8.0. |
primaryZone | string | @alicloud/ros-cdk-core.IResolvable | Property primaryZone: The primary zone. |
topologyType | string | @alicloud/ros-cdk-core.IResolvable | Property topologyType: The topology type of the instance. |
vpcId | string | @alicloud/ros-cdk-core.IResolvable | Property vpcId: The ID of the VPC to which the instance belongs. |
vSwitchId | string | @alicloud/ros-cdk-core.IResolvable | Property vSwitchId: The ID of the vSwitch. |
autoRenew | boolean | @alicloud/ros-cdk-core.IResolvable | Property autoRenew: Specifies whether to enable auto-renewal for the instance. |
dbInstanceDescription | string | @alicloud/ros-cdk-core.IResolvable | Property dbInstanceDescription: The description of the instance. |
payType | string | @alicloud/ros-cdk-core.IResolvable | Property payType: The billing method of the instance. |
period | string | @alicloud/ros-cdk-core.IResolvable | Property period: The unit of the billing cycle for the instance. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: Can be empty. |
secondaryZone | string | @alicloud/ros-cdk-core.IResolvable | Property secondaryZone: The secondary zone. |
securityIpConfig | @alicloud/ros-cdk-core.IResolvable | SecurityIpConfigProperty | Property securityIpConfig: Instance whitelist configuration. |
tertiaryZone | string | @alicloud/ros-cdk-core.IResolvable | Property tertiaryZone: The tertiary zone. |
usedTime | number | @alicloud/ros-cdk-core.IResolvable | Property usedTime: The subscription period of the instance. |
dbNodeClassRequired
public readonly dbNodeClass: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbNodeClass: Node specifications: - polarx.x4.medium.2e: 2 vCPUs, 8 GB - polarx.x4.large.2e: 4 vCPUs, 16 GB - polarx.x8.large.2e: 4 vCPUs, 32 GB - polarx.x4.xlarge.2e: 8 vCPUs, 32 GB - polarx.x8.xlarge.2e: 8 vCPUs, 64 GB - polarx.x4.2xlarge.2e: 16 vCPUs, 64 GB - polarx.x8.2xlarge.2e: 16 vCPUs, 128 GB - polarx.x4.4xlarge.2e: 32 vCPUs, 128 GB - polarx.x8.4xlarge.2e: 32 vCPUs, 256 GB - polarx.st.8xlarge.2e: 60 vCPUs, 470 GB - polarx.st.12xlarge.2e: 90 vCPUs, 720 GB.
dbNodeCountRequired
public readonly dbNodeCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property dbNodeCount: Number of instance nodes.
Minimum value is 2.
engineVersionRequired
public readonly engineVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property engineVersion: MySQL engine version, either 5.7 or 8.0.
primaryZoneRequired
public readonly primaryZone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property primaryZone: The primary zone.
topologyTypeRequired
public readonly topologyType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the VPC to which the instance belongs.
vSwitchIdRequired
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: The ID of the vSwitch.
autoRenewOptional
public readonly autoRenew: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property autoRenew: Specifies whether to enable auto-renewal for the instance.
Default value: true. true: Enable auto-renewal. false: Disable auto-renewal.
dbInstanceDescriptionOptional
public readonly dbInstanceDescription: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceDescription: The description of the instance.
payTypeOptional
public readonly payType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property payType: The billing method of the instance.
Default: POSTPAY.Valid values: PREPAY: subscription POSTPAY: pay-as-you-go
periodOptional
public readonly period: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Can be empty.
Resource group ID. Not supported for now.
secondaryZoneOptional
public readonly secondaryZone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property secondaryZone: The secondary zone.
securityIpConfigOptional
public readonly securityIpConfig: IResolvable | SecurityIpConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | SecurityIpConfigProperty
Property securityIpConfig: Instance whitelist configuration.
tertiaryZoneOptional
public readonly tertiaryZone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property tertiaryZone: The tertiary zone.
usedTimeOptional
public readonly usedTime: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
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.