Mengambil detail Patch garis dasar.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetPatchBaseline |
get |
*garis dasar patch
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-hangzhou |
| Name |
string |
Yes |
Nama Patch garis dasar. |
MyPatchBaseline |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2C630E64-7273-57AC-A598-1B2B8B35CEA5 |
| PatchBaseline |
object |
Detail Patch garis dasar. |
|
| OperationSystem |
string |
Tipe sistem operasi. |
Windows |
| IsDefault |
boolean |
Apakah Patch garis dasar merupakan Patch garis dasar default. |
false |
| Description |
string |
Deskripsi Patch garis dasar. |
UpdatePatchBaseline |
| UpdatedDate |
string |
Pengatur waktu ketika Patch garis dasar terakhir diperbarui, dalam format ISO 8601 UTC. |
2021-09-08T07:26:38Z |
| UpdatedBy |
string |
Pengguna yang terakhir memperbarui Patch garis dasar. |
root(130900000) |
| CreatedBy |
string |
Pengguna yang membuat Patch garis dasar. |
root(130900000) |
| CreatedDate |
string |
Pengatur waktu ketika Patch garis dasar dibuat, dalam format ISO 8601 UTC. |
2021-09-07T03:42:56Z |
| Name |
string |
Nama Patch garis dasar. |
MypatchBaseline |
| ApprovalRules |
string |
Aturan persetujuan. |
{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"EnableNonSecurity":true,"ComplianceLevel":"Medium"}]} |
| Id |
string |
ID Patch garis dasar. |
pb-445340b5c6504a85a300 |
| ShareType |
string |
Tipe berbagi Patch garis dasar. |
Private |
| RejectedPatches |
array |
Nama Patch yang ditolak. |
|
|
string |
Nama Patch yang ditolak. |
RejectedPatch1 |
|
| RejectedPatchesAction |
string |
Aksi yang dilakukan pada Patch yang ditolak. |
ALLOW_AS_DEPENDENCY |
| ApprovedPatches |
array |
Daftar Patch yang disetujui. |
|
|
string |
Daftar Patch yang disetujui. |
ApprovedPatch1 |
|
| ApprovedPatchesEnableNonSecurity |
boolean |
Apakah Patch yang disetujui mencakup pembaruan non-keamanan. |
true |
| Sources |
array |
Daftar konfigurasi sumber Patch. |
|
|
string |
Konfigurasi sumber Patch. |
[main] name=MyCustomRepository baseurl=https://my-custom-repository enabled=1 |
|
| Tags |
array<object> |
Tag. |
|
|
object |
Tag. |
||
| TagKey |
string |
Kunci tag. |
key |
| TagValue |
string |
Nilai tag. |
value |
| ResourceGroupId |
string |
ID kelompok sumber daya. |
rg-acfmzmhzoaad5oq |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2C630E64-7273-57AC-A598-1B2B8B35CEA5",
"PatchBaseline": {
"OperationSystem": "Windows",
"IsDefault": false,
"Description": "UpdatePatchBaseline",
"UpdatedDate": "2021-09-08T07:26:38Z",
"UpdatedBy": "root(130900000)",
"CreatedBy": "root(130900000)",
"CreatedDate": "2021-09-07T03:42:56Z",
"Name": "MypatchBaseline",
"ApprovalRules": "{\"PatchRules\":[{\"PatchFilterGroup\":[{\"Key\":\"PatchSet\",\"Values\":[\"OS\"]},{\"Key\":\"ProductFamily\",\"Values\":[\"Windows\"]},{\"Key\":\"Product\",\"Values\":[\"Windows 10\",\"Windows 7\"]},{\"Key\":\"Classification\",\"Values\":[\"Security Updates\",\"Updates\",\"Update Rollups\",\"Critical Updates\"]},{\"Key\":\"Severity\",\"Values\":[\"Critical\",\"Important\",\"Moderate\"]}],\"ApproveAfterDays\":7,\"EnableNonSecurity\":true,\"ComplianceLevel\":\"Medium\"}]}",
"Id": "pb-445340b5c6504a85a300",
"ShareType": "Private",
"RejectedPatches": [
"RejectedPatch1"
],
"RejectedPatchesAction": "ALLOW_AS_DEPENDENCY",
"ApprovedPatches": [
"ApprovedPatch1"
],
"ApprovedPatchesEnableNonSecurity": true,
"Sources": [
"[main]\nname=MyCustomRepository\nbaseurl=https://my-custom-repository\nenabled=1"
],
"Tags": [
{
"TagKey": "key",
"TagValue": "value"
}
],
"ResourceGroupId": "rg-acfmzmhzoaad5oq"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.