Microsoft.LabServices labPlans/images

Bicep resource definition

The labPlans/images 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.LabServices/labPlans/images resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.LabServices/labPlans/images@2023-06-07' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    availableRegions: [
      'string'
    ]
    enabledState: 'string'
  }
}

Property Values

Microsoft.LabServices/labPlans/images

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 100
Pattern = ^[-\w\\._\\(\\)]+$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: labPlans
properties Image resource properties ImageProperties (required)

ImageProperties

Name Description Value
availableRegions The available regions of the image in the shared gallery. string[]
enabledState Is the image enabled 'Disabled'
'Enabled'

ARM template resource definition

The labPlans/images resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.LabServices/labPlans/images resource, add the following JSON to your template.

{
  "type": "Microsoft.LabServices/labPlans/images",
  "apiVersion": "2023-06-07",
  "name": "string",
  "properties": {
    "availableRegions": [ "string" ],
    "enabledState": "string"
  }
}

Property Values

Microsoft.LabServices/labPlans/images

Name Description Value
apiVersion The api version '2023-06-07'
name The resource name string

Constraints:
Min length = 1
Max length = 100
Pattern = ^[-\w\\._\\(\\)]+$ (required)
properties Image resource properties ImageProperties (required)
type The resource type 'Microsoft.LabServices/labPlans/images'

ImageProperties

Name Description Value
availableRegions The available regions of the image in the shared gallery. string[]
enabledState Is the image enabled 'Disabled'
'Enabled'

Terraform (AzAPI provider) resource definition

The labPlans/images resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.LabServices/labPlans/images resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.LabServices/labPlans/images@2023-06-07"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      availableRegions = [
        "string"
      ]
      enabledState = "string"
    }
  }
}

Property Values

Microsoft.LabServices/labPlans/images

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 100
Pattern = ^[-\w\\._\\(\\)]+$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: labPlans
properties Image resource properties ImageProperties (required)
type The resource type "Microsoft.LabServices/labPlans/images@2023-06-07"

ImageProperties

Name Description Value
availableRegions The available regions of the image in the shared gallery. string[]
enabledState Is the image enabled 'Disabled'
'Enabled'