public class RenewInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RenewInstancesRequest() |
RenewInstancesRequest(RenewInstancesRequest 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 |
---|---|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get Prepaid mode, that is, parameter settings related to monthly/annual subscription.
|
String[] |
getInstanceIds()
Get One or more instance IDs to be operated.
|
Boolean |
getRenewPortableDataDisk()
Get Whether to renew the elastic data disk.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Prepaid mode, that is, parameter settings related to monthly/annual subscription.
|
void |
setInstanceIds(String[] InstanceIds)
Set One or more instance IDs to be operated.
|
void |
setRenewPortableDataDisk(Boolean RenewPortableDataDisk)
Set Whether to renew the elastic data disk.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RenewInstancesRequest()
public RenewInstancesRequest(RenewInstancesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- Prepaid mode, that is, parameter settings related to monthly/annual subscription. specifies attributes of a monthly subscription instance, such as renewal duration and whether to enable auto-renewal, by specifying this parameter. public Boolean getRenewPortableDataDisk()
public void setRenewPortableDataDisk(Boolean RenewPortableDataDisk)
RenewPortableDataDisk
- Whether to renew the elastic data disk. valid values:Copyright © 2025. All rights reserved.