HostGroupProps
Properties for defining a HostGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-devops-hostgroup
Initializer
import com.aliyun.ros.cdk.devops.HostGroupProps;
HostGroupProps.builder()
.name(java.lang.String)
.name(IResolvable)
.organizationId(java.lang.String)
.organizationId(IResolvable)
.serviceConnectionId(java.lang.Number)
.serviceConnectionId(IResolvable)
// .aliyunRegion(java.lang.String)
// .aliyunRegion(IResolvable)
// .ecsLabelKey(java.lang.String)
// .ecsLabelKey(IResolvable)
// .ecsLabelValue(java.lang.String)
// .ecsLabelValue(IResolvable)
// .ecsType(java.lang.String)
// .ecsType(IResolvable)
// .envId(java.lang.String)
// .envId(IResolvable)
// .machineInfos(IResolvable)
// .machineInfos(java.util.List<IResolvable)
// .machineInfos(MachineInfosProperty>)
// .tagIds(IResolvable)
// .tagIds(java.util.List<java.lang.String)
// .tagIds(IResolvable>)
// .type(java.lang.String)
// .type(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: Host group name. |
organizationId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links. |
serviceConnectionId |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property serviceConnectionId: Service connection. |
aliyunRegion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property aliyunRegion: The aliyun region. |
ecsLabelKey |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsLabelKey: The tag key of the ECS. |
ecsLabelValue |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsLabelValue: The tag value of the ECS. |
ecsType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsType: The type of ECS, currently only supports ECS_ALIYUN. |
envId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property envId: Environment id. |
machineInfos |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property machineInfos: The machine infos. |
tagIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property tagIds: The ids of tag. |
type |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property type: Host group type, currently only supports ECS. |
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: Host group name.
organizationId
Required
public java.lang.Object getOrganizationId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.
serviceConnectionId
Required
public java.lang.Object getServiceConnectionId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property serviceConnectionId: Service connection.
aliyunRegion
Optional
public java.lang.Object getAliyunRegion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property aliyunRegion: The aliyun region.
ecsLabelKey
Optional
public java.lang.Object getEcsLabelKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsLabelKey: The tag key of the ECS.
ecsLabelValue
Optional
public java.lang.Object getEcsLabelValue();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsLabelValue: The tag value of the ECS.
ecsType
Optional
public java.lang.Object getEcsType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsType: The type of ECS, currently only supports ECS_ALIYUN.
envId
Optional
public java.lang.Object getEnvId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property envId: Environment id.
machineInfos
Optional
public java.lang.Object getMachineInfos();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
MachineInfosProperty>
Property machineInfos: The machine infos.
tagIds
Optional
public java.lang.Object getTagIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property tagIds: The ids of tag.
type
Optional
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: Host group type, currently only supports ECS.