Class: TencentCloud::Tke::V20180525::EnableEncryptionProtectionRequest

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

Overview

EnableEncryptionProtection请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, kmsconfiguration = nil) ⇒ EnableEncryptionProtectionRequest

Returns a new instance of EnableEncryptionProtectionRequest.



11561
11562
11563
11564
# File 'lib/v20180525/models.rb', line 11561

def initialize(clusterid=nil, kmsconfiguration=nil)
  @ClusterId = clusterid
  @KMSConfiguration = kmsconfiguration
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • KMSConfiguration:

    kms加密配置



11559
11560
11561
# File 'lib/v20180525/models.rb', line 11559

def ClusterId
  @ClusterId
end

#KMSConfigurationObject

Parameters:

  • ClusterId:

    集群ID

  • KMSConfiguration:

    kms加密配置



11559
11560
11561
# File 'lib/v20180525/models.rb', line 11559

def KMSConfiguration
  @KMSConfiguration
end

Instance Method Details

#deserialize(params) ⇒ Object



11566
11567
11568
11569
11570
11571
11572
# File 'lib/v20180525/models.rb', line 11566

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['KMSConfiguration'].nil?
    @KMSConfiguration = KMSConfiguration.new
    @KMSConfiguration.deserialize(params['KMSConfiguration'])
  end
end