Skip to content

RosDiskAttachmentProps

Properties for defining a RosDiskAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment

Initializer

import com.aliyun.ros.cdk.ecs.RosDiskAttachmentProps;
RosDiskAttachmentProps.builder()
    .diskId(java.lang.String)
    .diskId(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
//  .deleteAutoSnapshot(java.lang.Boolean)
//  .deleteAutoSnapshot(IResolvable)
//  .deleteWithInstance(java.lang.Boolean)
//  .deleteWithInstance(IResolvable)
//  .device(java.lang.String)
//  .device(IResolvable)
    .build();

Properties

Name Type Description
diskId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
deleteAutoSnapshot java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
deleteWithInstance java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
device java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

diskIdRequired

public java.lang.Object getDiskId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

deleteAutoSnapshotOptional

public java.lang.Object getDeleteAutoSnapshot();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

deleteWithInstanceOptional

public java.lang.Object getDeleteWithInstance();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

deviceOptional

public java.lang.Object getDevice();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable