Belirtilen Container Service for Kubernetes (ACK) kümesinin günlüklerini sorgular.
Hata Ayıklama
İstek sözdizimi
GET /clusters/ClusterId/logs HTTP/1.1
Content-Type:application/json
İstek parametreleri
| Parametre | Tür | Zorunlu | Örnek | Açıklama |
| ClusterId | String | Evet | c106f377e16f34eb1808d6b9362c9**** |
|
Yanıt sözdizimi
HTTP/1.1 200
Content-Type:application/json
[ {
"ID" : Long,
"cluster_id" : "String",
"cluster_log" : "String",
"created" : "String",
"updated" : "String"
} ]
Yanıt parametreleri
| Parametre | Tür | Örnek | Açıklama |
| Dizi |
|
||
| ID | Long | 590749245 |
|
| cluster_id | String | c23421cfa74454bc8b37163fd19af*** |
|
| cluster_log | String | start to update cluster status to CREATE_COMPLETE |
|
| created | String | 2020-09-11T10:11:51+08:00 |
|
| updated | String | 2020-09-11T10:11:51+08:00 |
|
Örnekler
Örnek istekler
GET /clusters/c106f377e16f34eb1808d6b9362c9****/logs HTTP/1.1
Host:cs.aliyuncs.com
Content-Type:application/json
Başarılı yanıt örnekleri
XML biçimi
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeClusterLogsResponse>
<ID>590749245</ID>
<cluster_id>c23421cfa74454bc8b37163fd19af***</cluster_id>
<cluster_log>start to update cluster status to CREATE_COMPLETE</cluster_log>
<created>2020-09-11T10:11:51+08:00</created>
<updated>2020-09-11T10:11:51+08:00</updated>
</DescribeClusterLogsResponse>
JSON biçimi
HTTP/1.1 200 OK
Content-Type:application/json
[ {
"ID" : 590749245,
"cluster_id" : "c23421cfa74454bc8b37163fd19af***",
"cluster_log" : "start to update cluster status to CREATE_COMPLETE",
"created" : "2020-09-11T10:11:51+08:00",
"updated" : "2020-09-11T10:11:51+08:00"
} ]
Hata kodları
Hata kodlarının listesi için API Hata Merkezi adresini ziyaret edin.