Skip to content

DBNodeClassesProps

Properties for defining a DBNodeClasses.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Polardb;
new DBNodeClassesProps {
    object PayType,
    object DbNodeClass = null,
    object DbType = null,
    object DbVersion = null,
    object RefreshOptions = null,
    object ZoneId = null
};

Properties

Name Type Description
PayType object Property payType: The billing method.
DbNodeClass object Property dbNodeClass: The node type.
DbType object Property dbType: The database engine.
DbVersion object 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 object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ZoneId object Property zoneId: The ID of the zone where PolarDB resources that you want to query reside.

PayTypeRequired

public object PayType { get; set; }
  • Type: object

Property payType: The billing method.

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


DbNodeClassOptional

public object DbNodeClass { get; set; }
  • Type: object

Property dbNodeClass: The node type.

For more information, see Specifications of compute nodes.


DbTypeOptional

public object DbType { get; set; }
  • Type: object

Property dbType: The database engine.

Valid values: MySQL PostgreSQL Oracle


DbVersionOptional

public object DbVersion { get; set; }
  • Type: object

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 object RefreshOptions { get; set; }
  • Type: object

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 object ZoneId { get; set; }
  • Type: object

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.