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.



3599
3600
3601
3602
3603
# File 'lib/v20170312/models.rb', line 3599

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



3597
3598
3599
# File 'lib/v20170312/models.rb', line 3597

def AutomationService
  @AutomationService
end

#MonitorServiceObject

Parameters:

  • SecurityService:

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

  • MonitorService:

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

  • AutomationService:

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



3597
3598
3599
# File 'lib/v20170312/models.rb', line 3597

def MonitorService
  @MonitorService
end

#SecurityServiceObject

Parameters:

  • SecurityService:

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

  • MonitorService:

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

  • AutomationService:

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



3597
3598
3599
# File 'lib/v20170312/models.rb', line 3597

def SecurityService
  @SecurityService
end

Instance Method Details

#deserialize(params) ⇒ Object



3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
# File 'lib/v20170312/models.rb', line 3605

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