Azure Resource Group Operations

From NovaOrdis Knowledge Base
Revision as of 21:31, 19 November 2020 by Ovidiu (talk | contribs) (→‎Delete a Resource Group)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Information about Resource Groups

List Resource Groups

az group list

Display Information about a Resource Group

az group show --resource-group <group-name>

Create a Resource Group

With Console

With CLI

export LOCATION=...
export RESOURCEGROUP =...
az group create --name $RESOURCEGROUP --location $LOCATION

Delete a Resource Group

⚠️ Deleting a resource group will delete all resources associated with the group. This is potentially a very destructive operation.

az group delete --name <group-name>