DBNodeClassesProps
Properties for defining a DBNodeClasses
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardb-dbnodeclasses
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardb/datasource"
&datasource.DBNodeClassesProps {
PayType: interface{},
DbNodeClass: interface{},
DbType: interface{},
DbVersion: interface{},
RefreshOptions: interface{},
ZoneId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
PayType |
interface{} |
Property payType: The billing method. |
DbNodeClass |
interface{} |
Property dbNodeClass: The node type. |
DbType |
interface{} |
Property dbType: The database engine. |
DbVersion |
interface{} |
Property dbVersion: The version number of the database engine Valid values for the MySQL database engine: 5.6 5.7 8 Valid value for the PostgreSQL database engine: 11 Valid value for the Oracle database engine: 11 Note If you specify the DBType parameter, you must specify this parameter. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ZoneId |
interface{} |
Property zoneId: The ID of the zone where PolarDB resources that you want to query reside. |
PayType
Required
PayType interface{}
- Type: interface{}
Property payType: The billing method.
Valid values: Postpaid: the pay-as-you-go billing method Prepaid: the subscription billing method
DbNodeClass
Optional
DbNodeClass interface{}
- Type: interface{}
Property dbNodeClass: The node type.
For more information, see Specifications of compute nodes.
DbType
Optional
DbType interface{}
- Type: interface{}
Property dbType: The database engine.
Valid values: MySQL PostgreSQL Oracle
DbVersion
Optional
DbVersion interface{}
- Type: interface{}
Property dbVersion: The version number of the database engine Valid values for the MySQL database engine: 5.6 5.7 8 Valid value for the PostgreSQL database engine: 11 Valid value for the Oracle database engine: 11 Note If you specify the DBType parameter, you must specify this parameter.
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: The ID of the zone where PolarDB resources that you want to query reside.
Note You can call the DescribeRegions operation to query information about zones.