public static class CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
enableClientIPPreservationProxyProtocol
Specifies whether to use the proxy protocol to preserve client IP addresses.
|
Boolean |
enableClientIPPreservationToa
Specifies whether to preserve client IP addresses by using the TCP Option Address (TOA) module.
|
List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> |
endpointConfigurations |
String |
endpointGroupDescription
The description of the endpoint group.
|
String |
endpointGroupName
The name of the endpoint group.
|
String |
endpointGroupRegion
The ID of the region where you want to create the endpoint group.
|
String |
endpointGroupType
The type of the endpoint group.
|
String |
endpointRequestProtocol
The protocol that is used by the backend service.
|
Boolean |
healthCheckEnabled
Specifies whether to enable the health check feature.
|
Long |
healthCheckIntervalSeconds
The interval at which health checks are performed.
|
String |
healthCheckPath
The path to which health check requests are sent.
|
Long |
healthCheckPort
The port that is used for health checks.
|
String |
healthCheckProtocol
The protocol over which health check requests are sent.
|
List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> |
portOverrides |
Long |
thresholdCount
The number of consecutive health check failures that must occur before a healthy endpoint group is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint group is considered healthy.
|
Long |
trafficPercentage
The value of the traffic distribution ratio.
|
| 构造器和说明 |
|---|
CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations() |
@NameInMap(value="EnableClientIPPreservationProxyProtocol") public Boolean enableClientIPPreservationProxyProtocol
Specifies whether to use the proxy protocol to preserve client IP addresses. Default value: false. Valid values:
* **true**: uses the proxy protocol to preserve client IP addresses.
* **false**: does not use the proxy protocol to preserve client IP addresses.
You can specify this parameter for up to 10 endpoint groups.
@NameInMap(value="EnableClientIPPreservationToa") public Boolean enableClientIPPreservationToa
Specifies whether to preserve client IP addresses by using the TCP Option Address (TOA) module. Default value: false. Valid values:
* **true**: preserves client IP addresses by using the TOA module.
* **false**: does not preserve client IP addresses by using the TOA module.
You can specify this parameter for up to 10 endpoint groups.
@NameInMap(value="EndpointConfigurations") public List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> endpointConfigurations
@NameInMap(value="EndpointGroupDescription") public String endpointGroupDescription
The description of the endpoint group.
The description cannot exceed 256 characters in length and cannot contain `http://` or `https://`.
You can enter the descriptions of up to 10 endpoint groups.
@NameInMap(value="EndpointGroupName") public String endpointGroupName
The name of the endpoint group.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
You can enter the names of up to 10 endpoint groups.
@NameInMap(value="EndpointGroupRegion") public String endpointGroupRegion
The ID of the region where you want to create the endpoint group.
You can enter the IDs of up to 10 regions.
@NameInMap(value="EndpointGroupType") public String endpointGroupType
The type of the endpoint group. Default value: default. Valid values:
* **default**: a default endpoint group.
* **virtual**: a virtual endpoint group.
You can specify the types of up to 10 endpoint groups.
> Only HTTP and HTTPS listeners support virtual endpoint groups.
@NameInMap(value="EndpointRequestProtocol") public String endpointRequestProtocol
The protocol that is used by the backend service. Default value: HTTP. Valid values:
* **HTTP**: HTTP
* **HTTPS**: HTTPS
You can specify up to 10 backend service protocols.
>
* You can set this parameter only if the listener that is associated with the endpoint group uses **HTTP** or **HTTPS**.
* For an **HTTP** listener, the backend service protocol must be **HTTP**.
@NameInMap(value="HealthCheckEnabled") public Boolean healthCheckEnabled
Specifies whether to enable the health check feature. Default value: false. Valid values:
* **true**: enables the health check feature.
* **false**: disables the health check feature.
You can enable the health check feature for up to 10 endpoint groups.
@NameInMap(value="HealthCheckIntervalSeconds") public Long healthCheckIntervalSeconds
The interval at which health checks are performed. Unit: seconds.
You can specify up to 10 health check intervals.
@NameInMap(value="HealthCheckPath") public String healthCheckPath
The path to which health check requests are sent.
You can specify up to 10 health check paths.
@NameInMap(value="HealthCheckPort") public Long healthCheckPort
The port that is used for health checks. Valid values: **1** to **65535**.
You can specify up to 10 ports for health checks.
@NameInMap(value="HealthCheckProtocol") public String healthCheckProtocol
The protocol over which health check requests are sent. Valid values:
* **tcp**: TCP
* **http**: HTTP
* **https**: HTTPS
You can specify up to 10 health check protocols.
@NameInMap(value="PortOverrides") public List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> portOverrides
@NameInMap(value="ThresholdCount") public Long thresholdCount
The number of consecutive health check failures that must occur before a healthy endpoint group is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint group is considered healthy.
Valid values: **2** to **10**. Default value: **3**.
You can specify the number of consecutive health check successes or failures for up to 10 endpoint groups.
@NameInMap(value="TrafficPercentage") public Long trafficPercentage
The value of the traffic distribution ratio. If a listener is associated with multiple endpoint groups, you can set this parameter to distribute different percentages of traffic to the endpoint groups.
Valid values: **1** to **100**. Default value: **100**.
You can specify the traffic distribution ratios for up to 10 endpoint groups.
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations()
public static CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations build(Map<String,?> map) throws Exception
Exceptionpublic CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEnableClientIPPreservationProxyProtocol(Boolean enableClientIPPreservationProxyProtocol)
public Boolean getEnableClientIPPreservationProxyProtocol()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEnableClientIPPreservationToa(Boolean enableClientIPPreservationToa)
public Boolean getEnableClientIPPreservationToa()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEndpointConfigurations(List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> endpointConfigurations)
public List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> getEndpointConfigurations()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupDescription(String endpointGroupDescription)
public String getEndpointGroupDescription()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupName(String endpointGroupName)
public String getEndpointGroupName()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupRegion(String endpointGroupRegion)
public String getEndpointGroupRegion()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupType(String endpointGroupType)
public String getEndpointGroupType()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setEndpointRequestProtocol(String endpointRequestProtocol)
public String getEndpointRequestProtocol()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckEnabled(Boolean healthCheckEnabled)
public Boolean getHealthCheckEnabled()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckIntervalSeconds(Long healthCheckIntervalSeconds)
public Long getHealthCheckIntervalSeconds()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckPath(String healthCheckPath)
public String getHealthCheckPath()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckPort(Long healthCheckPort)
public Long getHealthCheckPort()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckProtocol(String healthCheckProtocol)
public String getHealthCheckProtocol()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setPortOverrides(List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> portOverrides)
public List<CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> getPortOverrides()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setThresholdCount(Long thresholdCount)
public Long getThresholdCount()
public CreateEndpointGroupsRequest.CreateEndpointGroupsRequestEndpointGroupConfigurations setTrafficPercentage(Long trafficPercentage)
public Long getTrafficPercentage()
Copyright © 2023. All rights reserved.