Class: TencentCloud::Cvm::V20170312::DeleteKeyPairsRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

DeleteKeyPairs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyids = nil) ⇒ DeleteKeyPairsRequest

Returns a new instance of DeleteKeyPairsRequest.



1717
1718
1719
# File 'lib/v20170312/models.rb', line 1717

def initialize(keyids=nil)
  @KeyIds = keyids
end

Instance Attribute Details

#KeyIds ⇒ Object

Parameters:

  • KeyIds: —

    一个或多个待操作的密钥对ID。每次请求批量密钥对的上限为100。
    可以通过以下方式获取可用的密钥ID:

  • 通过登录控制台查询密钥ID。

  • 通过调用接口 DescribeKeyPairs ,取返回信息中的 KeyId 获取密钥对ID。


1715
1716
1717
# File 'lib/v20170312/models.rb', line 1715

def KeyIds
  @KeyIds
end

Instance Method Details

#deserialize(params) ⇒ Object



1721
1722
1723
# File 'lib/v20170312/models.rb', line 1721

def deserialize(params)
  @KeyIds = params['KeyIds']
end