Microsoft.Education labs

Bicep resource definition

The labs resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Education/labs resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Education/labs@2021-12-01-preview' = {
  scope: resourceSymbolicName or scope
  name: 'default'
  properties: {
    budgetPerStudent: {
      currency: 'string'
      value: int
    }
    description: 'string'
    displayName: 'string'
    expirationDate: 'string'
  }
}

Property Values

Microsoft.Education/labs

Name Description Value
name The resource name 'default' (required)
properties Get lab response properties. LabProperties
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

Amount

Name Description Value
currency The type of currency being used for the value. string
value Amount value. int

LabProperties

Name Description Value
budgetPerStudent Default monetary cap for each student in this lab Amount (required)
description Detail description of this lab string (required)
displayName Lab Display Name string (required)
expirationDate Default expiration date for each student in this lab string (required)

ARM template resource definition

The labs resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Usage Examples

Resource format

To create a Microsoft.Education/labs resource, add the following JSON to your template.

{
  "type": "Microsoft.Education/labs",
  "apiVersion": "2021-12-01-preview",
  "name": "string",
  "properties": {
    "budgetPerStudent": {
      "currency": "string",
      "value": "int"
    },
    "description": "string",
    "displayName": "string",
    "expirationDate": "string"
  }
}

Property Values

Microsoft.Education/labs

Name Description Value
apiVersion The api version '2021-12-01-preview'
name The resource name 'default' (required)
properties Get lab response properties. LabProperties
type The resource type 'Microsoft.Education/labs'

Amount

Name Description Value
currency The type of currency being used for the value. string
value Amount value. int

LabProperties

Name Description Value
budgetPerStudent Default monetary cap for each student in this lab Amount (required)
description Detail description of this lab string (required)
displayName Lab Display Name string (required)
expirationDate Default expiration date for each student in this lab string (required)

Terraform (AzAPI provider) resource definition

The labs resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Education/labs resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Education/labs@2021-12-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      budgetPerStudent = {
        currency = "string"
        value = int
      }
      description = "string"
      displayName = "string"
      expirationDate = "string"
    }
  }
}

Property Values

Microsoft.Education/labs

Name Description Value
name The resource name 'default' (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties Get lab response properties. LabProperties
type The resource type "Microsoft.Education/labs@2021-12-01-preview"

Amount

Name Description Value
currency The type of currency being used for the value. string
value Amount value. int

LabProperties

Name Description Value
budgetPerStudent Default monetary cap for each student in this lab Amount (required)
description Detail description of this lab string (required)
displayName Lab Display Name string (required)
expirationDate Default expiration date for each student in this lab string (required)