Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Azure REST for AnsibleNew to Visual Studio Code? Get it now.
Azure REST for Ansible

Azure REST for Ansible

Zim Kalinowski

|
15,293 installs
| (2) | Free
Create, update or delete any Azure resource using Ansible
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Azure REST API for Ansible

This is an experimental extension, it makes it easy calling Azure REST API with ansible.

How to use?

Press F1 and select ansible: Use Azure REST API.

Main Menu

Select required provider, for instance compute:

Providers List

Select required operation, for instance VirtualMachines_CreateOrUpdate:

API Version List

And finally select one of the samples, or full definition :

Operation List

Extension will create a new file with your playbook, which looks as follows:

Main Menu

Requirements

Clone Azure REST API specifications from here:

https://github.com/Azure/azure-rest-api-specs

You will be asked to provide the path when running extension for the first time.

Playbooks generated by this extension can be used with Ansible 2.6.

Known Issues

Release Notes

0.0.14

Changed flow, now user selects API are first, then operation, and finally API Version and sample.

0.0.3

Added reference to the role in Ansible Galaxy.

0.0.2

Fixed fundamental problems of first release.

0.0.1

Initial release

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft