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 workspaces/projects 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.
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
| Bicep File | Description |
|---|---|
| Deploy Microsoft Discovery infrastructure | This template deploys the full Microsoft Discovery stack including a Virtual Network, User-Assigned Managed Identity, Storage Account, role assignments, Supercomputer with a Node Pool, Workspace with a Chat Model Deployment, Storage Container, and Project using the 2026-06-01 API. Supporting dataplane resources can be deployed to a region different from the Discovery resources. |
Resource format
To create a Microsoft.Discovery/workspaces/projects resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Discovery/workspaces/projects@2026-02-01-preview' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
settings: {
behaviorPreferences: 'string'
}
storageContainerIds: [
'string'
]
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Discovery/workspaces/projects
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9-]{3,24}$ (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: workspaces |
| properties | The resource-specific properties for this resource. | ProjectProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ProjectProperties
| Name | Description | Value |
|---|---|---|
| settings | Settings for the project. | ProjectSettings |
| storageContainerIds | Allowed StorageContainers (Control plane resource references). | string[] |
ProjectSettings
| Name | Description | Value |
|---|---|---|
| behaviorPreferences | Default preferences to guide AI behaviors in this project. | string Constraints: Max length = 5000 |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The workspaces/projects 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.
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
| Template | Description |
|---|---|
| Deploy Microsoft Discovery infrastructure |
This template deploys the full Microsoft Discovery stack including a Virtual Network, User-Assigned Managed Identity, Storage Account, role assignments, Supercomputer with a Node Pool, Workspace with a Chat Model Deployment, Storage Container, and Project using the 2026-06-01 API. Supporting dataplane resources can be deployed to a region different from the Discovery resources. |
Resource format
To create a Microsoft.Discovery/workspaces/projects resource, add the following JSON to your template.
{
"type": "Microsoft.Discovery/workspaces/projects",
"apiVersion": "2026-02-01-preview",
"name": "string",
"location": "string",
"properties": {
"settings": {
"behaviorPreferences": "string"
},
"storageContainerIds": [ "string" ]
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Discovery/workspaces/projects
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-02-01-preview' |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9-]{3,24}$ (required) |
| properties | The resource-specific properties for this resource. | ProjectProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.Discovery/workspaces/projects' |
ProjectProperties
| Name | Description | Value |
|---|---|---|
| settings | Settings for the project. | ProjectSettings |
| storageContainerIds | Allowed StorageContainers (Control plane resource references). | string[] |
ProjectSettings
| Name | Description | Value |
|---|---|---|
| behaviorPreferences | Default preferences to guide AI behaviors in this project. | string Constraints: Max length = 5000 |
TrackedResourceTags
| Name | Description | Value |
|---|
Terraform (AzAPI provider) resource definition
The workspaces/projects 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.Discovery/workspaces/projects resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Discovery/workspaces/projects@2026-02-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
settings = {
behaviorPreferences = "string"
}
storageContainerIds = [
"string"
]
}
}
}
Property Values
Microsoft.Discovery/workspaces/projects
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9-]{3,24}$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: workspaces |
| properties | The resource-specific properties for this resource. | ProjectProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.Discovery/workspaces/projects@2026-02-01-preview" |
ProjectProperties
| Name | Description | Value |
|---|---|---|
| settings | Settings for the project. | ProjectSettings |
| storageContainerIds | Allowed StorageContainers (Control plane resource references). | string[] |
ProjectSettings
| Name | Description | Value |
|---|---|---|
| behaviorPreferences | Default preferences to guide AI behaviors in this project. | string Constraints: Max length = 5000 |
TrackedResourceTags
| Name | Description | Value |
|---|