You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/update-center/manage-arc-enabled-servers-programmatically.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: This article tells how to use Update management center (preview) us
4
4
ms.service: update-management-center
5
5
author: SnehaSudhirG
6
6
ms.author: sudhirsneha
7
-
ms.date: 02/20/2023
7
+
ms.date: 03/22/2023
8
8
ms.topic: conceptual
9
9
---
10
10
@@ -21,7 +21,7 @@ Support for Azure REST API to manage Azure Arc-enabled servers is available thro
21
21
To trigger an update assessment on your Azure Arc-enabled server, specify the following POST request:
22
22
23
23
```rest
24
-
POST on `subscriptions/subscriptionId/resourceGroups/resourceGroupName/provider/Microsoft.HybridCompute/machines/machineName/assessPatches?api-version=2020-08-15-preview`
24
+
POST on `subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridCompute/machines/machineName/assessPatches?api-version=2020-08-15-preview`
25
25
{
26
26
}
27
27
```
@@ -31,7 +31,7 @@ POST on `subscriptions/subscriptionId/resourceGroups/resourceGroupName/provider/
31
31
To specify the POST request, you can use the Azure CLI [az rest](/cli/azure/reference-index#az_rest) command.
32
32
33
33
```azurecli
34
-
az rest --method post --url https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/provider/Microsoft.HybridCompute/machines/machineName/assessPatches?api-version=2020-08-15-preview --body @body.json
34
+
az rest --method post --url https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridCompute/machines/machineName/assessPatches?api-version=2020-08-15-preview --body @body.json
35
35
```
36
36
37
37
The format of the request body for version 2020-08-15 is as follows:
@@ -64,7 +64,7 @@ Invoke-AzRestMethod
64
64
To trigger an update deployment to your Azure Arc-enabled server, specify the following POST request:
65
65
66
66
```rest
67
-
POST on `subscriptions/subscriptionId/resourceGroups/resourceGroupName/provider/Microsoft.HybridCompute/machines/machineName/installPatches?api-version=2020-08-15-preview`
67
+
POST on `subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridCompute/machines/machineName/installPatches?api-version=2020-08-15-preview`
68
68
```
69
69
70
70
#### Request body
@@ -154,12 +154,8 @@ To specify the POST request, you can use the Azure PowerShell [Invoke-AzRestMeth
0 commit comments