Mengambil informasi patch untuk instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ListInstancePatchStates |
list |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-hangzhou |
| MaxResults |
integer |
No |
Jumlah entri per halaman. |
50 |
| NextToken |
string |
No |
Token paginasi. |
- |
| InstanceIds |
string |
No |
ID Instans ECS. Nilai berupa array JSON yang terdiri dari hingga 100 ID instans. Pisahkan beberapa ID dengan koma (,). |
["i-bp1jaxa2bs4bps7*****", "i-bp67acfmxazb4p****", … "i-bp67acfmxazb4p****"] |
| AccountId |
string |
No |
123456789 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
Token paginasi. |
- |
| RequestId |
string |
ID permintaan. |
9A47C086-E64D-52EE-8B2C-EFD23877C55E |
| MaxResults |
integer |
Jumlah entri per halaman. |
50 |
| InstancePatchStates |
array<object> |
Informasi patch instans. |
|
|
object |
|||
| MissingCount |
string |
Jumlah patch yang tidak terpasang. |
0 |
| OperationEndTime |
string |
Waktu ketika operasi berakhir. |
2021-09-10T11:42:22Z |
| OwnerInformation |
string |
Informasi Pemilik. |
“” |
| InstalledOtherCount |
string |
Jumlah patch yang tidak memenuhi garis dasar. |
0 |
| InstanceId |
string |
ID Instans ECS. |
i-bp1jaxa2bs4bps7***** |
| OperationType |
string |
Tipe operasi. |
scan |
| OperationStartTime |
string |
Waktu ketika operasi dimulai. |
2021-09-10T11:42:22Z |
| FailedCount |
string |
Jumlah patch yang gagal dipasang. |
0 |
| BaselineId |
string |
ID garis dasar patch. |
pb-f9393021b7a049e1b34e |
| InstalledPendingRebootCount |
string |
Jumlah patch terpasang yang menunggu restart. |
0 |
| InstalledRejectedCount |
string |
Jumlah patch terpasang yang ditolak oleh pengguna. |
0 |
| PatchGroup |
string |
Kelompok patch. |
null |
| InstalledCount |
string |
Jumlah patch terpasang. |
0 |
Contoh
Respons sukses
JSONformat
{
"NextToken": "-",
"RequestId": "9A47C086-E64D-52EE-8B2C-EFD23877C55E",
"MaxResults": 50,
"InstancePatchStates": [
{
"MissingCount": "0",
"OperationEndTime": "2021-09-10T11:42:22Z",
"OwnerInformation": "“”",
"InstalledOtherCount": "0",
"InstanceId": "i-bp1jaxa2bs4bps7*****",
"OperationType": "scan",
"OperationStartTime": "2021-09-10T11:42:22Z",
"FailedCount": "0",
"BaselineId": "pb-f9393021b7a049e1b34e",
"InstalledPendingRebootCount": "0",
"InstalledRejectedCount": "0",
"PatchGroup": "null",
"InstalledCount": "0"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.