Skip to content

ZonesProps

Properties for defining a Zones.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rds-zones

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds/datasource"
&datasource.ZonesProps {
    Engine: interface{},
    Category: interface{},
    CommodityCode: interface{},
    DispenseMode: interface{},
    EngineVersion: interface{},
    RefreshOptions: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
Engine interface{} Property engine: The database engine that is run by the instance.
Category interface{} Property category: The RDS edition of the instance.
CommodityCode interface{} Property commodityCode: The commodity code of the instance.
DispenseMode interface{} Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported.
EngineVersion interface{} Property engineVersion: The version of the database engine that is run by the instance.
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 in which the instance is located.

EngineRequired

Engine interface{}
  • Type: interface{}

Property engine: The database engine that is run by the instance.


CategoryOptional

Category interface{}
  • Type: interface{}

Property category: The RDS edition of the instance.

Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition AlwaysOn: RDS Cluster Edition Finance: RDS Enterprise Edition


CommodityCodeOptional

CommodityCode interface{}
  • Type: interface{}

Property commodityCode: The commodity code of the instance.


DispenseModeOptional

DispenseMode interface{}
  • Type: interface{}

Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported.

Valid values: 1: returns the zones. 0: does not return the zones. Default value: 0.


EngineVersionOptional

EngineVersion interface{}
  • Type: interface{}

Property engineVersion: The version of the database engine that is run by the instance.


RefreshOptionsOptional

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.

ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: The ID of the zone in which the instance is located.

If the instance spans more than one zone, the value of this parameter contains an MAZ part,such as cn-hangzhou-MAZ6(b,f) and cn-hangzhou-MAZ5(b,e,f)