public class InquirePriceRenewInstancesRequest extends AbstractModel
Constructor and Description |
---|
InquirePriceRenewInstancesRequest() |
InquirePriceRenewInstancesRequest(InquirePriceRenewInstancesRequest 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 |
---|---|
Boolean |
getAlignInstanceExpiredTime()
Get Whether to align the data disk expiration with the instance expiration time.
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get Parameter setting for prepaid mode.
|
String[] |
getInstanceIds()
Get IDs of the instances to be renewed.
|
Boolean |
getRenewDataDisk()
Get Whether to renew the data disk.
|
void |
setAlignInstanceExpiredTime(Boolean AlignInstanceExpiredTime)
Set Whether to align the data disk expiration with the instance expiration time.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Parameter setting for prepaid mode.
|
void |
setInstanceIds(String[] InstanceIds)
Set IDs of the instances to be renewed.
|
void |
setRenewDataDisk(Boolean RenewDataDisk)
Set Whether to renew the data disk.
|
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 InquirePriceRenewInstancesRequest()
public InquirePriceRenewInstancesRequest(InquirePriceRenewInstancesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- IDs of the instances to be renewed. Each request can contain up to 50 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.public Boolean getRenewDataDisk()
public void setRenewDataDisk(Boolean RenewDataDisk)
RenewDataDisk
- Whether to renew the data disk. Default: `false`.public Boolean getAlignInstanceExpiredTime()
public void setAlignInstanceExpiredTime(Boolean AlignInstanceExpiredTime)
AlignInstanceExpiredTime
- Whether to align the data disk expiration with the instance expiration time. Default: `false`.Copyright © 2023. All rights reserved.