Skip to content

Commit 2010aa4

Browse files
committed
minor edits
1 parent 462b408 commit 2010aa4

File tree

1 file changed

+32
-29
lines changed

1 file changed

+32
-29
lines changed

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

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Deploy an extension-based Windows or Linux User Hybrid Runbook Worker in
33
description: This article tells how to deploy an extension-based Windows or Linux Hybrid Runbook Worker that you can use to run runbooks on Windows-based machines in your local datacenter or cloud environment.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 09/28/2021
6+
ms.date: 03/17/2021
77
ms.topic: how-to
88
#Customer intent: As a developer, I want to learn about extension so that I can efficiently deploy Hybrid Runbook Workers.
99
---
@@ -593,50 +593,53 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
593593

594594
1. Install the Hybrid Worker Extension on Azure VM by the following API call
595595

596-
```http
597-
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}?api-version=2021-11-01
596+
```http
597+
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}?api-version=2021-11-01
598598
599-
```
600-
599+
```
601600
602601
The request body should contain the following information:
603-
```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-
}
614-
}
615602
616-
```
603+
```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+
}
614+
}
615+
616+
```
617+
617618
For ARC VMs, use the below API call for enabling the extension:
618-
```http
619+
620+
```http
619621
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}?api-version=2021-05-20
620-
```
622+
623+
```
621624
622625
623626
The request body should contain the following information:
624-
```json
625-
{
626-
"location": "<VMLocation>",
627-
"properties": {
627+
```json
628+
{
629+
"location": "<VMLocation>",
630+
"properties": {
628631
"publisher": "Microsoft.Azure.Automation.HybridWorker",
629632
"type": "<HybridWorkerForWindows/HybridWorkerForLinux>",
630633
"typeHandlerVersion": <version>,
631634
"settings": {
632635
"AutomationAccountURL" = "<AutomationHybridServiceUrl>"
633-
}
636+
}
634637
}
635-
}
636-
```
637-
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.
638+
}
639+
```
640+
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.
638641
639-
1. Go to the **Portal** page of the VM and in the **Extensions** tab, you can check the status of the Hybrid Worker Extension installation.
642+
1. Go to the Azure portal page of the VM and in the **Extensions** tab, you can check the status of the Hybrid Worker Extension.installation.
640643
641644
642645
## Manage Role permissions for Hybrid Worker Groups and Hybrid Workers

0 commit comments

Comments
 (0)