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.



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

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

Instance Attribute Details

#SecretNameObject

Parameters:

  • SecretName:

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

  • SSHKeyId:

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



791
792
793
# File 'lib/v20190923/models.rb', line 791

def SecretName
  @SecretName
end

#SSHKeyIdObject

Parameters:

  • SecretName:

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

  • SSHKeyId:

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



791
792
793
# File 'lib/v20190923/models.rb', line 791

def SSHKeyId
  @SSHKeyId
end

Instance Method Details

#deserialize(params) ⇒ Object



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

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