Skip to content

Commit 400f9e1

Browse files
committed
feedback incorporated
1 parent 8b261b0 commit 400f9e1

File tree

2 files changed

+3
-32
lines changed

2 files changed

+3
-32
lines changed

articles/update-center/manage-arc-enabled-servers-programmatically.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,8 @@ To specify the POST request, you can use the Azure PowerShell [Invoke-AzRestMeth
4848
```azurepowershell
4949
Invoke-AzRestMethod-Path
5050
"/subscriptions/subscriptionId/resourceGroups/resourcegroupname/providers/Microsoft.HybridCompute/machines/machinename/assessPatches?api-version=2020-08-15-preview"
51-
-Payload '{
52-
"maximumDuration": "PT120M",
53-
"rebootSetting": "IfRequired",
54-
"windowsParameters": {
55-
"classificationsToInclude": [
56-
"Security",
57-
"UpdateRollup",
58-
"FeaturePack",
59-
"ServicePack"
60-
],
61-
"kbNumbersToInclude": [
62-
"11111111111",
63-
"22222222222222"
64-
],
65-
"kbNumbersToExclude": [
66-
"333333333333",
67-
"55555555555"
68-
]
69-
}
70-
}'
71-
-Method POST
51+
-Payload '{}' -Method POST
7252
```
73-
7453
---
7554

7655
## Update deployment

articles/update-center/manage-vms-programmatically.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,14 @@ The format of the request body for version 2020-12-01 is as follows:
110110

111111
```json
112112
{
113-
"maximumDuration": "PT120M",
114-
"rebootSetting": "IfRequired",
113+
"maximumDuration"
114+
"rebootSetting"
115115
"windowsParameters": {
116116
"classificationsToInclude": [
117-
"Security",
118-
"UpdateRollup",
119-
"FeaturePack",
120-
"ServicePack"
121117
],
122118
"kbNumbersToInclude": [
123-
"11111111111",
124-
"22222222222222"
125119
],
126120
"kbNumbersToExclude": [
127-
"333333333333",
128-
"55555555555"
129121
]
130122
}
131123
}

0 commit comments

Comments
 (0)