Mengkueri status origin di load balancer.
Deskripsi operasi
Query the status of origins under load balancers. You can pass multiple load balancer IDs at once, separated by commas. This is for load balancers that have monitors configured. It will probe the origins in the source address pools used by the load balancers and record the current status of each origin.
Healthy(healthy): The probe result is available.
Unhealthy(unhealthy): The probe result is unavailable.
Unknown(unknown): Unknown, the monitor has not yet probed.
Undetected(undetected): The load balancer to which the origin belongs is not bound to a monitor.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:ListLoadBalancerOriginStatus |
list |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. |
1159101787**** |
| LoadBalancerIds |
string |
Yes |
ID load balancer. Pisahkan beberapa ID dengan koma. Anda dapat menentukan hingga 100 ID load balancer dalam satu pengatur waktu. Anda dapat memperoleh ID load balancer dengan memanggil operasi ListLoadBalancers. |
99874066052****,100892832360**** |
| PoolType |
string |
No |
Tipe kolam origin. Load balancer dapat memiliki beberapa kolam origin yang dikonfigurasi, termasuk kolam default, kolam fallback, dan kolam wilayah utama. Hanya status origin di kolam default yang memengaruhi status load balancer itu sendiri. Atur parameter ini ke |
default_pool |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID, used for tracking the request. |
0AEDAF20-4DDF-4165-8750-47FF9C1929C9 |
| OriginStatus |
array<object> |
List of origin statuses under the load balancer. |
|
|
object |
Information about the origin status. |
||
| LoadBalancerId |
integer |
ID of the load balancer. |
99874066052**** |
| OriginId |
integer |
ID of the origin. |
99750209487**** |
| PoolId |
integer |
ID of the source address pool. |
99750209487**** |
| Status |
string |
Status of the origin:
|
healthy |
| Reason |
string |
Reason for the probe failure. |
TCP connection error |
| PoolType |
string |
The origin pool to which the source belongs, under this load balancer. Only 'default_pool' (default address pool) will be displayed; other types will return an empty string. |
default_pool |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9",
"OriginStatus": [
{
"LoadBalancerId": 0,
"OriginId": 0,
"PoolId": 0,
"Status": "healthy",
"Reason": "TCP connection error",
"PoolType": "default_pool"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | LoadBalancerNotExist | The specified load balancer name is invalid or load balancing is not enabled for your website.Make sure that you specify a valid load balancer name and load balancing is enabled. Then, try again. | The specified load balancer name is invalid or load balancing is not enabled for your website.Make sure that you specify a valid load balancer name and load balancing is enabled. Then, try again. |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | The website does not exist or does not belong to you. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.