Skip to content

scale-tone/azure-resource-explorer-vscode

Repository files navigation

Azure Resource Explorer as a VsCode extension

Combined power of Azure Portal's Resource Explorer and https://resources.azure.com in your VsCode.

Visual Studio Marketplace Installs

How to install

Install it from VsCode marketplace.

How to use

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.

How to compile and run

azure-resource-explorer-vscode is a typical VsCode extension, so to run these sources you need to:

  1. Clone this repo.
  2. Open the root folder with VsCode.
  3. Do npm install.
  4. Hit F5.

Contributing

Is very much welcomed.