Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scale-tone/azure-resource-explorer-vscode

Azure Resource Explorer as a VsCode extension
https://github.com/scale-tone/azure-resource-explorer-vscode

arm-template azure azure-resource-explorer azure-resource-manager azure-resource-templates bicep

Last synced: 2 months ago
JSON representation

Azure Resource Explorer as a VsCode extension

Awesome Lists containing this project

README

        

# Azure Resource Explorer as a VsCode extension

Combined power of [Azure Portal's Resource Explorer](https://portal.azure.com/#view/HubsExtension/ArmExplorerBlade) and [https://resources.azure.com](https://resources.azure.com) in your VsCode.

[Visual Studio Marketplace Installs](https://marketplace.visualstudio.com/items?itemName=az-resource-explorer-vscode.azure-resource-explorer-for-vscode)

## How to install

Install it from [VsCode marketplace](https://marketplace.visualstudio.com/items?itemName=az-resource-explorer-vscode.azure-resource-explorer-for-vscode).

## 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](https://code.visualstudio.com/api/get-started/your-first-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.