Class: TencentCloud::Tke::V20180525::KMSConfiguration

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

Overview

kms加密参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyid = nil, kmsregion = nil) ⇒ KMSConfiguration

Returns a new instance of KMSConfiguration.



14346
14347
14348
14349
# File 'lib/v20180525/models.rb', line 14346

def initialize(keyid=nil, kmsregion=nil)
  @KeyId = keyid
  @KmsRegion = kmsregion
end

Instance Attribute Details

#KeyIdObject

Parameters:

  • KeyId:

    自定义密钥,当不指定KeyId时,采用默认生成密钥(TKE-KMS)

  • KmsRegion:

    默认生成密钥或自定义密钥地域信息



14344
14345
14346
# File 'lib/v20180525/models.rb', line 14344

def KeyId
  @KeyId
end

#KmsRegionObject

Parameters:

  • KeyId:

    自定义密钥,当不指定KeyId时,采用默认生成密钥(TKE-KMS)

  • KmsRegion:

    默认生成密钥或自定义密钥地域信息



14344
14345
14346
# File 'lib/v20180525/models.rb', line 14344

def KmsRegion
  @KmsRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



14351
14352
14353
14354
# File 'lib/v20180525/models.rb', line 14351

def deserialize(params)
  @KeyId = params['KeyId']
  @KmsRegion = params['KmsRegion']
end