DiskInstanceAttachmentProps
Properties for defining a DiskInstanceAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-diskinstanceattachment
Initializer
import ros_cdk_ens
ros_cdk_ens.DiskInstanceAttachmentProps(
disk_id: typing.Union[str, IResolvable],
instance_id: typing.Union[str, IResolvable],
delete_with_instance: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
disk_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property diskId: The ID of the cloud disk to be mounted. |
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: Instance ID. |
delete_with_instance |
typing.Union[str, ros_cdk_core.IResolvable] |
Property deleteWithInstance: Whether the cloud disk to be mounted is released with the instance Value: true: When the instance is released, the cloud disk is released together with the instance. |
disk_id
Required
disk_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property diskId: The ID of the cloud disk to be mounted.
The Cloud Disk (DiskId) and the instance (InstanceId) must be on the same node.
instance_id
Required
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: Instance ID.
delete_with_instance
Optional
delete_with_instance: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property deleteWithInstance: Whether the cloud disk to be mounted is released with the instance Value: true: When the instance is released, the cloud disk is released together with the instance.
false: When the instance is released, the cloud disk is retained and is not released together with the instance. Empty means false by default.