public class InquiryPriceRenewDisksRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceRenewDisksRequest() |
Modifier and Type | Method and Description |
---|---|
DiskChargePrepaid[] |
getDiskChargePrepaids()
Get Relevant parameter settings for the prepaid mode (i.e., monthly subscription).
|
String[] |
getDiskIds()
Get ID of the cloud disk, which can be queried via the API [DescribeDisks](/document/product/362/16315).
|
String |
getNewDeadline()
Get Specify the new expiration time of the cloud disk, in such format as 2017-12-17 00:00:00.
|
Long |
getProjectId()
Get ID of project the cloud disk belongs to.
|
void |
setDiskChargePrepaids(DiskChargePrepaid[] DiskChargePrepaids)
Set Relevant parameter settings for the prepaid mode (i.e., monthly subscription).
|
void |
setDiskIds(String[] DiskIds)
Set ID of the cloud disk, which can be queried via the API [DescribeDisks](/document/product/362/16315).
|
void |
setNewDeadline(String NewDeadline)
Set Specify the new expiration time of the cloud disk, in such format as 2017-12-17 00:00:00.
|
void |
setProjectId(Long ProjectId)
Set ID of project the cloud disk belongs to.
|
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, which can be queried via the API [DescribeDisks](/document/product/362/16315).public DiskChargePrepaid[] getDiskChargePrepaids()
public void setDiskChargePrepaids(DiskChargePrepaid[] DiskChargePrepaids)
DiskChargePrepaids
- Relevant parameter settings for the prepaid mode (i.e., monthly subscription). The monthly subscription cloud disk purchase usage period can be specified using this parameter. If this parameter is specified as CurInstanceDeadline, then it will be renewed according to the aligned CVM expiration time. If it is a batch renewal price query, then this parameter will correspond to the Disks parameter, and the element quantity needs to be kept the same.public String getNewDeadline()
public void setNewDeadline(String NewDeadline)
NewDeadline
- Specify the new expiration time of the cloud disk, in such format as 2017-12-17 00:00:00. The parameters `NewDeadline` and `DiskChargePrepaids` are two options to specify the inquiry length, and you must specify at least one.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- ID of project the cloud disk belongs to. If selected, it can only be used for authentication.Copyright © 2020. All rights reserved.