Mengkueri detail diagnostik instans yang menjalankan Elastic Algorithm Service (EAS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DescribeServiceInstanceDiagnosis |
get |
*Service
|
None | None |
Sintaks permintaan
GET /api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/diagnosis HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID wilayah tempat layanan diterapkan. |
cn-shanghai |
| ServiceName |
string |
Yes |
Nama layanan. |
foo |
| InstanceName |
string |
Yes |
Nama instans yang menjalankan layanan. |
foo-69xxxx4f4-5w9r9 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82*** |
| Diagnosis |
object |
The diagnostics information. |
|
| Error |
string |
The error message. |
Container worker0 failed to pull image. |
| Causes |
array |
The causes of the errors. |
|
|
string |
The cause of the error. |
Failed to pull image "busybox:no_exist_tag": rpc error: code = NotFound. |
|
| Advices |
array |
The solutions to the errors. |
|
|
string |
The solution to the error. |
Please make sure the container image exists. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82***",
"Diagnosis": {
"Error": "Container worker0 failed to pull image.",
"Causes": [
"Failed to pull image \"busybox:no_exist_tag\": rpc error: code = NotFound."
],
"Advices": [
"Please make sure the container image exists."
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.