Skip to content

DiskCategoriesProps

Properties for defining a DiskCategories.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-diskcategories

Initializer

import com.aliyun.ros.cdk.ecs.datasource.DiskCategoriesProps;
DiskCategoriesProps.builder()
    .type(java.lang.String)
    .type(IResolvable)
    .zoneId(java.lang.String)
    .zoneId(IResolvable)
//  .dataDiskCategory(java.lang.String)
//  .dataDiskCategory(IResolvable)
//  .instanceType(java.lang.String)
//  .instanceType(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .systemDiskCategory(java.lang.String)
//  .systemDiskCategory(IResolvable)
    .build();

Properties

Name Type Description
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: The resource type to query.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: The ID of the zone for which to query resources.
dataDiskCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataDiskCategory: The category of the data disk.
instanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceType: The instance type.
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.
systemDiskCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property systemDiskCategory: The category of the system disk.

typeRequired

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property type: The resource type to query.

If you set Type to data,you can specify the InstanceType parameter to disk. If you set Type to system, you must specify the InstanceType parameter. Valid values: system: system disk data: data disk


zoneIdRequired

public java.lang.Object getZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: The ID of the zone for which to query resources.


dataDiskCategoryOptional

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: ESSD


instanceTypeOptional

public java.lang.Object getInstanceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceType: The instance type.

For more information,see Instance families or call the DescribeInstanceTypes,operation to query the most recent instance type list. When the Type parameter is set to system or data,you must set the InstanceType parameter.


refreshOptionsOptional

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.

systemDiskCategoryOptional

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: ESSD