Skip to content

HostGroupProps

Properties for defining a HostGroup.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdevops"
&alicloudroscdkdevops.HostGroupProps {
    Name: interface{},
    OrganizationId: interface{},
    ServiceConnectionId: interface{},
    AliyunRegion: interface{},
    EcsLabelKey: interface{},
    EcsLabelValue: interface{},
    EcsType: interface{},
    EnvId: interface{},
    MachineInfos: interface{},
    TagIds: interface{},
    Type: interface{},
}

Properties

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

NameRequired

Name interface{}
  • Type: interface{}

Property name: Host group name.


OrganizationIdRequired

OrganizationId interface{}
  • Type: interface{}

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


ServiceConnectionIdRequired

ServiceConnectionId interface{}
  • Type: interface{}

Property serviceConnectionId: Service connection.


AliyunRegionOptional

AliyunRegion interface{}
  • Type: interface{}

Property aliyunRegion: The aliyun region.


EcsLabelKeyOptional

EcsLabelKey interface{}
  • Type: interface{}

Property ecsLabelKey: The tag key of the ECS.


EcsLabelValueOptional

EcsLabelValue interface{}
  • Type: interface{}

Property ecsLabelValue: The tag value of the ECS.


EcsTypeOptional

EcsType interface{}
  • Type: interface{}

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


EnvIdOptional

EnvId interface{}
  • Type: interface{}

Property envId: Environment id.


MachineInfosOptional

MachineInfos interface{}
  • Type: interface{}

Property machineInfos: The machine infos.


TagIdsOptional

TagIds interface{}
  • Type: interface{}

Property tagIds: The ids of tag.


TypeOptional

Type interface{}
  • Type: interface{}

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