HostGroupProps
Properties for defining a HostGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-devops-hostgroup
Initializer
import ros_cdk_devops
ros_cdk_devops.HostGroupProps(
name: typing.Union[str, IResolvable],
organization_id: typing.Union[str, IResolvable],
service_connection_id: typing.Union[typing.Union[int, float], IResolvable],
aliyun_region: typing.Union[str, IResolvable] = None,
ecs_label_key: typing.Union[str, IResolvable] = None,
ecs_label_value: typing.Union[str, IResolvable] = None,
ecs_type: typing.Union[str, IResolvable] = None,
env_id: typing.Union[str, IResolvable] = None,
machine_infos: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, MachineInfosProperty]]] = None,
tag_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
type: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: Host group name. |
organization_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links. |
service_connection_id |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property serviceConnectionId: Service connection. |
aliyun_region |
typing.Union[str, ros_cdk_core.IResolvable] |
Property aliyunRegion: The aliyun region. |
ecs_label_key |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ecsLabelKey: The tag key of the ECS. |
ecs_label_value |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ecsLabelValue: The tag value of the ECS. |
ecs_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ecsType: The type of ECS, currently only supports ECS_ALIYUN. |
env_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property envId: Environment id. |
machine_infos |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, MachineInfosProperty]]] |
Property machineInfos: The machine infos. |
tag_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property tagIds: The ids of tag. |
type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property type: Host group type, currently only supports ECS. |
name
Required
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: Host group name.
organization_id
Required
organization_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.
service_connection_id
Required
service_connection_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property serviceConnectionId: Service connection.
aliyun_region
Optional
aliyun_region: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property aliyunRegion: The aliyun region.
ecs_label_key
Optional
ecs_label_key: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ecsLabelKey: The tag key of the ECS.
ecs_label_value
Optional
ecs_label_value: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ecsLabelValue: The tag value of the ECS.
ecs_type
Optional
ecs_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ecsType: The type of ECS, currently only supports ECS_ALIYUN.
env_id
Optional
env_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property envId: Environment id.
machine_infos
Optional
machine_infos: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, MachineInfosProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, MachineInfosProperty]]]
Property machineInfos: The machine infos.
tag_ids
Optional
tag_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property tagIds: The ids of tag.
type
Optional
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: Host group type, currently only supports ECS.