public class DisassociateInstancesKeyPairsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DisassociateInstancesKeyPairsRequest() |
DisassociateInstancesKeyPairsRequest(DisassociateInstancesKeyPairsRequest 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 |
getForceStop()
Get 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再解绑密钥。取值范围:
true:表示在正常关机失败后进行强制关机。 false:表示在正常关机失败后不进行强制关机。 默认取值:false。 |
String[] |
getInstanceIds()
Get 一个或多个待操作的实例ID,每次请求批量实例的上限为100。
可以通过以下方式获取可用的实例ID: 通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。 通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。 |
String[] |
getKeyIds()
Get 密钥对ID列表,每次请求批量密钥对的上限为100。密钥对ID形如:`skey-11112222`。
可以通过以下方式获取可用的密钥ID: 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 `KeyId` 获取密钥对ID。 |
void |
setForceStop(Boolean ForceStop)
Set 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再解绑密钥。取值范围:
true:表示在正常关机失败后进行强制关机。 false:表示在正常关机失败后不进行强制关机。 默认取值:false。 |
void |
setInstanceIds(String[] InstanceIds)
Set 一个或多个待操作的实例ID,每次请求批量实例的上限为100。
可以通过以下方式获取可用的实例ID: 通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。 通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。 |
void |
setKeyIds(String[] KeyIds)
Set 密钥对ID列表,每次请求批量密钥对的上限为100。密钥对ID形如:`skey-11112222`。
可以通过以下方式获取可用的密钥ID: 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 `KeyId` 获取密钥对ID。 |
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 DisassociateInstancesKeyPairsRequest()
public DisassociateInstancesKeyPairsRequest(DisassociateInstancesKeyPairsRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- 一个或多个待操作的实例ID,每次请求批量实例的上限为100。public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds
- 密钥对ID列表,每次请求批量密钥对的上限为100。密钥对ID形如:`skey-11112222`。public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop
- 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再解绑密钥。取值范围:Copyright © 2024. All rights reserved.