public static class ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
healthCheckConnectPort
The backend port that is used for health checks.
|
Integer |
healthCheckConnectTimeout
The maximum timeout period of a health check.
|
String |
healthCheckDomain
The domain name that you want to use for health checks.
|
Boolean |
healthCheckEnabled
Indicates whether the health check feature is enabled.
|
List<String> |
healthCheckHttpCode
The HTTP status codes returned for health checks.
|
Integer |
healthCheckInterval
The interval at which health checks are performed.
|
String |
healthCheckType
The protocol that is used for health checks.
|
String |
healthCheckUrl
The path to which health check probes are sent.
|
Integer |
healthyThreshold
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy.
|
String |
httpCheckMethod
The HTTP method that is used for health checks.
|
Integer |
unhealthyThreshold
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy.
|
| 构造器和说明 |
|---|
ListServerGroupsResponseBodyServerGroupsHealthCheck() |
@NameInMap(value="HealthCheckConnectPort") public Integer healthCheckConnectPort
The backend port that is used for health checks.
Valid values: **0** to **65535**.
A value of **0** indicates that the port on a backend server is used for health checks.
@NameInMap(value="HealthCheckConnectTimeout") public Integer healthCheckConnectTimeout
The maximum timeout period of a health check. Unit: seconds. Valid values: **1** to **300**.
@NameInMap(value="HealthCheckDomain") public String healthCheckDomain
The domain name that you want to use for health checks. Valid values:
* **$SERVER_IP**: the private IP address of a backend server.
* **domain**: a specified domain name. The domain name must be 1 to 80 characters in length, and can contain lowercase letters, digits, hyphens (-), and periods (.).
> This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
@NameInMap(value="HealthCheckEnabled") public Boolean healthCheckEnabled
Indicates whether the health check feature is enabled. Valid values:
* **true**
* **false**
@NameInMap(value="HealthCheckHttpCode") public List<String> healthCheckHttpCode
The HTTP status codes returned for health checks. Multiple HTTP status codes are separated by commas (,). Valid values: **http\_2xx**, **http\_3xx**, **http\_4xx**, and **http\_5xx**.
> This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
@NameInMap(value="HealthCheckInterval") public Integer healthCheckInterval
The interval at which health checks are performed. Unit: seconds.
Valid values: **5** to **50**.
@NameInMap(value="HealthCheckType") public String healthCheckType
The protocol that is used for health checks. Valid values: **TCP** and **HTTP**.
@NameInMap(value="HealthCheckUrl") public String healthCheckUrl
The path to which health check probes are sent.
> This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
@NameInMap(value="HealthyThreshold") public Integer healthyThreshold
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status changes from **fail** to **success**.
Valid values: **2** to **10**.
@NameInMap(value="HttpCheckMethod") public String httpCheckMethod
The HTTP method that is used for health checks. Valid values: **GET** and **HEAD**.
> This parameter takes effect only when **HealthCheckType** is set to **HTTP**.
@NameInMap(value="UnhealthyThreshold") public Integer unhealthyThreshold
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status changes from **success** to **fail**.
Valid values: **2** to **10**.
public ListServerGroupsResponseBodyServerGroupsHealthCheck()
public static ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck build(Map<String,?> map) throws Exception
Exceptionpublic ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckConnectPort(Integer healthCheckConnectPort)
public Integer getHealthCheckConnectPort()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckConnectTimeout(Integer healthCheckConnectTimeout)
public Integer getHealthCheckConnectTimeout()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckDomain(String healthCheckDomain)
public String getHealthCheckDomain()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckEnabled(Boolean healthCheckEnabled)
public Boolean getHealthCheckEnabled()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckHttpCode(List<String> healthCheckHttpCode)
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckInterval(Integer healthCheckInterval)
public Integer getHealthCheckInterval()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckType(String healthCheckType)
public String getHealthCheckType()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthCheckUrl(String healthCheckUrl)
public String getHealthCheckUrl()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHealthyThreshold(Integer healthyThreshold)
public Integer getHealthyThreshold()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setHttpCheckMethod(String httpCheckMethod)
public String getHttpCheckMethod()
public ListServerGroupsResponseBody.ListServerGroupsResponseBodyServerGroupsHealthCheck setUnhealthyThreshold(Integer unhealthyThreshold)
public Integer getUnhealthyThreshold()
Copyright © 2023. All rights reserved.