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 storageContainers 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/storageContainers resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Discovery/storageContainers@2026-02-01-preview' = {
location: 'string'
name: 'string'
properties: {
storageStore: {
kind: 'string'
// For remaining properties, see StorageStore objects
}
}
tags: {
{customized property}: 'string'
}
}
StorageStore objects
Set the kind property to specify the type of object.
For AzureNetAppFiles, use:
{
kind: 'AzureNetAppFiles'
netAppVolumeId: 'string'
}
For AzureStorageBlob, use:
{
kind: 'AzureStorageBlob'
storageAccountId: 'string'
}
Property Values
Microsoft.Discovery/storageContainers
| 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) |
| properties | The resource-specific properties for this resource. | StorageContainerProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
AzureNetAppFilesStore
| Name | Description | Value |
|---|---|---|
| kind | The storage store kind. | 'AzureNetAppFiles' (required) |
| netAppVolumeId | The associated Azure NetApp Files volume ID. | string (required) |
AzureStorageBlobStore
| Name | Description | Value |
|---|---|---|
| kind | The storage store kind. | 'AzureStorageBlob' (required) |
| storageAccountId | The associated Azure Storage Account ID. | string (required) |
StorageContainerProperties
| Name | Description | Value |
|---|---|---|
| storageStore | Storage store properties | StorageStore (required) |
StorageStore
| Name | Description | Value |
|---|---|---|
| kind | Set to 'AzureNetAppFiles' for type AzureNetAppFilesStore. Set to 'AzureStorageBlob' for type AzureStorageBlobStore. | 'AzureNetAppFiles' 'AzureStorageBlob' (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The storageContainers 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/storageContainers resource, add the following JSON to your template.
{
"type": "Microsoft.Discovery/storageContainers",
"apiVersion": "2026-02-01-preview",
"name": "string",
"location": "string",
"properties": {
"storageStore": {
"kind": "string"
// For remaining properties, see StorageStore objects
}
},
"tags": {
"{customized property}": "string"
}
}
StorageStore objects
Set the kind property to specify the type of object.
For AzureNetAppFiles, use:
{
"kind": "AzureNetAppFiles",
"netAppVolumeId": "string"
}
For AzureStorageBlob, use:
{
"kind": "AzureStorageBlob",
"storageAccountId": "string"
}
Property Values
Microsoft.Discovery/storageContainers
| 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. | StorageContainerProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.Discovery/storageContainers' |
AzureNetAppFilesStore
| Name | Description | Value |
|---|---|---|
| kind | The storage store kind. | 'AzureNetAppFiles' (required) |
| netAppVolumeId | The associated Azure NetApp Files volume ID. | string (required) |
AzureStorageBlobStore
| Name | Description | Value |
|---|---|---|
| kind | The storage store kind. | 'AzureStorageBlob' (required) |
| storageAccountId | The associated Azure Storage Account ID. | string (required) |
StorageContainerProperties
| Name | Description | Value |
|---|---|---|
| storageStore | Storage store properties | StorageStore (required) |
StorageStore
| Name | Description | Value |
|---|---|---|
| kind | Set to 'AzureNetAppFiles' for type AzureNetAppFilesStore. Set to 'AzureStorageBlob' for type AzureStorageBlobStore. | 'AzureNetAppFiles' 'AzureStorageBlob' (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
Terraform (AzAPI provider) resource definition
The storageContainers 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/storageContainers resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Discovery/storageContainers@2026-02-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
storageStore = {
kind = "string"
// For remaining properties, see StorageStore objects
}
}
}
}
StorageStore objects
Set the kind property to specify the type of object.
For AzureNetAppFiles, use:
{
kind = "AzureNetAppFiles"
netAppVolumeId = "string"
}
For AzureStorageBlob, use:
{
kind = "AzureStorageBlob"
storageAccountId = "string"
}
Property Values
Microsoft.Discovery/storageContainers
| 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) |
| properties | The resource-specific properties for this resource. | StorageContainerProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.Discovery/storageContainers@2026-02-01-preview" |
AzureNetAppFilesStore
| Name | Description | Value |
|---|---|---|
| kind | The storage store kind. | 'AzureNetAppFiles' (required) |
| netAppVolumeId | The associated Azure NetApp Files volume ID. | string (required) |
AzureStorageBlobStore
| Name | Description | Value |
|---|---|---|
| kind | The storage store kind. | 'AzureStorageBlob' (required) |
| storageAccountId | The associated Azure Storage Account ID. | string (required) |
StorageContainerProperties
| Name | Description | Value |
|---|---|---|
| storageStore | Storage store properties | StorageStore (required) |
StorageStore
| Name | Description | Value |
|---|---|---|
| kind | Set to 'AzureNetAppFiles' for type AzureNetAppFilesStore. Set to 'AzureStorageBlob' for type AzureStorageBlobStore. | 'AzureNetAppFiles' 'AzureStorageBlob' (required) |
TrackedResourceTags
| Name | Description | Value |
|---|