MachineGroupProps
Properties for defining a MachineGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-machinegroup
Initializer
import com.aliyun.ros.cdk.sls.MachineGroupProps;
MachineGroupProps.builder()
// .groupAttribute(java.lang.String)
// .groupAttribute(IResolvable)
// .groupName(java.lang.String)
// .groupName(IResolvable)
// .groupType(java.lang.String)
// .groupType(IResolvable)
// .machineIdentifyType(java.lang.String)
// .machineIdentifyType(IResolvable)
// .machineList(java.util.List<java.lang.Object>)
// .machineList(IResolvable)
// .projectName(java.lang.String)
// .projectName(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
groupAttribute | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property groupAttribute: Group attribute, default is null. |
groupName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property groupName: Display name of the group name, the Project only. |
groupType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property groupType: MachineGroup type, the value is empty or Armory. |
machineIdentifyType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'. |
machineList | java.util.List | Property machineList: The machine tag, the value is ip or userdefined-id. |
projectName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property projectName: MachineGroup created in project. |
groupAttributeOptional
public java.lang.Object getGroupAttribute();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupAttribute: Group attribute, default is null.
The object value is groupTopic and externalName
groupNameOptional
public java.lang.Object getGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupName: Display name of the group name, the Project only.
[2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'
groupTypeOptional
public java.lang.Object getGroupType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupType: MachineGroup type, the value is empty or Armory.
machineIdentifyTypeOptional
public java.lang.Object getMachineIdentifyType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'.
machineListOptional
public java.lang.Object getMachineList();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property machineList: The machine tag, the value is ip or userdefined-id.
projectNameOptional
public java.lang.Object getProjectName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property projectName: MachineGroup created in project.