DiskInstanceAttachmentProps
Properties for defining a DiskInstanceAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-diskinstanceattachment
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkens"
&alicloudroscdkens.DiskInstanceAttachmentProps {
DiskId: interface{},
InstanceId: interface{},
DeleteWithInstance: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DiskId |
interface{} |
Property diskId: The ID of the cloud disk to be mounted. |
InstanceId |
interface{} |
Property instanceId: Instance ID. |
DeleteWithInstance |
interface{} |
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. |
DiskIdRequired
DiskId interface{}
- Type: interface{}
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.
InstanceIdRequired
InstanceId interface{}
- Type: interface{}
Property instanceId: Instance ID.
DeleteWithInstanceOptional
DeleteWithInstance interface{}
- Type: interface{}
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.