Skip to content

DiskCategoriesProps

Properties for defining a DiskCategories.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new DiskCategoriesProps {
    object Type,
    object ZoneId,
    object DataDiskCategory = null,
    object InstanceType = null,
    object RefreshOptions = null,
    object SystemDiskCategory = null
};

Properties

Name Type Description
Type object Property type: The resource type to query.
ZoneId object Property zoneId: The ID of the zone for which to query resources.
DataDiskCategory object Property dataDiskCategory: The category of the data disk.
InstanceType object Property instanceType: The instance type.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
SystemDiskCategory object Property systemDiskCategory: The category of the system disk.

TypeRequired

public object Type { get; set; }
  • Type: object

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 object ZoneId { get; set; }
  • Type: object

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


DataDiskCategoryOptional

public object DataDiskCategory { get; set; }
  • Type: object

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 object InstanceType { get; set; }
  • Type: object

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 object RefreshOptions { get; set; }
  • Type: object

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 object SystemDiskCategory { get; set; }
  • Type: object

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