Class: TencentCloud::Cwp::V20180228::ModifyWarningHostConfigRequest

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

Overview

ModifyWarningHostConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, hostrange = nil, itemlabels = nil, quuids = nil, itemlabelids = nil, excludedquuids = nil) ⇒ ModifyWarningHostConfigRequest

Returns a new instance of ModifyWarningHostConfigRequest.



34506
34507
34508
34509
34510
34511
34512
34513
# File 'lib/v20180228/models.rb', line 34506

def initialize(type=nil, hostrange=nil, itemlabels=nil, quuids=nil, itemlabelids=nil, excludedquuids=nil)
  @Type = type
  @HostRange = hostrange
  @ItemLabels = itemlabels
  @Quuids = quuids
  @ItemLabelIds = itemlabelids
  @ExcludedQuuids = excludedquuids
end

Instance Attribute Details

#ExcludedQuuidsObject

Parameters:

  • Type:

    告警类型

  • HostRange:

    告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机

  • ItemLabels:

    项目或标签的名称列表,自选主机时为空

  • Quuids:

    机器列表

  • ItemLabelIds:

    项目或标签的id列表,自选主机时为空

  • ExcludedQuuids:

    需排除的机器列表



34504
34505
34506
# File 'lib/v20180228/models.rb', line 34504

def ExcludedQuuids
  @ExcludedQuuids
end

#HostRangeObject

Parameters:

  • Type:

    告警类型

  • HostRange:

    告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机

  • ItemLabels:

    项目或标签的名称列表,自选主机时为空

  • Quuids:

    机器列表

  • ItemLabelIds:

    项目或标签的id列表,自选主机时为空

  • ExcludedQuuids:

    需排除的机器列表



34504
34505
34506
# File 'lib/v20180228/models.rb', line 34504

def HostRange
  @HostRange
end

#ItemLabelIdsObject

Parameters:

  • Type:

    告警类型

  • HostRange:

    告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机

  • ItemLabels:

    项目或标签的名称列表,自选主机时为空

  • Quuids:

    机器列表

  • ItemLabelIds:

    项目或标签的id列表,自选主机时为空

  • ExcludedQuuids:

    需排除的机器列表



34504
34505
34506
# File 'lib/v20180228/models.rb', line 34504

def ItemLabelIds
  @ItemLabelIds
end

#ItemLabelsObject

Parameters:

  • Type:

    告警类型

  • HostRange:

    告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机

  • ItemLabels:

    项目或标签的名称列表,自选主机时为空

  • Quuids:

    机器列表

  • ItemLabelIds:

    项目或标签的id列表,自选主机时为空

  • ExcludedQuuids:

    需排除的机器列表



34504
34505
34506
# File 'lib/v20180228/models.rb', line 34504

def ItemLabels
  @ItemLabels
end

#QuuidsObject

Parameters:

  • Type:

    告警类型

  • HostRange:

    告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机

  • ItemLabels:

    项目或标签的名称列表,自选主机时为空

  • Quuids:

    机器列表

  • ItemLabelIds:

    项目或标签的id列表,自选主机时为空

  • ExcludedQuuids:

    需排除的机器列表



34504
34505
34506
# File 'lib/v20180228/models.rb', line 34504

def Quuids
  @Quuids
end

#TypeObject

Parameters:

  • Type:

    告警类型

  • HostRange:

    告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机

  • ItemLabels:

    项目或标签的名称列表,自选主机时为空

  • Quuids:

    机器列表

  • ItemLabelIds:

    项目或标签的id列表,自选主机时为空

  • ExcludedQuuids:

    需排除的机器列表



34504
34505
34506
# File 'lib/v20180228/models.rb', line 34504

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



34515
34516
34517
34518
34519
34520
34521
34522
# File 'lib/v20180228/models.rb', line 34515

def deserialize(params)
  @Type = params['Type']
  @HostRange = params['HostRange']
  @ItemLabels = params['ItemLabels']
  @Quuids = params['Quuids']
  @ItemLabelIds = params['ItemLabelIds']
  @ExcludedQuuids = params['ExcludedQuuids']
end