Class: TencentCloud::Cvm::V20170312::EnhancedService

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/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.



3716
3717
3718
3719
3720
# File 'lib/v20170312/models.rb', line 3716

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

Instance Attribute Details

#AutomationService ⇒ Object

Parameters:

  • SecurityService: —

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

  • MonitorService: —

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

  • AutomationService: —

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



3714
3715
3716
# File 'lib/v20170312/models.rb', line 3714

def AutomationService
  @AutomationService
end

#MonitorService ⇒ Object

Parameters:

  • SecurityService: —

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

  • MonitorService: —

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

  • AutomationService: —

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



3714
3715
3716
# File 'lib/v20170312/models.rb', line 3714

def MonitorService
  @MonitorService
end

#SecurityService ⇒ Object

Parameters:

  • SecurityService: —

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

  • MonitorService: —

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

  • AutomationService: —

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



3714
3715
3716
# File 'lib/v20170312/models.rb', line 3714

def SecurityService
  @SecurityService
end

Instance Method Details

#deserialize(params) ⇒ Object



3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
# File 'lib/v20170312/models.rb', line 3722

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