Class: TencentCloud::Cls::V20201016::MachineGroupInfo

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

Overview

机器组信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of MachineGroupInfo.



12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
# File 'lib/v20201016/models.rb', line 12497

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

Instance Attribute Details

#AutoUpdate ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def AutoUpdate
  @AutoUpdate
end

#CreateTime ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def CreateTime
  @CreateTime
end

#DelayCleanupTime ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def DelayCleanupTime
  @DelayCleanupTime
end

#GroupId ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def GroupId
  @GroupId
end

#GroupName ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def GroupName
  @GroupName
end

#MachineGroupType ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def MachineGroupType
  @MachineGroupType
end

#MetaTags ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def MetaTags
  @MetaTags
end

#OSType ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def OSType
  @OSType
end

#ServiceLogging ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def ServiceLogging
  @ServiceLogging
end

#Tags ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def Tags
  @Tags
end

#UpdateEndTime ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def UpdateEndTime
  @UpdateEndTime
end

#UpdateStartTime ⇒ Object

时间格式:yyyy-MM-dd HH:mm:ss 时间格式:HH:mm:ss 时间格式:HH:mm:ss

Parameters:

  • GroupId: —

    机器组ID

  • GroupName: —

    机器组名称

  • MachineGroupType: —

    机器组类型

  • CreateTime: —

    创建时间

  • Tags: —

    机器组绑定的标签列表

  • AutoUpdate: —

    是否开启机器组自动更新

  • UpdateStartTime: —

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

  • UpdateEndTime: —

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

  • ServiceLogging: —

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

  • DelayCleanupTime: —

    机器组中机器离线定期清理时间,单位天,默认设置30天。

  • MetaTags: —

    机器组元数据信息列表

  • OSType: —

    操作系统类型,0: Linux,1: windows



12495
12496
12497
# File 'lib/v20201016/models.rb', line 12495

def UpdateStartTime
  @UpdateStartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
# File 'lib/v20201016/models.rb', line 12512

def deserialize(params)
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  unless params['MachineGroupType'].nil?
    @MachineGroupType = MachineGroupTypeInfo.new
    @MachineGroupType.deserialize(params['MachineGroupType'])
  end
  @CreateTime = params['CreateTime']
  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
  @OSType = params['OSType']
end