VServerGroupProps
Properties for defining a VServerGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-vservergroup
Initializer
import com.aliyun.ros.cdk.slb.VServerGroupProps;
VServerGroupProps.builder()
.loadBalancerId(java.lang.String)
.loadBalancerId(IResolvable)
.vServerGroupName(java.lang.String)
.vServerGroupName(IResolvable)
// .backendServers(IResolvable)
// .backendServers(java.util.List<IResolvable)
// .backendServers(BackendServersProperty>)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
loadBalancerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property loadBalancerId: The id of load balancer. |
vServerGroupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vServerGroupName: Display name of the VServerGroup. |
backendServers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
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 |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
loadBalancerIdRequired
public java.lang.Object getLoadBalancerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancerId: The id of load balancer.
vServerGroupNameRequired
public java.lang.Object getVServerGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vServerGroupName: Display name of the VServerGroup.
backendServersOptional
public java.lang.Object getBackendServers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
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 java.util.List<TagsProperty> getTags();
- Type: java.util.List<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.