az lab

Manage Azure DevTest Labs.

Commands

az lab arm-template

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

az lab arm-template list

List azure resource manager templates in a given artifact source.

az lab arm-template show

Get the details of an ARM template in a lab.

az lab artifact

Manage DevTest Labs artifacts.

az lab artifact list

List artifacts in a given artifact source.

az lab artifact-source

Manage DevTest Lab artifact sources.

az lab artifact-source list

List artifact sources in a given lab.

az lab artifact-source show

Get artifact source.

az lab custom-image

Manage custom images of a DevTest Lab.

az lab custom-image create

Create a custom image in a DevTest Lab.

az lab custom-image delete

Delete custom image.

az lab custom-image list

List custom images in a given lab.

az lab custom-image show

Get custom image.

az lab delete

Delete lab.

az lab environment

Manage environments for an Azure DevTest Lab.

az lab environment create

Create an environment in a lab.

az lab environment delete

Delete an environment from a lab.

az lab environment list

List environments in a lab.

az lab environment show

Get the details for an environment of a lab.

az lab formula

Manage formulas for an Azure DevTest Lab.

az lab formula delete

Delete formula.

az lab formula export-artifacts

Export artifacts from a formula.

az lab formula list

List formulas in a given lab.

az lab formula show

Show formulae from an Azure DevTest Lab.

az lab gallery-image

List Azure Marketplace images allowed for a DevTest Lab.

az lab gallery-image list

List gallery images in a given lab.

az lab get

Get lab.

az lab secret

Manage secrets of an Azure DevTest Lab.

az lab secret delete

Delete secret.

az lab secret list

List secrets in a given user profile.

az lab secret set

Set a secret for a lab.

az lab secret show

Get secret.

az lab vm

Manage VMs in an Azure DevTest Lab.

az lab vm apply-artifacts

Apply artifacts to a virtual machine in Azure DevTest Lab.

az lab vm claim

Claim a virtual machine from the Lab.

az lab vm create

Create a VM in a lab.

az lab vm delete

Delete virtual machine.

az lab vm list

List the VMs in an Azure DevTest Lab.

az lab vm show

Get virtual machine.

az lab vm start

Start a virtual machine.

az lab vm stop

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

az lab vnet

Manage virtual networks of an Azure DevTest Lab.

az lab vnet get

Get virtual network.

az lab vnet list

List virtual networks in a given lab.

az lab delete

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>.

az lab get

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)'.