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.



12851
12852
12853
12854
12855
# File 'lib/v20180525/models.rb', line 12851

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)。若不指定该参数,则公共镜像默认开启云自动化助手服务,其他镜像默认不开启云自动化助手服务。



12849
12850
12851
# File 'lib/v20180525/models.rb', line 12849

def AutomationService
  @AutomationService
end

#MonitorServiceObject

Parameters:

  • SecurityService:

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

  • MonitorService:

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

  • AutomationService:

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



12849
12850
12851
# File 'lib/v20180525/models.rb', line 12849

def MonitorService
  @MonitorService
end

#SecurityServiceObject

Parameters:

  • SecurityService:

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

  • MonitorService:

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

  • AutomationService:

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



12849
12850
12851
# File 'lib/v20180525/models.rb', line 12849

def SecurityService
  @SecurityService
end

Instance Method Details

#deserialize(params) ⇒ Object



12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
# File 'lib/v20180525/models.rb', line 12857

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