public class TerminateInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
TerminateInstancesRequest() |
TerminateInstancesRequest(TerminateInstancesRequest 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[] |
getInstanceIds()
Get One or more instance IDs to be operated.
|
Boolean |
getReleaseAddress()
Get Release an Elastic IP.
|
Boolean |
getReleasePrepaidDataDisks()
Get Whether to release a monthly subscription data disk mounted on an instance.
|
void |
setInstanceIds(String[] InstanceIds)
Set One or more instance IDs to be operated.
|
void |
setReleaseAddress(Boolean ReleaseAddress)
Set Release an Elastic IP.
|
void |
setReleasePrepaidDataDisks(Boolean ReleasePrepaidDataDisks)
Set Whether to release a monthly subscription data disk mounted on an instance.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TerminateInstancesRequest()
public TerminateInstancesRequest(TerminateInstancesRequest 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://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.public Boolean getReleaseAddress()
public void setReleaseAddress(Boolean ReleaseAddress)
ReleaseAddress
- Release an Elastic IP. Under EIP 2.0, only the first EIP on the primary network interface can be released, and currently supported release types are limited to HighQualityEIP, AntiDDoSEIP, EIPv6, and HighQualityEIPv6.
Default value: `false`.
This feature is currently in gradually released phase. To access it, please contact us.public Boolean getReleasePrepaidDataDisks()
public void setReleasePrepaidDataDisks(Boolean ReleasePrepaidDataDisks)
ReleasePrepaidDataDisks
- Whether to release a monthly subscription data disk mounted on an instance. true: Release the data disk along with termination of the instance. false: Only terminate the instance.
Default value: `false`.Copyright © 2025. All rights reserved.