Skip to content

Commit 7b675f9

Browse files
authored
Merge pull request #199914 from SnehaSudhirG/3May-RestAPIUpdate
minor change in API URL.
2 parents bbd7069 + 213f6ab commit 7b675f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/automation/extension-based-hybrid-runbook-worker-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
622622
1. Get the automation account details using this API call.
623623

624624
```http
625-
GET https://westcentralus.management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}?api-version=2021-06-22
625+
GET https://westcentralus.management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/HybridWorkerExtension?api-version=2021-06-22
626626
627627
```
628628

@@ -631,7 +631,7 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
631631
1. Install the Hybrid Worker Extension on Azure VM by using the following API call.
632632

633633
```http
634-
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}?api-version=2021-11-01
634+
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/HybridWorkerExtension?api-version=2021-11-01
635635
636636
```
637637

0 commit comments

Comments
 (0)