Combined power of Azure Portal's Resource Explorer and https://resources.azure.com in your VsCode.
Install it from VsCode marketplace.
Once installed, a new RESOURCE EXPLORER
view should appear on the AZURE
tab:
It will show a tree of all Azure resources visible to you (so long as you're signed in into Azure), organized by resource providers or by subscriptions/resource groups.
Clicking on a resource node downloads and shows resource's template as JSON.
That ARM template is editable. Make changes to it and press Save
- and you will be prompted to confirm that you want your changes to be applied. Just make sure you know what you're doing.
Alternatively use Apply JSON from current file to this resource...
command to apply arbitrary JSON to a resource.
E.g. here is how to modify app settings for an Azure App Service instance:
Also you can open your resource as Bicep (instead of an ARM template):
(for that to work you need to have Azure CLI installed)
Last but not least is this Copy access token to Clipboard
button:
Use it to quickly get an ARM-scoped access token and then make your own requests e.g. via Postman.
azure-resource-explorer-vscode is a typical VsCode extension, so to run these sources you need to:
- Clone this repo.
- Open the root folder with VsCode.
- Do
npm install
. - Hit F5.
Is very much welcomed.