Statistik informasi kontainer.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeContainerFieldStatistics |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan ini. |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
| ContainerGroupedFields |
object |
Statistik kontainer. |
|
| RiskImageCount |
integer |
Jumlah image yang berisiko. |
1 |
| RiskPodCount |
integer |
Jumlah pod yang berisiko. |
2 |
| NamespaceCount |
integer |
Jumlah namespace. |
3 |
| PodCount |
integer |
Jumlah pod. |
1 |
| AppCount |
integer |
Jumlah aplikasi. |
3 |
| ContainerCount |
integer |
Jumlah kontainer. |
1 |
| ImageCount |
integer |
Jumlah image. |
3 |
| RiskContainerCount |
integer |
Jumlah kontainer yang berisiko. |
1 |
| ClusterCount |
integer |
Jumlah klaster. |
1 |
| RiskAppCount |
integer |
Jumlah aplikasi yang berisiko. |
1 |
| RiskClusterCount |
integer |
Jumlah klaster yang berisiko. |
1 |
| RiskInstanceCount |
integer |
Jumlah instance yang berisiko. |
3 |
| InstanceCount |
integer |
Jumlah instance. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
"ContainerGroupedFields": {
"RiskImageCount": 1,
"RiskPodCount": 2,
"NamespaceCount": 3,
"PodCount": 1,
"AppCount": 3,
"ContainerCount": 1,
"ImageCount": 3,
"RiskContainerCount": 1,
"ClusterCount": 1,
"RiskAppCount": 1,
"RiskClusterCount": 1,
"RiskInstanceCount": 3,
"InstanceCount": 1
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.