Skip to content

DiskCategoriesProps

Properties for defining a DiskCategories.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-ecs'
const diskCategoriesProps: datasource.DiskCategoriesProps = { ... }

Properties

Name Type Description
type string | @alicloud/ros-cdk-core.IResolvable Property type: The resource type to query.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: The ID of the zone for which to query resources.
dataDiskCategory string | @alicloud/ros-cdk-core.IResolvable Property dataDiskCategory: The category of the data disk.
instanceType string | @alicloud/ros-cdk-core.IResolvable Property instanceType: The instance type.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
systemDiskCategory string | @alicloud/ros-cdk-core.IResolvable Property systemDiskCategory: The category of the system disk.

typeRequired

public readonly type: string | IResolvable;
  • Type: string | @alicloud/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 readonly zoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


dataDiskCategoryOptional

public readonly dataDiskCategory: string | IResolvable;
  • Type: string | @alicloud/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 readonly instanceType: string | IResolvable;
  • Type: string | @alicloud/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 readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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 readonly systemDiskCategory: string | IResolvable;
  • Type: string | @alicloud/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