Class: TencentCloud::Tke::V20180525::EnhancedService

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

Overview

描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(securityservice = nil, monitorservice = nil, automationservice = nil) ⇒ EnhancedService

Returns a new instance of EnhancedService.



11698
11699
11700
11701
11702
# File 'lib/v20180525/models.rb', line 11698

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

Instance Attribute Details

#AutomationServiceObject

Parameters:

  • SecurityService:

    开启云安全服务。若不指定该参数,则默认开启云安全服务。

  • MonitorService:

    开启云监控服务。若不指定该参数,则默认开启云监控服务。

  • AutomationService:

    开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,则公共镜像默认开启云自动化助手服务,其他镜像默认不开启云自动化助手服务。



11696
11697
11698
# File 'lib/v20180525/models.rb', line 11696

def AutomationService
  @AutomationService
end

#MonitorServiceObject

Parameters:

  • SecurityService:

    开启云安全服务。若不指定该参数,则默认开启云安全服务。

  • MonitorService:

    开启云监控服务。若不指定该参数,则默认开启云监控服务。

  • AutomationService:

    开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,则公共镜像默认开启云自动化助手服务,其他镜像默认不开启云自动化助手服务。



11696
11697
11698
# File 'lib/v20180525/models.rb', line 11696

def MonitorService
  @MonitorService
end

#SecurityServiceObject

Parameters:

  • SecurityService:

    开启云安全服务。若不指定该参数,则默认开启云安全服务。

  • MonitorService:

    开启云监控服务。若不指定该参数,则默认开启云监控服务。

  • AutomationService:

    开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,则公共镜像默认开启云自动化助手服务,其他镜像默认不开启云自动化助手服务。



11696
11697
11698
# File 'lib/v20180525/models.rb', line 11696

def SecurityService
  @SecurityService
end

Instance Method Details

#deserialize(params) ⇒ Object



11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
# File 'lib/v20180525/models.rb', line 11704

def deserialize(params)
  unless params['SecurityService'].nil?
    @SecurityService = RunSecurityServiceEnabled.new
    @SecurityService.deserialize(params['SecurityService'])
  end
  unless params['MonitorService'].nil?
    @MonitorService = RunMonitorServiceEnabled.new
    @MonitorService.deserialize(params['MonitorService'])
  end
  unless params['AutomationService'].nil?
    @AutomationService = RunAutomationServiceEnabled.new
    @AutomationService.deserialize(params['AutomationService'])
  end
end