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 | 
|---|---|
Boolean | 
getAutoVoucher()
Get Whether to automatically use vouchers. 
 | 
InstanceChargePrepaid | 
getInstanceChargePrepaid()
Get Prepaid mode, i.e., monthly subscription. 
 | 
String[] | 
getInstanceIds()
Get IDs of one or more instances to be operated. 
 | 
Boolean | 
getRenewDataDisk()
Get Whether to renew elastic data disks. 
 | 
void | 
setAutoVoucher(Boolean AutoVoucher)
Set Whether to automatically use vouchers. 
 | 
void | 
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Prepaid mode, i.e., monthly subscription. 
 | 
void | 
setInstanceIds(String[] InstanceIds)
Set IDs of one or more instances to be operated. 
 | 
void | 
setRenewDataDisk(Boolean RenewDataDisk)
Set Whether to renew elastic data disks. 
 | 
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, toJsonStringpublic RenewInstancesRequest()
public RenewInstancesRequest(RenewInstancesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - IDs of one or more instances to be operated. The value can be obtained from the `InstanceId` parameter returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API. Up to 100 instances can be requested at a time.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid - Prepaid mode, i.e., monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. It is required for prepaid instances.public Boolean getRenewDataDisk()
public void setRenewDataDisk(Boolean RenewDataDisk)
RenewDataDisk - Whether to renew elastic data disks. Values: 
`TRUE`: Renew the elastic data disks attached to the instance as well when the related instance is renewed.
`FALSE`: Do not renew the elastic data disks attached to the instance as well when the related instance is renewed.
Default: `TRUE`public Boolean getAutoVoucher()
public void setAutoVoucher(Boolean AutoVoucher)
AutoVoucher - Whether to automatically use vouchers. Values:
`TRUE`: Use vouchers for payment automatically.
`FALSE`: Do not use vouchers for payment automatically.
Default: `FALSE`.Copyright © 2025. All rights reserved.