Package | Description |
---|---|
com.tencentcloudapi.cvm.v20170312 | |
com.tencentcloudapi.cvm.v20170312.models |
Modifier and Type | Method and Description |
---|---|
DisassociateInstancesKeyPairsResponse |
CvmClient.DisassociateInstancesKeyPairs(DisassociateInstancesKeyPairsRequest req)
本接口 (DisassociateInstancesKeyPairs) 用于解除实例的密钥绑定关系。
只支持[`STOPPED`](https://cloud.tencent.com/document/product/213/15753#InstanceStatus)状态的`Linux`操作系统的实例。
解绑密钥后,实例可以通过原来设置的密码登录。
如果原来没有设置密码,解绑后将无法使用 `SSH` 登录。可以调用 [ResetInstancesPassword](https://cloud.tencent.com/document/api/213/15736) 接口来设置登录密码。
支持批量操作。每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。
|
Constructor and Description |
---|
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.
|
Copyright © 2021. All rights reserved.