Skip to content

VServerGroupProps

Properties for defining a VServerGroup.

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

Initializer

import { VServerGroupProps } from '@alicloud/ros-cdk-slb'
const vServerGroupProps: VServerGroupProps = { ... }

Properties

Name Type Description
loadBalancerId string | @alicloud/ros-cdk-core.IResolvable Property loadBalancerId: The id of load balancer.
vServerGroupName string | @alicloud/ros-cdk-core.IResolvable Property vServerGroupName: Display name of the VServerGroup.
backendServers @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | BackendServersProperty[] 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

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

Property loadBalancerId: The id of load balancer.


vServerGroupNameRequired

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

Property vServerGroupName: Display name of the VServerGroup.


backendServersOptional

public readonly backendServers: IResolvable | IResolvable | BackendServersProperty[];

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

public readonly 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.