Mengambil jumlah masalah Pemeriksaan baseline untuk kluster kontainer.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetClusterCheckItemWarningStatistics |
get |
*All resources
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
ID kluster kontainer yang ingin Anda kueri. Catatan
Panggil operasi DescribeGroupedContainerInstances untuk mendapatkan parameter ini. |
cd49575861a3044d49c954e4b3911**** |
| Uuid |
string |
No |
UUID server. Catatan
Panggil operasi DescribeCloudCenterInstances untuk mendapatkan parameter ini. |
ae1527a9-2308-46ab-b10a-48ae7ff7**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data tanggapan. |
||
| Data |
object |
Statistik Pemeriksaan baseline yang dikelompokkan berdasarkan tingkat risiko (tinggi, menengah, dan rendah). |
|
| LowWarningCount |
integer |
Jumlah item pemeriksaan berisiko rendah. |
1 |
| MediumWarningCount |
integer |
Jumlah item pemeriksaan berisiko menengah. |
2 |
| HighWarningCount |
integer |
Jumlah item pemeriksaan berisiko tinggi. |
3 |
| RequestId |
string |
ID permintaan. Alibaba Cloud menghasilkan pengenal unik untuk setiap permintaan API. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
C2B285A3-3493-5C5F-A224-4CCE4BFC**** |
Contoh
Respons sukses
JSONformat
{
"Data": {
"LowWarningCount": 1,
"MediumWarningCount": 2,
"HighWarningCount": 3
},
"RequestId": "C2B285A3-3493-5C5F-A224-4CCE4BFC****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | A service error occurred. Try again later. |
| 403 | NoPermission | caller has no permission | The current operation is not authorized. Contact the Alibaba Cloud account to grant the permissions in the RAM console before you perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.