DiskCategoriesProps
Properties for defining a DiskCategories
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-diskcategories
Initializer
from ros_cdk_ecs import datasource
datasource.DiskCategoriesProps(
type: typing.Union[str, IResolvable],
zone_id: typing.Union[str, IResolvable],
data_disk_category: typing.Union[str, IResolvable] = None,
instance_type: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None,
system_disk_category: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property type: The resource type to query. |
zone_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property zoneId: The ID of the zone for which to query resources. |
data_disk_category |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dataDiskCategory: The category of the data disk. |
instance_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceType: The instance type. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
system_disk_category |
typing.Union[str, ros_cdk_core.IResolvable] |
Property systemDiskCategory: The category of the system disk. |
type
Required
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
zone_id
Required
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property zoneId: The ID of the zone for which to query resources.
data_disk_category
Optional
data_disk_category: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
instance_type
Optional
instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
refresh_options
Optional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
system_disk_category
Optional
system_disk_category: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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