Class: TencentCloud::Cvm::V20170312::ModifyKeyPairAttributeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::ModifyKeyPairAttributeRequest
- Defined in:
- lib/v20170312/models.rb
Overview
ModifyKeyPairAttribute请求参数结构体
Instance Attribute Summary collapse
-
#Description ⇒ Object
- 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥 ID。
- 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/9403) ,取返回信息中的 `KeyId` 获取密钥对 ID。
. -
#KeyId ⇒ Object
- 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥 ID。
- 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/9403) ,取返回信息中的 `KeyId` 获取密钥对 ID。
. -
#KeyName ⇒ Object
- 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥 ID。
- 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/9403) ,取返回信息中的 `KeyId` 获取密钥对 ID。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keyid = nil, keyname = nil, description = nil) ⇒ ModifyKeyPairAttributeRequest
constructor
A new instance of ModifyKeyPairAttributeRequest.
Constructor Details
#initialize(keyid = nil, keyname = nil, description = nil) ⇒ ModifyKeyPairAttributeRequest
Returns a new instance of ModifyKeyPairAttributeRequest.
6961 6962 6963 6964 6965 |
# File 'lib/v20170312/models.rb', line 6961 def initialize(keyid=nil, keyname=nil, description=nil) @KeyId = keyid @KeyName = keyname @Description = description end |
Instance Attribute Details
#Description ⇒ Object
6959 6960 6961 |
# File 'lib/v20170312/models.rb', line 6959 def Description @Description end |
#KeyId ⇒ Object
6959 6960 6961 |
# File 'lib/v20170312/models.rb', line 6959 def KeyId @KeyId end |
#KeyName ⇒ Object
6959 6960 6961 |
# File 'lib/v20170312/models.rb', line 6959 def KeyName @KeyName end |
Instance Method Details
#deserialize(params) ⇒ Object
6967 6968 6969 6970 6971 |
# File 'lib/v20170312/models.rb', line 6967 def deserialize(params) @KeyId = params['KeyId'] @KeyName = params['KeyName'] @Description = params['Description'] end |