public class AttachDisksRequest extends AbstractModel
| Constructor and Description | 
|---|
| AttachDisksRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getDeleteWithInstance()Get Optional parameter. | 
| String[] | getDiskIds()Get ID of the elastic cloud disk to be mounted, which can be queried through the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1). | 
| String | getInstanceId()Get ID of the CVM instance on which the cloud disk will be mounted. | 
| void | setDeleteWithInstance(Boolean DeleteWithInstance)Set Optional parameter. | 
| void | setDiskIds(String[] DiskIds)Set ID of the elastic cloud disk to be mounted, which can be queried through the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1). | 
| void | setInstanceId(String InstanceId)Set ID of the CVM instance on which the cloud disk will be mounted. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds - ID of the elastic cloud disk to be mounted, which can be queried through the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1). A maximum of 10 elastic cloud disks can be mounted in a single request.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of the CVM instance on which the cloud disk will be mounted. It can be queried via the API [DescribeInstances](https://intl.cloud.tencent.com/document/product/213/15728?from_cn_redirect=1).public Boolean getDeleteWithInstance()
public void setDeleteWithInstance(Boolean DeleteWithInstance)
DeleteWithInstance - Optional parameter. If this is not passed only the mount operation is executed. If `True` is passed, the cloud disk will be configured to be terminated when the server it is mounted to is terminated. This is only valid for pay-as-you-go cloud disks.Copyright © 2021. All rights reserved.