Class CreateMachineGroupRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.CreateMachineGroupRequest
-
public class CreateMachineGroupRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateMachineGroupRequest()
CreateMachineGroupRequest(CreateMachineGroupRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAutoUpdate()
Get 是否开启机器组自动更新String
getGroupName()
Get 机器组名字,不能重复MachineGroupTypeInfo
getMachineGroupType()
Get 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组MetaTagInfo[]
getMetaTags()
Get 机器组元数据信息列表Long
getOSType()
Get 系统类型,默认0,0:Linux,1: windowsBoolean
getServiceLogging()
Get 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费Tag[]
getTags()
Get 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。String
getUpdateEndTime()
Get 升级结束时间,建议业务低峰期升级LogListenerString
getUpdateStartTime()
Get 升级开始时间,建议业务低峰期升级LogListenervoid
setAutoUpdate(Boolean AutoUpdate)
Set 是否开启机器组自动更新void
setGroupName(String GroupName)
Set 机器组名字,不能重复void
setMachineGroupType(MachineGroupTypeInfo MachineGroupType)
Set 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组void
setMetaTags(MetaTagInfo[] MetaTags)
Set 机器组元数据信息列表void
setOSType(Long OSType)
Set 系统类型,默认0,0:Linux,1: windowsvoid
setServiceLogging(Boolean ServiceLogging)
Set 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费void
setTags(Tag[] Tags)
Set 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。void
setUpdateEndTime(String UpdateEndTime)
Set 升级结束时间,建议业务低峰期升级LogListenervoid
setUpdateStartTime(String UpdateStartTime)
Set 升级开始时间,建议业务低峰期升级LogListenervoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateMachineGroupRequest
public CreateMachineGroupRequest()
-
CreateMachineGroupRequest
public CreateMachineGroupRequest(CreateMachineGroupRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getGroupName
public String getGroupName()
Get 机器组名字,不能重复- Returns:
- GroupName 机器组名字,不能重复
-
setGroupName
public void setGroupName(String GroupName)
Set 机器组名字,不能重复- Parameters:
GroupName
- 机器组名字,不能重复
-
getMachineGroupType
public MachineGroupTypeInfo getMachineGroupType()
Get 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组- Returns:
- MachineGroupType 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组
-
setMachineGroupType
public void setMachineGroupType(MachineGroupTypeInfo MachineGroupType)
Set 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组- Parameters:
MachineGroupType
- 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组
-
getTags
public Tag[] getTags()
Get 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。- Returns:
- Tags 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
-
setTags
public void setTags(Tag[] Tags)
Set 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。- Parameters:
Tags
- 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
-
getAutoUpdate
public Boolean getAutoUpdate()
Get 是否开启机器组自动更新- Returns:
- AutoUpdate 是否开启机器组自动更新
-
setAutoUpdate
public void setAutoUpdate(Boolean AutoUpdate)
Set 是否开启机器组自动更新- Parameters:
AutoUpdate
- 是否开启机器组自动更新
-
getUpdateStartTime
public String getUpdateStartTime()
Get 升级开始时间,建议业务低峰期升级LogListener- Returns:
- UpdateStartTime 升级开始时间,建议业务低峰期升级LogListener
-
setUpdateStartTime
public void setUpdateStartTime(String UpdateStartTime)
Set 升级开始时间,建议业务低峰期升级LogListener- Parameters:
UpdateStartTime
- 升级开始时间,建议业务低峰期升级LogListener
-
getUpdateEndTime
public String getUpdateEndTime()
Get 升级结束时间,建议业务低峰期升级LogListener- Returns:
- UpdateEndTime 升级结束时间,建议业务低峰期升级LogListener
-
setUpdateEndTime
public void setUpdateEndTime(String UpdateEndTime)
Set 升级结束时间,建议业务低峰期升级LogListener- Parameters:
UpdateEndTime
- 升级结束时间,建议业务低峰期升级LogListener
-
getServiceLogging
public Boolean getServiceLogging()
Get 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费- Returns:
- ServiceLogging 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
-
setServiceLogging
public void setServiceLogging(Boolean ServiceLogging)
Set 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费- Parameters:
ServiceLogging
- 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
-
getMetaTags
public MetaTagInfo[] getMetaTags()
Get 机器组元数据信息列表- Returns:
- MetaTags 机器组元数据信息列表
-
setMetaTags
public void setMetaTags(MetaTagInfo[] MetaTags)
Set 机器组元数据信息列表- Parameters:
MetaTags
- 机器组元数据信息列表
-
getOSType
public Long getOSType()
Get 系统类型,默认0,0:Linux,1: windows- Returns:
- OSType 系统类型,默认0,0:Linux,1: windows
-
setOSType
public void setOSType(Long OSType)
Set 系统类型,默认0,0:Linux,1: windows- Parameters:
OSType
- 系统类型,默认0,0:Linux,1: windows
-
-