Skip to content

Commit a190e5e

Browse files
committed
minor edits
1 parent 2010aa4 commit a190e5e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -601,17 +601,17 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
601601
The request body should contain the following information:
602602
603603
```json
604-
{
605-
"location": "<VMLocation>",
606-
"properties": {
607-
"publisher": "Microsoft.Azure.Automation.HybridWorker",
608-
"type": "<HybridWorkerForWindows/HybridWorkerForLinux>",
609-
"typeHandlerVersion": <version>,
610-
"settings": {
611-
"AutomationAccountURL" = "<AutomationHybridServiceUrl>"
612-
}
613-
}
604+
{
605+
"location": "<VMLocation>",
606+
"properties": {
607+
"publisher": "Microsoft.Azure.Automation.HybridWorker",
608+
"type": "<HybridWorkerForWindows/HybridWorkerForLinux>",
609+
"typeHandlerVersion": <version>,
610+
"settings": {
611+
"AutomationAccountURL" = "<AutomationHybridServiceUrl>"
614612
}
613+
}
614+
}
615615
616616
```
617617
@@ -621,9 +621,9 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
621621
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}?api-version=2021-05-20
622622
623623
```
624-
625-
624+
626625
The request body should contain the following information:
626+
627627
```json
628628
{
629629
"location": "<VMLocation>",
@@ -634,7 +634,7 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
634634
"settings": {
635635
"AutomationAccountURL" = "<AutomationHybridServiceUrl>"
636636
}
637-
}
637+
}
638638
}
639639
```
640640
Response of the *PUT* call will confirm if the extension is successfully installed or not on the targeted VM. You can also go to the VM in the Azure portal, and check status of extensions installed on the target VM under **Extensions** tab.

0 commit comments

Comments
 (0)