Microsoft.Compute galleries 2019-03-01

Bicep resource definition

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

resource symbolicname 'Microsoft.Compute/galleries@2019-03-01' = {
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
    identifier: {}
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

GalleryIdentifier

Name Description Value

GalleryProperties

Name Description Value
description The description of this Shared Image Gallery resource. This property is updatable. string
identifier Describes the gallery unique name. GalleryIdentifier

Microsoft.Compute/galleries

Name Description Value
location Resource location string (required)
name The resource name string (required)
properties Describes the properties of a Shared Image Gallery. GalleryProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

ResourceTags

Name Description Value

Quickstart samples

The following quickstart samples deploy this resource type.

Bicep File Description
Azure Image Builder with Azure Windows Baseline Creates an Azure Image Builder environment and builds a Windows Server image with the latest Windows Updates and Azure Windows Baseline applied.
Configure Dev Box service This template would create all Dev Box admin resources as per Dev Box quick start guide (/azure/dev-box/quickstart-create-dev-box). You can view all resources created, or directly go to DevPortal.microsoft.com to create your first Dev Box.

ARM template resource definition

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

{
  "type": "Microsoft.Compute/galleries",
  "apiVersion": "2019-03-01",
  "name": "string",
  "location": "string",
  "properties": {
    "description": "string",
    "identifier": {
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

GalleryIdentifier

Name Description Value

GalleryProperties

Name Description Value
description The description of this Shared Image Gallery resource. This property is updatable. string
identifier Describes the gallery unique name. GalleryIdentifier

Microsoft.Compute/galleries

Name Description Value
apiVersion The api version '2019-03-01'
location Resource location string (required)
name The resource name string (required)
properties Describes the properties of a Shared Image Gallery. GalleryProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Compute/galleries'

ResourceTags

Name Description Value

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Azure Image Builder with Azure Windows Baseline

Deploy to Azure
Creates an Azure Image Builder environment and builds a Windows Server image with the latest Windows Updates and Azure Windows Baseline applied.
Configure Dev Box service

Deploy to Azure
This template would create all Dev Box admin resources as per Dev Box quick start guide (/azure/dev-box/quickstart-create-dev-box). You can view all resources created, or directly go to DevPortal.microsoft.com to create your first Dev Box.
Create a Azure Compute Gallery

Deploy to Azure
This template allows you to create a Azure Compute Gallery.
Create an Azure Compute Gallery

Deploy to Azure
This module creates an Azure Compute Gallery resource with apiVersion 2019-12-01.

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Compute/galleries@2019-03-01"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      description = "string"
      identifier = {
      }
    }
  })
}

Property values

GalleryIdentifier

Name Description Value

GalleryProperties

Name Description Value
description The description of this Shared Image Gallery resource. This property is updatable. string
identifier Describes the gallery unique name. GalleryIdentifier

Microsoft.Compute/galleries

Name Description Value
location Resource location string (required)
name The resource name string (required)
properties Describes the properties of a Shared Image Gallery. GalleryProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Compute/galleries@2019-03-01"

ResourceTags

Name Description Value