Microsoft.DevTestLab labs 2016-05-15

Template format

To create a Microsoft.DevTestLab/labs resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DevTestLab/labs",
  "apiVersion": "2016-05-15",
  "location": "string",
  "tags": {},
  "properties": {
    "labStorageType": "string",
    "premiumDataDisks": "string"
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DevTestLab/labs object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the lab.
type enum Yes For JSON - Microsoft.DevTestLab/labs
apiVersion enum Yes For JSON - 2016-05-15
location string No The location of the resource.
tags object No The tags of the resource.
properties object Yes The properties of the resource. - LabProperties object
resources array No virtualnetworks virtualmachines users servicerunners schedules notificationchannels formulas customimages costs artifactsources

LabProperties object

Name Type Required Value
labStorageType enum No Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. - Standard or Premium
premiumDataDisks enum No The setting to enable usage of premium data disks.

When its value is 'Enabled', creation of standard or premium data disks is allowed.

When its value is 'Disabled', only creation of standard data disks is allowed. - Disabled or Enabled

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a new lab in Azure DevTest Labs

Deploy to Azure
This template creates a new DevTest Lab / DTL instance. More Azure Resource Manager Quickstart Templates for Azure DevTestlab available at https://github.com/Azure/azure-devtestlab/tree/master/ARMTemplates
Creates a lab in Azure DevTest Labs with a Windows Server VM

Deploy to Azure
This template creates a new DevTest Lab / DTL instance with a Windows Server 2019 Datacenter VM in it. More Azure Resource Manager Quickstart Templates for Azure DevTest Labs available at https://github.com/Azure/azure-devtestlab/tree/master/ARMTemplates