Mengkueri detail atau informasi agregat dari daftar periksa konfigurasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:SearchInventory |
get |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-hangzhou |
| NextToken |
string |
No |
Token paginasi. |
gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC |
| MaxResults |
integer |
No |
Ukuran halaman. Nilai valid: 1 hingga 100. Nilai default: 50. |
50 |
| Filter |
array<object> |
No |
Aturan filter Komponen. |
|
|
object |
No |
|||
| Value |
array |
No |
Daftar nilai kueri properti Komponen. |
i-bp1cpoxxxxxxxxxxxxxx |
|
string |
No |
Nilai kueri properti Komponen. |
i-bp1cpoxxxxxxxxxxxxxx |
|
| Operator |
string |
No |
Operator perbandingan untuk nilai kueri properti Komponen (N berkisar dari 1 hingga 5). Nilai valid:
|
Equal |
| Name |
string |
No |
Nama properti Komponen (N berkisar dari 1 hingga 5). Komponen yang berbeda memiliki nama properti internal yang berbeda. Gunakan GetInventorySchema untuk mengkueri nama properti dari berbagai Produk. Misalnya, Komponen ACS:InstanceInformation memiliki properti bernama InstanceId, sehingga Anda menetapkan parameter ini ke ACS:InstanceInformation.InstanceId. |
ACS:InstanceInformation.InstanceId |
| Aggregator |
array |
No |
Agregator. Anda dapat menggunakan satu atau lebih agregator untuk mengkueri informasi agregat Instans. Nilai valid:
|
ACS:Application.Name |
|
string |
No |
Agregator. |
ACS:Application.Name |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
Token paginasi. |
gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC |
| RequestId |
string |
ID permintaan. |
A81E4B2E-6B33-4BAE-9856-55DB7C893E01 |
| MaxResults |
integer |
Ukuran halaman. |
50 |
| Entities |
array<object> |
Entitas. |
|
|
object |
Detail daftar periksa konfigurasi atau informasi agregat yang dikembalikan oleh kueri Komponen. |
[ { "ACS:InstanceInformation": { "CaptureTime": "2020-10-13T08:55:06Z", "SchemaVersion": "1.0", "Content": { "PlatformName": "ubuntu", "PlatformVersion": "20.04", "Status": "Running", "InstanceId": "i-bp1cpoxxxxxxxxxxxxxx", "AgentVersion": "v1.5", "ComputerName": "iZbp1cpoxxxw111jcv94drZ", "IpAddress": "192.168.10.245", "AgentName": "oosutil", "PlatformType": "linux" }, "RegionId": "cn-hangzhou" }, "Id": "i-bp1cpoxxxxxxxxxxxxxx" } ]} |
Contoh
Respons sukses
JSONformat
{
"NextToken": "gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC",
"RequestId": "A81E4B2E-6B33-4BAE-9856-55DB7C893E01",
"MaxResults": 50,
"Entities": [
{
"test": "test",
"test2": 1
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.