Please Add A **Link** Feature / Option To 'az automation runbook' command List In Azure Automation CLI
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
az automation runbook
**Is your feature request related to a problem? Please describe.**
After developing the runbook and schedule using Azure Automation CLI , we wanted to link the Runbook with this schedule , however there is no "argument/option" available in the _Azure automation runbook_ list . Morever runbook linking with schedule is possible from the azure portal ui console.
**Describe the solution you'd like**
Please add "**link**" option to the '_azure automation runbook_' command so that we can easily link the runbook we deployed in the portal with the new or existing automation schedule.
**Describe alternatives you've considered**
1. As a workaround we have deployed two powershell runbooks
2. First runbook contains the business logic to performa scheduled activities such as stop,start and restarts
3. Second runbook contains the code to Link 1st runbook with existing Schedule using Powershell command **Register-AzAutomationScheduledRunbook**
4. After deploying both runbooks to the azure automation account, we execute the 2nd runbook that links the 1st runbook with given automation schedule.
**Additional context**
Please refer this link, https://learn.microsoft.com/en-us/cli/azure/automation/runbook?view=azure-cli-latest
It doesnt contain any "Link" option to perform a runbook link to automation schedule

Contributor guide
Assessment
This issue has not been assessed yet.