public class DescribeDisksRequest extends AbstractModel
Constructor and Description |
---|
DescribeDisksRequest() |
DescribeDisksRequest(DescribeDisksRequest 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 Query by one or more cloud disk IDs, such as `disk-11112222`.
|
Filter[] |
getFilters()
Get Filters.
|
Long |
getLimit()
Get Number of results to be returned.
|
Long |
getOffset()
Get Offset.
|
String |
getOrder()
Get Outputs the ordering of the cloud disk list.
|
String |
getOrderField()
Get The field by which the cloud disk list is sorted.
|
Boolean |
getReturnBindAutoSnapshotPolicy()
Get Whether the ID of the periodic snapshot policy bound to the cloud disk needs to be returned in the cloud disk details.
|
void |
setDiskIds(String[] DiskIds)
Set Query by one or more cloud disk IDs, such as `disk-11112222`.
|
void |
setFilters(Filter[] Filters)
Set Filters.
|
void |
setLimit(Long Limit)
Set Number of results to be returned.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setOrder(String Order)
Set Outputs the ordering of the cloud disk list.
|
void |
setOrderField(String OrderField)
Set The field by which the cloud disk list is sorted.
|
void |
setReturnBindAutoSnapshotPolicy(Boolean ReturnBindAutoSnapshotPolicy)
Set Whether the ID of the periodic snapshot policy bound to the cloud disk needs to be returned in the cloud disk details.
|
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 DescribeDisksRequest()
public DescribeDisksRequest(DescribeDisksRequest source)
public String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds
- Query by one or more cloud disk IDs, such as `disk-11112222`. For the format of this parameter, please see the ids.N section of the API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1). This parameter does not support specifying both `DiskIds` and `Filters`.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filters. You cannot specify `DiskIds` and `Filters` at the same time. public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default is 0. For more information on `Offset`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results to be returned. Default is 20. Maximum is 100. For more information on `Limit`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).public String getOrder()
public void setOrder(String Order)
Order
- Outputs the ordering of the cloud disk list. Value range: public String getOrderField()
public void setOrderField(String OrderField)
OrderField
- The field by which the cloud disk list is sorted. Value range: public Boolean getReturnBindAutoSnapshotPolicy()
public void setReturnBindAutoSnapshotPolicy(Boolean ReturnBindAutoSnapshotPolicy)
ReturnBindAutoSnapshotPolicy
- Whether the ID of the periodic snapshot policy bound to the cloud disk needs to be returned in the cloud disk details. TRUE: return; FALSE: do not return.Copyright © 2023. All rights reserved.