Skip to content

VServerGroupProps

Properties for defining a VServerGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-vservergroup

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb"
&alicloudroscdkslb.VServerGroupProps {
    LoadBalancerId: interface{},
    VServerGroupName: interface{},
    BackendServers: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb.RosVServerGroup.TagsProperty,
}

Properties

Name Type Description
LoadBalancerId interface{} Property loadBalancerId: The id of load balancer.
VServerGroupName interface{} Property vServerGroupName: Display name of the VServerGroup.
BackendServers interface{} Property backendServers: The list of a combination of ECS Instance-Port-Weight.Same ecs instance with different port is allowed, but same ecs instance with same port isn't.
Tags *[]TagsProperty Property tags: Tags to attach to instance.

LoadBalancerIdRequired

LoadBalancerId interface{}
  • Type: interface{}

Property loadBalancerId: The id of load balancer.


VServerGroupNameRequired

VServerGroupName interface{}
  • Type: interface{}

Property vServerGroupName: Display name of the VServerGroup.


BackendServersOptional

BackendServers interface{}
  • Type: interface{}

Property backendServers: The list of a combination of ECS Instance-Port-Weight.Same ecs instance with different port is allowed, but same ecs instance with same port isn't.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.