Skip to content

DBNodeClassesProps

Properties for defining a DBNodeClasses.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardb-dbnodeclasses

Initializer

import { datasource } from '@alicloud/ros-cdk-polardb'
const dBNodeClassesProps: datasource.DBNodeClassesProps = { ... }

Properties

Name Type Description
payType string | @alicloud/ros-cdk-core.IResolvable Property payType: The billing method.
dbNodeClass string | @alicloud/ros-cdk-core.IResolvable Property dbNodeClass: The node type.
dbType string | @alicloud/ros-cdk-core.IResolvable Property dbType: The database engine.
dbVersion string | @alicloud/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.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: The ID of the zone where PolarDB resources that you want to query reside.

payTypeRequired

public readonly payType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property payType: The billing method.

Valid values: Postpaid: the pay-as-you-go billing method Prepaid: the subscription billing method


dbNodeClassOptional

public readonly dbNodeClass: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbNodeClass: The node type.

For more information, see Specifications of compute nodes.


dbTypeOptional

public readonly dbType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbType: The database engine.

Valid values: MySQL PostgreSQL Oracle


dbVersionOptional

public readonly dbVersion: string | IResolvable;
  • Type: string | @alicloud/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.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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.


zoneIdOptional

public readonly zoneId: string | IResolvable;
  • Type: string | @alicloud/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.