Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Microsoft.DevCenter/devcenters/galleries
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Min length = 3 Max length = 63 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 |
GalleryProperties
Name | Description | Value |
---|---|---|
galleryResourceId | The resource ID of the backing Azure Compute Gallery. | string (required) |
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying 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
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 = 63 Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required) |
properties | Gallery properties. | GalleryProperties |
type | The resource type | 'Microsoft.DevCenter/devcenters/galleries' |
GalleryProperties
Name | Description | Value |
---|---|---|
galleryResourceId | The resource ID of the backing Azure Compute Gallery. | string (required) |
Usage Examples
Azure Quickstart Templates
The following Azure 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"
parent_id = "string"
body = {
properties = {
galleryResourceId = "string"
}
}
}
Property Values
Microsoft.DevCenter/devcenters/galleries
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Min length = 3 Max length = 63 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" |
GalleryProperties
Name | Description | Value |
---|---|---|
galleryResourceId | The resource ID of the backing Azure Compute Gallery. | string (required) |