CmdID / az / az lab / az lab environment
az lab environment list
List environments in a given user profile. Azure CLI reference
1 example 6 options Its page in the Azure CLI reference
Examples
List environments in a lab.
az lab environment list --lab-name Lab --resource-group rgIdentify--lab-nameThe name of the lab.--resource-groupName of resource group.Options
--expandSpecify the $expand query.--filterThe filter to apply to the operation.--lab-nameThe name of the lab.--orderbyThe ordering expression for the results, using OData notation.--topThe maximum number of resources to return from the operation.--user-nameThe name of the user profile.