Skip to content

Please Add A **Link** Feature / Option To 'az automation runbook' command List In Azure Automation CLI #27821

@pravinbhande

Description

@pravinbhande

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
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions