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/automation/extension-based-hybrid-runbook-worker-install.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -257,11 +257,13 @@ You can delete an empty Hybrid Runbook Worker group from the portal.
257
257
258
258
The hybrid worker group will be deleted.
259
259
260
-
## Use Azure Resource Manager template
260
+
## Manage Hybrid Worker extension using ARM template, REST API, and Azure CLI
261
+
262
+
#### [ARM template](#tab/arm-template)
261
263
262
264
You can use an Azure Resource Manager (ARM) template to create a new Azure Windows VM and connect it to an existing Automation account and Hybrid Worker Group. To learn more about ARM templates, see [What are ARM templates?](../azure-resource-manager/templates/overview.md)
263
265
264
-
### Review the template
266
+
**Review the template**
265
267
266
268
```json
267
269
{
@@ -546,7 +548,7 @@ The following Azure resources are defined in the template:
@@ -563,14 +565,14 @@ Review the parameters used in this template.
563
565
| osVersion | The OS for the new Windows VM. The default value is `2019-Datacenter`. |
564
566
| dnsNameForPublicIP | The DNS name for the public IP. |
565
567
568
+
569
+
#### [REST API](#tab/rest-api)
566
570
567
-
## Install Hybrid worker extension using REST API
568
-
569
-
### Prerequisites
571
+
**Prerequisites**
570
572
571
573
You would require an Azure VM or Arc-enabled server. You can follow the steps [here](../azure-arc/servers/onboard-portal.md) to create an Arc connected machine.
572
574
573
-
### Install and use Hybrid Worker extension using REST API
575
+
**Install and use Hybrid Worker extension**
574
576
575
577
To install and use Hybrid Worker extension using REST API, follow these steps. The West Central US region is considered in this example.
576
578
@@ -676,6 +678,14 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
676
678
```
677
679
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.
678
680
681
+
#### [Azure CLI](#tab/cli)
682
+
683
+
**Manage Hybrid Worker Extension**
684
+
685
+
- To create, delete, and manage extension-based Hybrid Runbook Worker groups, see [az automation hrwg | Microsoft Docs](/cli/azure/automation/hrwg?view=azure-cli-latest)
686
+
- To create, delete, and manage extension-based Hybrid Runbook Worker, see [az automation hrwg hrw | Microsoft Docs](/cli/azure/automation/hrwg/hrw?view=azure-cli-latest)
687
+
688
+
---
679
689
680
690
## Manage Role permissions for Hybrid Worker Groups and Hybrid Workers
0 commit comments