Skip to content

HostGroupProps

Properties for defining a HostGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-devops-hostgroup

Initializer

import { HostGroupProps } from '@alicloud/ros-cdk-devops'
const hostGroupProps: HostGroupProps = { ... }

Properties

Name Type Description
name string | @alicloud/ros-cdk-core.IResolvable Property name: Host group name.
organizationId string | @alicloud/ros-cdk-core.IResolvable Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.
serviceConnectionId number | @alicloud/ros-cdk-core.IResolvable Property serviceConnectionId: Service connection.
aliyunRegion string | @alicloud/ros-cdk-core.IResolvable Property aliyunRegion: The aliyun region.
ecsLabelKey string | @alicloud/ros-cdk-core.IResolvable Property ecsLabelKey: The tag key of the ECS.
ecsLabelValue string | @alicloud/ros-cdk-core.IResolvable Property ecsLabelValue: The tag value of the ECS.
ecsType string | @alicloud/ros-cdk-core.IResolvable Property ecsType: The type of ECS, currently only supports ECS_ALIYUN.
envId string | @alicloud/ros-cdk-core.IResolvable Property envId: Environment id.
machineInfos @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | MachineInfosProperty[] Property machineInfos: The machine infos.
tagIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property tagIds: The ids of tag.
type string | @alicloud/ros-cdk-core.IResolvable Property type: Host group type, currently only supports ECS.

nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: Host group name.


organizationIdRequired

public readonly organizationId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.


serviceConnectionIdRequired

public readonly serviceConnectionId: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property serviceConnectionId: Service connection.


aliyunRegionOptional

public readonly aliyunRegion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property aliyunRegion: The aliyun region.


ecsLabelKeyOptional

public readonly ecsLabelKey: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ecsLabelKey: The tag key of the ECS.


ecsLabelValueOptional

public readonly ecsLabelValue: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ecsLabelValue: The tag value of the ECS.


ecsTypeOptional

public readonly ecsType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ecsType: The type of ECS, currently only supports ECS_ALIYUN.


envIdOptional

public readonly envId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property envId: Environment id.


machineInfosOptional

public readonly machineInfos: IResolvable | IResolvable | MachineInfosProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | MachineInfosProperty[]

Property machineInfos: The machine infos.


tagIdsOptional

public readonly tagIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property tagIds: The ids of tag.


typeOptional

public readonly type: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property type: Host group type, currently only supports ECS.