Mengkueri statistik produk cloud.
API ini telah ditinggalkan. Kami merekomendasikan migrasi ke Sas(2018-12-03) - GetCloudAssetSummary guna memperoleh fungsionalitas yang lebih baik dan dukungan berkelanjutan. Meskipun API yang telah ditinggalkan ini masih dapat diakses sementara, tidak akan ada pembaruan atau perbaikan bug lebih lanjut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCloudProductFieldStatistics |
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 yang digunakan untuk melacak dan memecahkan masalah. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| GroupedFields |
object |
Statistik produk cloud. |
|
| CategoryCount |
string |
Statistik jumlah produk cloud berdasarkan tipe berbeda. MachineType menunjukkan jenis aset, dan Count menunjukkan jumlah aset untuk jenis aset yang sesuai.
|
[{"MachineType":1,"Count":11}] |
| InstanceCount |
integer |
Jumlah total produk cloud. |
100 |
| RiskInstanceCount |
integer |
Jumlah produk cloud yang memiliki risiko. |
90 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"GroupedFields": {
"CategoryCount": "[{\"MachineType\":1,\"Count\":11}]",
"InstanceCount": 100,
"RiskInstanceCount": 90
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.