Microsoft.DevCenter devcenters/galleries
Bicep resource definition
The devcenters/galleries resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DevCenter/devcenters/galleries resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DevCenter/devcenters/galleries@2024-10-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
galleryResourceId: 'string'
}
}
Property values
GalleryProperties
Name | Description | Value |
---|---|---|
galleryResourceId | The resource ID of the backing Azure Compute Gallery. | string (required) |
Microsoft.DevCenter/devcenters/galleries
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Min length = 3 Max length = 3 Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (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: devcenters |
properties | Gallery properties. | GalleryProperties |
Quickstart samples
The following quickstart samples deploy this resource type.
Bicep File | Description |
---|---|
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 devcenters/galleries resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DevCenter/devcenters/galleries resource, add the following JSON to your template.
{
"type": "Microsoft.DevCenter/devcenters/galleries",
"apiVersion": "2024-10-01-preview",
"name": "string",
"properties": {
"galleryResourceId": "string"
}
}
Property values
GalleryProperties
Name | Description | Value |
---|---|---|
galleryResourceId | The resource ID of the backing Azure Compute Gallery. | string (required) |
Microsoft.DevCenter/devcenters/galleries
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-10-01-preview' |
name | The resource name | string Constraints: Min length = 3 Max length = 3 Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required) |
properties | Gallery properties. | GalleryProperties |
type | The resource type | 'Microsoft.DevCenter/devcenters/galleries' |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
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. |
Terraform (AzAPI provider) resource definition
The devcenters/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.DevCenter/devcenters/galleries resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DevCenter/devcenters/galleries@2024-10-01-preview"
name = "string"
body = jsonencode({
properties = {
galleryResourceId = "string"
}
})
}
Property values
GalleryProperties
Name | Description | Value |
---|---|---|
galleryResourceId | The resource ID of the backing Azure Compute Gallery. | string (required) |
Microsoft.DevCenter/devcenters/galleries
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Min length = 3 Max length = 3 Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: devcenters |
properties | Gallery properties. | GalleryProperties |
type | The resource type | "Microsoft.DevCenter/devcenters/galleries@2024-10-01-preview" |