DBNodeClassesProps
Properties for defining a DBNodeClasses
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardb-dbnodeclasses
Initializer
from ros_cdk_polardb import datasource
datasource.DBNodeClassesProps(
pay_type: typing.Union[str, IResolvable],
db_node_class: typing.Union[str, IResolvable] = None,
db_type: typing.Union[str, IResolvable] = None,
db_version: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None,
zone_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
pay_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property payType: The billing method. |
db_node_class |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbNodeClass: The node type. |
db_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbType: The database engine. |
db_version |
typing.Union[str, ros_cdk_core.IResolvable] |
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. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
zone_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property zoneId: The ID of the zone where PolarDB resources that you want to query reside. |
pay_type
Required
pay_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property payType: The billing method.
Valid values: Postpaid: the pay-as-you-go billing method Prepaid: the subscription billing method
db_node_class
Optional
db_node_class: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbNodeClass: The node type.
For more information, see Specifications of compute nodes.
db_type
Optional
db_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbType: The database engine.
Valid values: MySQL PostgreSQL Oracle
db_version
Optional
db_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
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.
refresh_options
Optional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
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.
zone_id
Optional
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
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.