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
As a workaround we have deployed two powershell runbooks
First runbook contains the business logic to performa scheduled activities such as stop,start and restarts
Second runbook contains the code to Link 1st runbook with existing Schedule using Powershell command Register-AzAutomationScheduledRunbook
After deploying both runbooks to the azure automation account, we execute the 2nd runbook that links the 1st runbook with given automation schedule.
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
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