Skip to content

HostGroupProps

Properties for defining a HostGroup.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Devops;
new HostGroupProps {
    object Name,
    object OrganizationId,
    object ServiceConnectionId,
    object AliyunRegion = null,
    object EcsLabelKey = null,
    object EcsLabelValue = null,
    object EcsType = null,
    object EnvId = null,
    object MachineInfos = null,
    object TagIds = null,
    object Type = null
};

Properties

Name Type Description
Name object Property name: Host group name.
OrganizationId object Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.
ServiceConnectionId object Property serviceConnectionId: Service connection.
AliyunRegion object Property aliyunRegion: The aliyun region.
EcsLabelKey object Property ecsLabelKey: The tag key of the ECS.
EcsLabelValue object Property ecsLabelValue: The tag value of the ECS.
EcsType object Property ecsType: The type of ECS, currently only supports ECS_ALIYUN.
EnvId object Property envId: Environment id.
MachineInfos object Property machineInfos: The machine infos.
TagIds object Property tagIds: The ids of tag.
Type object Property type: Host group type, currently only supports ECS.

NameRequired

public object Name { get; set; }
  • Type: object

Property name: Host group name.


OrganizationIdRequired

public object OrganizationId { get; set; }
  • Type: object

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


ServiceConnectionIdRequired

public object ServiceConnectionId { get; set; }
  • Type: object

Property serviceConnectionId: Service connection.


AliyunRegionOptional

public object AliyunRegion { get; set; }
  • Type: object

Property aliyunRegion: The aliyun region.


EcsLabelKeyOptional

public object EcsLabelKey { get; set; }
  • Type: object

Property ecsLabelKey: The tag key of the ECS.


EcsLabelValueOptional

public object EcsLabelValue { get; set; }
  • Type: object

Property ecsLabelValue: The tag value of the ECS.


EcsTypeOptional

public object EcsType { get; set; }
  • Type: object

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


EnvIdOptional

public object EnvId { get; set; }
  • Type: object

Property envId: Environment id.


MachineInfosOptional

public object MachineInfos { get; set; }
  • Type: object

Property machineInfos: The machine infos.


TagIdsOptional

public object TagIds { get; set; }
  • Type: object

Property tagIds: The ids of tag.


TypeOptional

public object Type { get; set; }
  • Type: object

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