public class DetachDisksRequest extends AbstractModel
Constructor and Description |
---|
DetachDisksRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getDiskIds()
Get ID of the cloud disk to be unmounted, which can be queried through the API [DescribeDisks](/document/product/362/16315).
|
String |
getInstanceId()
Get For a cloud disk that is not shared, this parameter is ignored.
|
void |
setDiskIds(String[] DiskIds)
Set ID of the cloud disk to be unmounted, which can be queried through the API [DescribeDisks](/document/product/362/16315).
|
void |
setInstanceId(String InstanceId)
Set For a cloud disk that is not shared, this parameter is ignored.
|
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 String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds
- ID of the cloud disk to be unmounted, which can be queried through the API [DescribeDisks](/document/product/362/16315). A maximum of 10 elastic cloud disks can be unmounted in a single request.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- For a cloud disk that is not shared, this parameter is ignored. For a shared cloud disk, this parameter indicates which CVM instance the cloud disk is to be unmounted from.Copyright © 2020. All rights reserved.