az-group
Manage Azure resource groups
TLDR
Create a resource group
SYNOPSIS
az group subcommand [options]
DESCRIPTION
az group manages Azure resource groups, which are logical containers for Azure resources. All resources in Azure must belong to a resource group, and groups provide a way to organize, manage, and apply policies to related resources.
Resource groups define the lifecycle scope for resources; deleting a group deletes all contained resources. Groups also provide a scope for role-based access control (RBAC) and policy assignments.
PARAMETERS
-n, --name value
Name of the resource group-l, --location value
Location for the resource group (e.g., westus, eastus)--tags value
Space-separated tags in key=value format--export-format value
Export format: json (default) or bicep
SUBCOMMANDS
Management
create, delete, update, show, list, existsTemplates
exportLocks
lock create, lock delete, lock list, lock show, lock updateWaiting
wait
CAVEATS
Resource group names must be unique within a subscription and can contain only alphanumeric characters, periods, underscores, hyphens, and parentheses. Deleting a resource group is irreversible and removes all contained resources. The group's location is metadata only; resources can be in different regions.
HISTORY
Resource groups have been fundamental to Azure Resource Manager (ARM) since its introduction in 2014, replacing the classic deployment model. They provide the organizational foundation for Azure's role-based access control and policy management.
SEE ALSO
az(1), az-resource(1), az-deployment(1)
