Class: TencentCloud::Tke::V20180525::ECMEnhancedService

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(securityservice = nil, monitorservice = nil) ⇒ ECMEnhancedService

Returns a new instance of ECMEnhancedService.



10791
10792
10793
10794
# File 'lib/v20180525/models.rb', line 10791

def initialize(securityservice=nil, monitorservice=nil)
  @SecurityService = securityservice
  @MonitorService = monitorservice
end

Instance Attribute Details

#MonitorServiceObject

Parameters:

  • SecurityService:

    是否开启云监控服务

  • MonitorService:

    是否开启云镜服务



10789
10790
10791
# File 'lib/v20180525/models.rb', line 10789

def MonitorService
  @MonitorService
end

#SecurityServiceObject

Parameters:

  • SecurityService:

    是否开启云监控服务

  • MonitorService:

    是否开启云镜服务



10789
10790
10791
# File 'lib/v20180525/models.rb', line 10789

def SecurityService
  @SecurityService
end

Instance Method Details

#deserialize(params) ⇒ Object



10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
# File 'lib/v20180525/models.rb', line 10796

def deserialize(params)
  unless params['SecurityService'].nil?
    @SecurityService = ECMRunMonitorServiceEnabled.new
    @SecurityService.deserialize(params['SecurityService'])
  end
  unless params['MonitorService'].nil?
    @MonitorService = ECMRunSecurityServiceEnabled.new
    @MonitorService.deserialize(params['MonitorService'])
  end
end