Skip to content

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.ListMachineInfosProperty> 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.

nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: Host group name.


organizationIdRequired

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.


serviceConnectionIdRequired

public java.lang.Object getServiceConnectionId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property serviceConnectionId: Service connection.


aliyunRegionOptional

public java.lang.Object getAliyunRegion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property aliyunRegion: The aliyun region.


ecsLabelKeyOptional

public java.lang.Object getEcsLabelKey();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ecsLabelKey: The tag key of the ECS.


ecsLabelValueOptional

public java.lang.Object getEcsLabelValue();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ecsLabelValue: The tag value of the ECS.


ecsTypeOptional

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.


envIdOptional

public java.lang.Object getEnvId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property envId: Environment id.


machineInfosOptional

public java.lang.Object getMachineInfos();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListMachineInfosProperty>

Property machineInfos: The machine infos.


tagIdsOptional

public java.lang.Object getTagIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property tagIds: The ids of tag.


typeOptional

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.