az lab

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage Azure DevTest Labs.

Commands

Name Description Type Status
az lab arm-template

Manage Azure Resource Manager (ARM) templates in an Azure DevTest Lab.

Core Preview
az lab arm-template list

List azure resource manager templates in a given artifact source.

Core Preview
az lab arm-template show

Get the details of an ARM template in a lab.

Core Preview
az lab artifact

Manage DevTest Labs artifacts.

Core Preview
az lab artifact-source

Manage DevTest Lab artifact sources.

Core Preview
az lab artifact-source list

List artifact sources in a given lab.

Core Preview
az lab artifact-source show

Get artifact source.

Core Preview
az lab artifact list

List artifacts in a given artifact source.

Core Preview
az lab custom-image

Manage custom images of a DevTest Lab.

Core Preview
az lab custom-image create

Create a custom image in a DevTest Lab.

Core Preview
az lab custom-image delete

Delete custom image.

Core Preview
az lab custom-image list

List custom images in a given lab.

Core Preview
az lab custom-image show

Get custom image.

Core Preview
az lab delete

Delete lab.

Core Preview
az lab environment

Manage environments for an Azure DevTest Lab.

Core Preview
az lab environment create

Create an environment in a lab.

Core Preview
az lab environment delete

Delete an environment from a lab.

Core Preview
az lab environment list

List environments in a lab.

Core Preview
az lab environment show

Get the details for an environment of a lab.

Core Preview
az lab formula

Manage formulas for an Azure DevTest Lab.

Core Preview
az lab formula delete

Delete formula.

Core Preview
az lab formula export-artifacts

Export artifacts from a formula.

Core Preview
az lab formula list

List formulas in a given lab.

Core Preview
az lab formula show

Show formulae from an Azure DevTest Lab.

Core Preview
az lab gallery-image

List Azure Marketplace images allowed for a DevTest Lab.

Core Preview
az lab gallery-image list

List gallery images in a given lab.

Core Preview
az lab get

Get lab.

Core Preview
az lab secret

Manage secrets of an Azure DevTest Lab.

Core Preview
az lab secret delete

Delete secret.

Core Preview
az lab secret list

List secrets in a given user profile.

Core Preview
az lab secret set

Set a secret for a lab.

Core Preview
az lab secret show

Get secret.

Core Preview
az lab vm

Manage VMs in an Azure DevTest Lab.

Core Preview
az lab vm apply-artifacts

Apply artifacts to a virtual machine in Azure DevTest Lab.

Core Preview
az lab vm claim

Claim a virtual machine from the Lab.

Core Preview
az lab vm create

Create a VM in a lab.

Core Preview
az lab vm delete

Delete virtual machine.

Core Preview
az lab vm list

List the VMs in an Azure DevTest Lab.

Core Preview
az lab vm show

Get virtual machine.

Core Preview
az lab vm start

Start a virtual machine.

Core Preview
az lab vm stop

Stop a virtual machine This operation can take a while to complete.

Core Preview
az lab vnet

Manage virtual networks of an Azure DevTest Lab.

Core Preview
az lab vnet get

Get virtual network.

Core Preview
az lab vnet list

List virtual networks in a given lab.

Core Preview

az lab delete

Preview

Command group 'lab' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete lab.

This operation can take a while to complete.

az lab delete --name
              --resource-group

Required Parameters

--name

The name of the lab.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az lab get

Preview

Command group 'lab' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get lab.

az lab get --name
           --resource-group
           [--expand]

Required Parameters

--name

The name of the lab.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--expand

Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.