Files
hacktricks-cloud/src/pentesting-cloud/azure-security/az-services/az-management-groups-subscriptions-and-resource-groups.md

1.3 KiB
Raw Blame History

Az - Групи управління, Підписки та Ресурсні групи

{{#include ../../../banners/hacktricks-training.md}}

Групи управління

Ви можете знайти більше інформації про Групи управління в:

{{#ref}} ../az-basic-information/ {{#endref}}

Перерахування

# List
az account management-group list
# Get details and management groups and subscriptions that are children
az account management-group show --name <name> --expand --recurse

Підписки

Ви можете знайти більше інформації про Підписки в:

{{#ref}} ../az-basic-information/ {{#endref}}

Перерахування

# List all subscriptions
az account list --output table
# Get details
az account management-group subscription show --name <management group> --subscription <subscription>

Групи ресурсів

Ви можете знайти більше інформації про Групи ресурсів у:

{{#ref}} ../az-basic-information/ {{#endref}}

Перерахування

# List all resource groups
az group list
# Get resource groups of specific subscription
az group list --subscription "<subscription>" --output table

{{#include ../../../banners/hacktricks-training.md}}