Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create automation runbooks type Python by azure-cli #4514

Closed
DuongThiNgocHoa opened this issue Mar 9, 2022 · 6 comments
Closed

Create automation runbooks type Python by azure-cli #4514

DuongThiNgocHoa opened this issue Mar 9, 2022 · 6 comments
Assignees
Labels
Auto-Assign Auto assign by bot Automation customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention This issue is handled by CXP team. feature-request This issue requires a new behavior in the product in order be resolved. needs-author-feedback More information is needed from author to address the issue.
Milestone

Comments

@DuongThiNgocHoa
Copy link

In azure portal, I can create a automation runbook with Python type. But in azure-cli, i can't. How to do it ?

@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. Portal labels Mar 9, 2022
@ghost ghost assigned jsntcy Mar 9, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Mar 9, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 9, 2022

runbook

@jiasli jiasli transferred this issue from Azure/azure-cli Mar 10, 2022
@ghost ghost added the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Mar 10, 2022
@jiasli jiasli added Automation and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 10, 2022
@jiasli
Copy link
Member

jiasli commented Mar 10, 2022

According to https://docs.microsoft.com/en-us/cli/azure/automation/runbook?view=azure-cli-latest, this issue belongs to automation extension.

@yonzhan yonzhan added this to the Backlog milestone Jun 2, 2022
@yonzhan yonzhan added feature-request This issue requires a new behavior in the product in order be resolved. CXP Attention This issue is handled by CXP team. labels Jun 2, 2022
@ghost
Copy link

ghost commented Jun 2, 2022

Thank you for your feedback. This has been routed to the support team for assistance.

@yonzhan yonzhan removed the Portal label Jun 2, 2022
@navba-MSFT navba-MSFT self-assigned this Jun 28, 2022
@navba-MSFT
Copy link
Contributor

navba-MSFT commented Jun 28, 2022

@DuongThiNgocHoa Apologies for the late reply. Thanks for reaching out to us and reporting this issue.
The automation extension will help in achieving your ask. This will automatically install the first time you run an az automation runbook command.

az automation runbook create --automation-account-name "myAutomationAccount" --resource-group "rg" --name "myRunbook" --type "PowerShell" --location "East US 2"

The above CLI command Creates the runbook identified by runbook name.
More Info here. Hope this helps.

@navba-MSFT navba-MSFT added needs-author-feedback More information is needed from author to address the issue. and removed feature-request This issue requires a new behavior in the product in order be resolved. labels Jun 28, 2022
@navba-MSFT
Copy link
Contributor

The PR has been filed for this already and it has been merged: Azure/azure-rest-api-specs#19367

@navba-MSFT navba-MSFT added the feature-request This issue requires a new behavior in the product in order be resolved. label Jul 5, 2022
@navba-MSFT
Copy link
Contributor

@DuongThiNgocHoa Please track the SDK release request for the fix from this link https://github.com/Azure/sdk-release-request/projects/1230 Closing this GitHub issue for now. Please feel free to reopen this thread if you have any followup queries. We would be happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Automation customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention This issue is handled by CXP team. feature-request This issue requires a new behavior in the product in order be resolved. needs-author-feedback More information is needed from author to address the issue.
Projects
None yet
Development

No branches or pull requests

5 participants