public class DetachDisksRequest extends AbstractModel
Constructor and Description |
---|
DetachDisksRequest() |
DetachDisksRequest(DetachDisksRequest 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[] |
getDiskIds()
Get IDs of the cloud disks to be unmounted, which can be queried via the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API.
|
String |
getInstanceId()
Get Indicates the CVM from which you want to unmount the disks.
|
void |
setDiskIds(String[] DiskIds)
Set IDs of the cloud disks to be unmounted, which can be queried via the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API.
|
void |
setInstanceId(String InstanceId)
Set Indicates the CVM from which you want to unmount the disks.
|
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, toJsonString
public DetachDisksRequest()
public DetachDisksRequest(DetachDisksRequest source)
public String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds
- IDs of the cloud disks to be unmounted, which can be queried via the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API. Up to 10 elastic cloud disks can be unmounted in a single request.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Indicates the CVM from which you want to unmount the disks. This parameter is only available for shared cloud disks.Copyright © 2023. All rights reserved.