Class: TencentCloud::Ssm::V20190923::GetSSHKeyPairValueRequest

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

Overview

GetSSHKeyPairValue请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secretname = nil, sshkeyid = nil) ⇒ GetSSHKeyPairValueRequest

Returns a new instance of GetSSHKeyPairValueRequest.



797
798
799
800
# File 'lib/v20190923/models.rb', line 797

def initialize(secretname=nil, sshkeyid=nil)
  @SecretName = secretname
  @SSHKeyId = sshkeyid
end

Instance Attribute Details

#SecretNameObject

Parameters:

  • 凭据名称,此凭据只能为SSH密钥对凭据类型。

  • 密钥对ID,是云服务器中密钥对的唯一标识。



795
796
797
# File 'lib/v20190923/models.rb', line 795

def SecretName
  @SecretName
end

#SSHKeyIdObject

Parameters:

  • 凭据名称,此凭据只能为SSH密钥对凭据类型。

  • 密钥对ID,是云服务器中密钥对的唯一标识。



795
796
797
# File 'lib/v20190923/models.rb', line 795

def SSHKeyId
  @SSHKeyId
end

Instance Method Details

#deserialize(params) ⇒ Object



802
803
804
805
# File 'lib/v20190923/models.rb', line 802

def deserialize(params)
  @SecretName = params['SecretName']
  @SSHKeyId = params['SSHKeyId']
end