public class AttachDisksRequest extends AbstractModel
| Constructor and Description | 
|---|
| AttachDisksRequest() | 
| AttachDisksRequest(AttachDisksRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAttachMode()Get (Optional) Specifies the cloud disk mounting method. | 
| 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 | setAttachMode(String AttachMode)Set (Optional) Specifies the cloud disk mounting method. | 
| 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 AttachDisksRequest()
public AttachDisksRequest(AttachDisksRequest source)
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 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 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.public String getAttachMode()
public void setAttachMode(String AttachMode)
AttachMode - (Optional) Specifies the cloud disk mounting method. It’s only valid for BM models. Valid values: Copyright © 2021. All rights reserved.