ZonesProps
Properties for defining a Zones
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-zones
Initializer
import com.aliyun.ros.cdk.ecs.datasource.ZonesProps;
ZonesProps.builder()
// .dataDiskCategory(java.lang.String)
// .dataDiskCategory(IResolvable)
// .instanceChargeType(java.lang.String)
// .instanceChargeType(IResolvable)
// .instanceType(java.lang.String)
// .instanceType(IResolvable)
// .ioOptimized(java.lang.String)
// .ioOptimized(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .resourceType(java.lang.String)
// .resourceType(IResolvable)
// .systemDiskCategory(java.lang.String)
// .systemDiskCategory(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
dataDiskCategory |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dataDiskCategory: The category of the data disk. |
instanceChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceChargeType: The billing method of the resource. |
instanceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceType: The instance type. |
ioOptimized |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ioOptimized: Specifies whether the instance is I\/O optimized. |
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. |
resourceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceType: The type of the resource. |
systemDiskCategory |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskCategory: The category of the system disk. |
dataDiskCategory
Optional
public java.lang.Object getDataDiskCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataDiskCategory: The category of the data disk.
Valid values: cloud: basic disk cloud_efficiency: ultra disk cloud_ssd: standard SSD ephemeral_ssd: local SSD cloud_essd: enhanced SSD (ESSD)
instanceChargeType
Optional
public java.lang.Object getInstanceChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceChargeType: The billing method of the resource.
For more information, see Billing overview. Valid values: PrePaid: subscription PostPaid: pay-as-you-go Default value: PostPaid.
instanceType
Optional
public java.lang.Object getInstanceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceType: The instance type.
ioOptimized
Optional
public java.lang.Object getIoOptimized();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ioOptimized: Specifies whether the instance is I\/O optimized.
Valid values: none: non-I/O optimized optimized: I/O optimized Default value: optimized.
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.
resourceType
Optional
public java.lang.Object getResourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceType: The type of the resource.
Valid values: instance: ECS instance disk: cloud disk reservedinstance: reserved instance ddh: dedicated host
systemDiskCategory
Optional
public java.lang.Object getSystemDiskCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskCategory: The category of the system disk.
Valid values: cloud: basic disk cloud_efficiency: ultra disk cloud_ssd: standard SSD ephemeral_ssd: local SSD cloud_essd: enhanced SSD (ESSD)