Class: TencentCloud::Ssm::V20190923::CreateSSHKeyPairSecretRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssm::V20190923::CreateSSHKeyPairSecretRequest
- Defined in:
- lib/v20190923/models.rb
Overview
CreateSSHKeyPairSecret请求参数结构体
Instance Attribute Summary collapse
-
#Description ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
-
#KmsHsmClusterId ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
-
#KmsKeyId ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
-
#ProjectId ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
-
#SecretName ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
-
#SSHKeyName ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
-
#Tags ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。 您也可以指定在同region 下自行创建的KMS CMK进行加密。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(secretname = nil, projectid = nil, description = nil, kmskeyid = nil, tags = nil, sshkeyname = nil, kmshsmclusterid = nil) ⇒ CreateSSHKeyPairSecretRequest
constructor
A new instance of CreateSSHKeyPairSecretRequest.
Constructor Details
#initialize(secretname = nil, projectid = nil, description = nil, kmskeyid = nil, tags = nil, sshkeyname = nil, kmshsmclusterid = nil) ⇒ CreateSSHKeyPairSecretRequest
163 164 165 166 167 168 169 170 171 |
# File 'lib/v20190923/models.rb', line 163 def initialize(secretname=nil, projectid=nil, description=nil, kmskeyid=nil, =nil, sshkeyname=nil, kmshsmclusterid=nil) @SecretName = secretname @ProjectId = projectid @Description = description @KmsKeyId = kmskeyid @Tags = @SSHKeyName = sshkeyname @KmsHsmClusterId = kmshsmclusterid end |
Instance Attribute Details
#Description ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def Description @Description end |
#KmsHsmClusterId ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def KmsHsmClusterId @KmsHsmClusterId end |
#KmsKeyId ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def KmsKeyId @KmsKeyId end |
#ProjectId ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def ProjectId @ProjectId end |
#SecretName ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def SecretName @SecretName end |
#SSHKeyName ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def SSHKeyName @SSHKeyName end |
#Tags ⇒ Object
如果为空则表示使用Secrets Manager为您默认创建的CMK进行加密。您也可以指定在同region 下自行创建的KMS CMK进行加密。
161 162 163 |
# File 'lib/v20190923/models.rb', line 161 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
# File 'lib/v20190923/models.rb', line 173 def deserialize(params) @SecretName = params['SecretName'] @ProjectId = params['ProjectId'] @Description = params['Description'] @KmsKeyId = params['KmsKeyId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @SSHKeyName = params['SSHKeyName'] @KmsHsmClusterId = params['KmsHsmClusterId'] end |