public static class ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
addressIPVersion
The IP version.
|
Long |
aliUid
The ID of the Alibaba Cloud account.
|
Boolean |
anyPortEnabled
Indicates whether the feature of forwarding requests to all ports is enabled.
|
Boolean |
connectionDrainEnabled
Indicates whether connection draining is enabled.
|
Integer |
connectionDrainTimeout
The timeout period of connection draining.
|
ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck |
healthCheck
The configurations of health checks.
|
Boolean |
preserveClientIpEnabled
Indicates whether client IP preservation is enabled.
|
String |
protocol
The protocol used to forward requests to the backend servers.
|
String |
regionId
The region ID of the NLB instance.
|
List<String> |
relatedLoadBalancerIds
The NLB instances.
|
String |
resourceGroupId
The ID of the resource group to which the server group belongs.
|
String |
scheduler
The routing algorithm.
|
Integer |
serverCount
The number of server groups associated with the NLB instances.
|
String |
serverGroupId
The server group ID.
|
String |
serverGroupName
The server group name.
|
String |
serverGroupStatus
The status of the server group.
|
String |
serverGroupType
The type of server group.
|
List<ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsTags> |
tags
The tag.
|
String |
vpcId
The ID of the VPC to which the server group belongs.
|
| 构造器和说明 |
|---|
ListServerGroupsResponseBodyServerGroups() |
@NameInMap(value="AddressIPVersion") public String addressIPVersion
The IP version. Valid values:
* **ipv4**
* **DualStack**
@NameInMap(value="AliUid") public Long aliUid
The ID of the Alibaba Cloud account.
@NameInMap(value="AnyPortEnabled") public Boolean anyPortEnabled
Indicates whether the feature of forwarding requests to all ports is enabled. Valid values:
* **true**
* **false**
@NameInMap(value="ConnectionDrainEnabled") public Boolean connectionDrainEnabled
Indicates whether connection draining is enabled. Valid values:
* **true**
* **false**
@NameInMap(value="ConnectionDrainTimeout") public Integer connectionDrainTimeout
The timeout period of connection draining. Unit: seconds. Valid values: **10** to **900**.
@NameInMap(value="HealthCheck") public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck healthCheck
The configurations of health checks.
@NameInMap(value="PreserveClientIpEnabled") public Boolean preserveClientIpEnabled
Indicates whether client IP preservation is enabled. Valid values:
* **true**
* **false**
> This parameter is set to **true** by default when **AddressIPVersion** is set to **ipv4**. This parameter is set to **false** when **AddressIPVersion** is set to **ipv6**. **true** will be supported by later versions.
@NameInMap(value="Protocol") public String protocol
The protocol used to forward requests to the backend servers. Valid values: **TCP**, **UDP**, and **TCPSSL**.
@NameInMap(value="RegionId") public String regionId
The region ID of the NLB instance.
@NameInMap(value="RelatedLoadBalancerIds") public List<String> relatedLoadBalancerIds
The NLB instances.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the server group belongs.
@NameInMap(value="Scheduler") public String scheduler
The routing algorithm. Valid values:
* **Wrr**: Backend servers with higher weights receive more requests than backend servers with lower weights.
* **rr**: Requests are forwarded to the backend servers in sequence. sch: Requests are forwarded to the backend servers based on source IP address hashing.
* **sch**: Requests from the same source IP address are forwarded to the same backend server.
* **tch**: Four-element hashing, which specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
* **qch**: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
@NameInMap(value="ServerCount") public Integer serverCount
The number of server groups associated with the NLB instances.
@NameInMap(value="ServerGroupId") public String serverGroupId
The server group ID.
@NameInMap(value="ServerGroupName") public String serverGroupName
The server group name.
@NameInMap(value="ServerGroupStatus") public String serverGroupStatus
The status of the server group. Valid values:
* **Creating**
* **Available**
* **Configuring**
@NameInMap(value="ServerGroupType") public String serverGroupType
The type of server group. Valid values:
* **Instance** : contains servers of the **Ecs**, **Ens**, and **Eci** types.
* **Ip**: contains servers specified by IP addresses.
@NameInMap(value="Tags") public List<ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsTags> tags
The tag.
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC to which the server group belongs.
public static ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups build(Map<String,?> map) throws Exception
Exceptionpublic ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setAddressIPVersion(String addressIPVersion)
public String getAddressIPVersion()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setAliUid(Long aliUid)
public Long getAliUid()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setAnyPortEnabled(Boolean anyPortEnabled)
public Boolean getAnyPortEnabled()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setConnectionDrainEnabled(Boolean connectionDrainEnabled)
public Boolean getConnectionDrainEnabled()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setConnectionDrainTimeout(Integer connectionDrainTimeout)
public Integer getConnectionDrainTimeout()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setHealthCheck(ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck healthCheck)
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck getHealthCheck()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setPreserveClientIpEnabled(Boolean preserveClientIpEnabled)
public Boolean getPreserveClientIpEnabled()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setProtocol(String protocol)
public String getProtocol()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setRegionId(String regionId)
public String getRegionId()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setRelatedLoadBalancerIds(List<String> relatedLoadBalancerIds)
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setScheduler(String scheduler)
public String getScheduler()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setServerCount(Integer serverCount)
public Integer getServerCount()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setServerGroupId(String serverGroupId)
public String getServerGroupId()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setServerGroupName(String serverGroupName)
public String getServerGroupName()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setServerGroupStatus(String serverGroupStatus)
public String getServerGroupStatus()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setServerGroupType(String serverGroupType)
public String getServerGroupType()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setTags(List<ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsTags> tags)
public List<ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsTags> getTags()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroups setVpcId(String vpcId)
public String getVpcId()
Copyright © 2023. All rights reserved.