Class: TencentCloud::Cls::V20201016::ModifyMachineGroupRequest

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

Overview

ModifyMachineGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, groupname = nil, machinegrouptype = nil, tags = nil, autoupdate = nil, updatestarttime = nil, updateendtime = nil, servicelogging = nil, delaycleanuptime = nil, metatags = nil) ⇒ ModifyMachineGroupRequest

Returns a new instance of ModifyMachineGroupRequest.



14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
# File 'lib/v20201016/models.rb', line 14744

def initialize(groupid=nil, groupname=nil, machinegrouptype=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, delaycleanuptime=nil, metatags=nil)
  @GroupId = groupid
  @GroupName = groupname
  @MachineGroupType = machinegrouptype
  @Tags = tags
  @AutoUpdate = autoupdate
  @UpdateStartTime = updatestarttime
  @UpdateEndTime = updateendtime
  @ServiceLogging = servicelogging
  @DelayCleanupTime = delaycleanuptime
  @MetaTags = metatags
end

Instance Attribute Details

#AutoUpdate ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def AutoUpdate
  @AutoUpdate
end

#DelayCleanupTime ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def DelayCleanupTime
  @DelayCleanupTime
end

#GroupId ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def GroupId
  @GroupId
end

#GroupName ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def GroupName
  @GroupName
end

#MachineGroupType ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def MachineGroupType
  @MachineGroupType
end

#MetaTags ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def MetaTags
  @MetaTags
end

#ServiceLogging ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def ServiceLogging
  @ServiceLogging
end

#Tags ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def Tags
  @Tags
end

#UpdateEndTime ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def UpdateEndTime
  @UpdateEndTime
end

#UpdateStartTime ⇒ Object

  • 通过获取机器组列表获取机器组Id。 输入限制:
  • 不能为空字符串
  • 不能包含字符'|' Type:ip,Values中为ip字符串列表机器组; Type:label,Values中为标签字符串列表机器组。 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组Id

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型。

  • Tags: —

    标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

    升级开始时间,建议业务低峰期升级LogListener

  • UpdateEndTime: —

    升级结束时间,建议业务低峰期升级LogListener

  • ServiceLogging: —

    是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费

  • DelayCleanupTime: —

    机器组中机器定期离线清理时间。单位:天

  • MetaTags: —

    机器组元数据信息列表



14742
14743
14744
# File 'lib/v20201016/models.rb', line 14742

def UpdateStartTime
  @UpdateStartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
# File 'lib/v20201016/models.rb', line 14757

def deserialize(params)
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  unless params['MachineGroupType'].nil?
    @MachineGroupType = MachineGroupTypeInfo.new
    @MachineGroupType.deserialize(params['MachineGroupType'])
  end
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @AutoUpdate = params['AutoUpdate']
  @UpdateStartTime = params['UpdateStartTime']
  @UpdateEndTime = params['UpdateEndTime']
  @ServiceLogging = params['ServiceLogging']
  @DelayCleanupTime = params['DelayCleanupTime']
  unless params['MetaTags'].nil?
    @MetaTags = []
    params['MetaTags'].each do |i|
      metataginfo_tmp = MetaTagInfo.new
      metataginfo_tmp.deserialize(i)
      @MetaTags << metataginfo_tmp
    end
  end
end