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 |
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 |
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 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.