Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
let rNum=$RANDOM*$RANDOM

...

Create a template from all resources in a resource group

To export all resources in a resource group as it exists right now, use az group export and provide the resource group name.

Code Block
az group export --name demoGroup

You can save a template from a deployment in the deployment history. The template you get is exactly the one that was used for deployment.

Code Block
az deployment group export --resource-group demoGroup --name demoDeployment

...

List AD Tenants

Code Block
az account tenant list

...