ZonesProps
Properties for defining a Zones
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rds-zones
Initializer
import com.aliyun.ros.cdk.rds.datasource.ZonesProps;
ZonesProps.builder()
.engine(java.lang.String)
.engine(IResolvable)
// .category(java.lang.String)
// .category(IResolvable)
// .commodityCode(java.lang.String)
// .commodityCode(IResolvable)
// .dispenseMode(java.lang.String)
// .dispenseMode(IResolvable)
// .engineVersion(java.lang.String)
// .engineVersion(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
engine |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property engine: The database engine that is run by the instance. |
category |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property category: The RDS edition of the instance. |
commodityCode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property commodityCode: The commodity code of the instance. |
dispenseMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported. |
engineVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property engineVersion: The version of the database engine that is run by the instance. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: The ID of the zone in which the instance is located. |
engine
Required
public java.lang.Object getEngine();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property engine: The database engine that is run by the instance.
category
Optional
public java.lang.Object getCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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
commodityCode
Optional
public java.lang.Object getCommodityCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property commodityCode: The commodity code of the instance.
dispenseMode
Optional
public java.lang.Object getDispenseMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
engineVersion
Optional
public java.lang.Object getEngineVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property engineVersion: The version of the database engine that is run by the instance.
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.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.
zoneId
Optional
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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)