Skip to content

DiskCategoriesProps

Properties for defining a DiskCategories.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
&datasource.DiskCategoriesProps {
    Type: interface{},
    ZoneId: interface{},
    DataDiskCategory: interface{},
    InstanceType: interface{},
    RefreshOptions: interface{},
    SystemDiskCategory: interface{},
}

Properties

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

TypeRequired

Type interface{}
  • Type: interface{}

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

ZoneId interface{}
  • Type: interface{}

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


DataDiskCategoryOptional

DataDiskCategory interface{}
  • Type: interface{}

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

InstanceType interface{}
  • Type: interface{}

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

RefreshOptions interface{}
  • Type: interface{}

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

SystemDiskCategory interface{}
  • Type: interface{}

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