public static class GetListenerHealthStatusResponseBody.GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
actualResponse
The HTTP status code returned from the server, for example, **302**.
|
String |
expectedResponse
The HTTP status code returned after backend servers pass health checks.
|
String |
reasonCode
The reason why the value of **Status** is Unhealthy.
|
| 构造器和说明 |
|---|
GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason() |
@NameInMap(value="ActualResponse") public String actualResponse
The HTTP status code returned from the server, for example, **302**.
> A value is returned only if `ReasonCode` is set to **RESPONSE_MISMATCH**.
@NameInMap(value="ExpectedResponse") public String expectedResponse
The HTTP status code returned after backend servers pass health checks.
Valid values: **HTTP_2xx**, **HTTP_3xx**, **HTTP_4xx**, and **HTTP_5xx**. Multiple status codes are separated by commas (,).
> This value is returned only if **ReasonCode** is set to **RESPONSE_MISMATCH**.
@NameInMap(value="ReasonCode") public String reasonCode
The reason why the value of **Status** is Unhealthy. Only HTTP and HTTPS listeners support this parameter.
* **CONNECT_TIMEOUT**: ALB failed to connect to the backend server within the specified period of time.
* **CONNECT_FAILED**: ALB failed to connect to the backend server.
* **RECV_RESPONSE_FAILED**: ALB failed to receive a response from the backend server.
* **RECV_RESPONSE_TIMEOUT**: ALB failed to receive a response from the backend server within the specified period of time.
* **SEND_REQUEST_FAILED**: ALB failed to send a request to the backend server.
* **SEND_REQUEST_TIMEOUT**: ALB failed to send a request to the backend server within the specified period of time.
* **RESPONSE_FORMAT_ERROR**: The format of the response from the backend server is invalid.
* **RESPONSE_FORMAT_ERROR**: The HTTP status code returned from the backend server is not the expected one.
public GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason()
public static GetListenerHealthStatusResponseBody.GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason build(Map<String,?> map) throws Exception
Exceptionpublic GetListenerHealthStatusResponseBody.GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason setActualResponse(String actualResponse)
public String getActualResponse()
public GetListenerHealthStatusResponseBody.GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason setExpectedResponse(String expectedResponse)
public String getExpectedResponse()
public GetListenerHealthStatusResponseBody.GetListenerHealthStatusResponseBodyListenerHealthStatusServerGroupInfosNonNormalServersReason setReasonCode(String reasonCode)
public String getReasonCode()
Copyright © 2024. All rights reserved.