ServerGroupProps
Properties for defining a ServerGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gwlb-servergroup
Initializer
using AlibabaCloud.SDK.ROS.CDK.Gwlb;
new ServerGroupProps {
object VpcId,
object ConnectionDrainConfig = null,
object HealthCheckConfig = null,
object Protocol = null,
object ResourceGroupId = null,
object Scheduler = null,
object ServerGroupName = null,
object ServerGroupType = null,
object Servers = null,
TagsProperty[] Tags = null
};
Properties
| Name | Type | Description |
|---|---|---|
VpcId | object | Property vpcId: The VPC instance ID. |
ConnectionDrainConfig | object | Property connectionDrainConfig: Connected graceful interrupt configuration. |
HealthCheckConfig | object | Property healthCheckConfig: Health check configurations. |
Protocol | object | Property protocol: Backend Protocol. |
ResourceGroupId | object | Property resourceGroupId: The ID of the resource group. |
Scheduler | object | Property scheduler: Scheduling algorithm. |
ServerGroupName | object | Property serverGroupName: The server group name. |
ServerGroupType | object | Property serverGroupType: The server group type. |
Servers | object | Property servers: List of servers. |
Tags | TagsProperty[] | Property tags: Tags of server group. |
VpcIdRequired
public object VpcId { get; set; }
- Type: object
Property vpcId: The VPC instance ID.
If the value of ServerGroupType is Instance, only servers in the VPC can be added to the server group.
ConnectionDrainConfigOptional
public object ConnectionDrainConfig { get; set; }
- Type: object
Property connectionDrainConfig: Connected graceful interrupt configuration.
HealthCheckConfigOptional
public object HealthCheckConfig { get; set; }
- Type: object
Property healthCheckConfig: Health check configurations.
ProtocolOptional
public object Protocol { get; set; }
- Type: object
Property protocol: Backend Protocol.
Value: GENEVE (default).
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
SchedulerOptional
public object Scheduler { get; set; }
- Type: object
Property scheduler: Scheduling algorithm.
Value:
- 5TCH (default): quintuple hash, which is based on the consistent hash of the quintuple (source IP, Destination IP, source port, destination port, and protocol). The same flow is scheduled to the same backend server.
- 3TCH: a three-tuple hash, which is based on the consistent hash of three tuples (source IP address, destination IP address, and protocol). The same flow is dispatched to the same backend server.
- 2TCH: Binary Group hash, which is based on the consistent hash of the binary group (source IP and destination IP). The same flow is scheduled to the same backend server.
ServerGroupNameOptional
public object ServerGroupName { get; set; }
- Type: object
Property serverGroupName: The server group name.
It must be 2 to 128 characters in length, start with an uppercase letter or a Chinese character, and can contain digits, half-width periods (.), underscores (_), and dashes (-).
ServerGroupTypeOptional
public object ServerGroupType { get; set; }
- Type: object
Property serverGroupType: The server group type.
Value:
- Instance (default): The instance type. You can add Ecs, Eni, and Eci instances to the server group.
- Ip: The Ip address type. You can directly add backend servers of the Ip address type to the server group.
ServersOptional
public object Servers { get; set; }
- Type: object
Property servers: List of servers.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags of server group.