Class: TencentCloud::Tke::V20180525::ECMRunSecurityServiceEnabled

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

Overview

ECM云镜服务

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = nil, version = nil) ⇒ ECMRunSecurityServiceEnabled

Returns a new instance of ECMRunSecurityServiceEnabled.



10833
10834
10835
10836
# File 'lib/v20180525/models.rb', line 10833

def initialize(enabled=nil, version=nil)
  @Enabled = enabled
  @Version = version
end

Instance Attribute Details

#EnabledObject

Parameters:

  • Enabled:

    是否开启

  • Version:

    云镜版本:0 基础版,1 专业版



10831
10832
10833
# File 'lib/v20180525/models.rb', line 10831

def Enabled
  @Enabled
end

#VersionObject

Parameters:

  • Enabled:

    是否开启

  • Version:

    云镜版本:0 基础版,1 专业版



10831
10832
10833
# File 'lib/v20180525/models.rb', line 10831

def Version
  @Version
end

Instance Method Details

#deserialize(params) ⇒ Object



10838
10839
10840
10841
# File 'lib/v20180525/models.rb', line 10838

def deserialize(params)
  @Enabled = params['Enabled']
  @Version = params['Version']
end