Share via


Microsoft.LabServices labaccounts/galleryimages

Bicep resource definition

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

resource symbolicname 'Microsoft.LabServices/labaccounts/galleryimages@2018-10-15' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {
    isEnabled: bool
    isOverride: bool
    isPlanAuthorized: bool
    provisioningState: 'string'
    uniqueIdentifier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.LabServices/labaccounts/galleryimages

Name Description Value
location The location of the resource. string
name The resource name string (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: labaccounts
properties The gallery image properties GalleryImageProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

GalleryImageProperties

Name Description Value
isEnabled Indicates whether this gallery image is enabled. bool
isOverride Indicates whether this gallery has been overridden for this lab account bool
isPlanAuthorized Indicates if the plan has been authorized for programmatic deployment. bool
provisioningState The provisioning status of the resource. string
uniqueIdentifier The unique immutable identifier of a resource (Guid). string

ResourceTags

Name Description Value

ARM template resource definition

The labaccounts/galleryimages 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/labaccounts/galleryimages resource, add the following JSON to your template.

{
  "type": "Microsoft.LabServices/labaccounts/galleryimages",
  "apiVersion": "2018-10-15",
  "name": "string",
  "location": "string",
  "properties": {
    "isEnabled": "bool",
    "isOverride": "bool",
    "isPlanAuthorized": "bool",
    "provisioningState": "string",
    "uniqueIdentifier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.LabServices/labaccounts/galleryimages

Name Description Value
apiVersion The api version '2018-10-15'
location The location of the resource. string
name The resource name string (required)
properties The gallery image properties GalleryImageProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.LabServices/labaccounts/galleryimages'

GalleryImageProperties

Name Description Value
isEnabled Indicates whether this gallery image is enabled. bool
isOverride Indicates whether this gallery has been overridden for this lab account bool
isPlanAuthorized Indicates if the plan has been authorized for programmatic deployment. bool
provisioningState The provisioning status of the resource. string
uniqueIdentifier The unique immutable identifier of a resource (Guid). string

ResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The labaccounts/galleryimages 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/labaccounts/galleryimages resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.LabServices/labaccounts/galleryimages@2018-10-15"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      isEnabled = bool
      isOverride = bool
      isPlanAuthorized = bool
      provisioningState = "string"
      uniqueIdentifier = "string"
    }
  }
}

Property Values

Microsoft.LabServices/labaccounts/galleryimages

Name Description Value
location The location of the resource. string
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: labaccounts
properties The gallery image properties GalleryImageProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.LabServices/labaccounts/galleryimages@2018-10-15"

GalleryImageProperties

Name Description Value
isEnabled Indicates whether this gallery image is enabled. bool
isOverride Indicates whether this gallery has been overridden for this lab account bool
isPlanAuthorized Indicates if the plan has been authorized for programmatic deployment. bool
provisioningState The provisioning status of the resource. string
uniqueIdentifier The unique immutable identifier of a resource (Guid). string

ResourceTags

Name Description Value