public class CreateMachineGroupRequest extends AbstractModel
header, skipSign| Constructor and 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Boolean | 
getAutoUpdate()
Get Whether to enable automatic update for the machine group 
 | 
Long | 
getDelayCleanupTime()
Get Offline cleaning time for machines in machine group 
 | 
String | 
getGroupName()
Get Machine group name, which must be unique 
 | 
MachineGroupTypeInfo | 
getMachineGroupType()
Get Type of the machine group to be created. 
 | 
MetaTagInfo[] | 
getMetaTags()
Get Metadata information list of a machine group 
 | 
Long | 
getOSType()
Get System type, default 0, 0: Linux, 1: Windows 
 | 
Boolean | 
getServiceLogging()
Get Whether to enable the service log to record the logs generated by the LogListener service itself. 
 | 
Tag[] | 
getTags()
Get Tag description list. 
 | 
String | 
getUpdateEndTime()
Get Update end time. 
 | 
String | 
getUpdateStartTime()
Get Update start time. 
 | 
void | 
setAutoUpdate(Boolean AutoUpdate)
Set Whether to enable automatic update for the machine group 
 | 
void | 
setDelayCleanupTime(Long DelayCleanupTime)
Set Offline cleaning time for machines in machine group 
 | 
void | 
setGroupName(String GroupName)
Set Machine group name, which must be unique 
 | 
void | 
setMachineGroupType(MachineGroupTypeInfo MachineGroupType)
Set Type of the machine group to be created. 
 | 
void | 
setMetaTags(MetaTagInfo[] MetaTags)
Set Metadata information list of a machine group 
 | 
void | 
setOSType(Long OSType)
Set System type, default 0, 0: Linux, 1: Windows 
 | 
void | 
setServiceLogging(Boolean ServiceLogging)
Set Whether to enable the service log to record the logs generated by the LogListener service itself. 
 | 
void | 
setTags(Tag[] Tags)
Set Tag description list. 
 | 
void | 
setUpdateEndTime(String UpdateEndTime)
Set Update end time. 
 | 
void | 
setUpdateStartTime(String UpdateStartTime)
Set Update start time. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateMachineGroupRequest()
public CreateMachineGroupRequest(CreateMachineGroupRequest source)
public String getGroupName()
public void setGroupName(String GroupName)
GroupName - Machine group name, which must be uniquepublic MachineGroupTypeInfo getMachineGroupType()
public void setMachineGroupType(MachineGroupTypeInfo MachineGroupType)
MachineGroupType - Type of the machine group to be created. Valid values: `ip`: use the IP string list in `Values` to create a machine group; `label`: use the tag string list in `Values` to create a machine grouppublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Tag description list. This parameter is used to bind a tag to a machine group. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.public Boolean getAutoUpdate()
public void setAutoUpdate(Boolean AutoUpdate)
AutoUpdate - Whether to enable automatic update for the machine grouppublic String getUpdateStartTime()
public void setUpdateStartTime(String UpdateStartTime)
UpdateStartTime - Update start time. We recommend you update LogListener during off-peak hours.public String getUpdateEndTime()
public void setUpdateEndTime(String UpdateEndTime)
UpdateEndTime - Update end time. We recommend you update LogListener during off-peak hours.public Boolean getServiceLogging()
public void setServiceLogging(Boolean ServiceLogging)
ServiceLogging - Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur feespublic Long getDelayCleanupTime()
public void setDelayCleanupTime(Long DelayCleanupTime)
DelayCleanupTime - Offline cleaning time for machines in machine grouppublic MetaTagInfo[] getMetaTags()
public void setMetaTags(MetaTagInfo[] MetaTags)
MetaTags - Metadata information list of a machine grouppublic Long getOSType()
public void setOSType(Long OSType)
OSType - System type, default 0, 0: Linux, 1: WindowsCopyright © 2025. All rights reserved.