Microsoft.Discovery storageContainers/storageAssets

Bicep resource definition

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

resource symbolicname 'Microsoft.Discovery/storageContainers/storageAssets@2026-06-01' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
    path: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Discovery/storageContainers/storageAssets

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: storageContainers
properties The resource-specific properties for this resource. StorageAssetProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

StorageAssetProperties

Name Description Value
description The description string (required)
path The path to the data within its parent container. This should be relative to the root of the parent container. string

TrackedResourceTags

Name Description Value

ARM template resource definition

The storageContainers/storageAssets resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.Discovery/storageContainers/storageAssets resource, add the following JSON to your template.

{
  "type": "Microsoft.Discovery/storageContainers/storageAssets",
  "apiVersion": "2026-06-01",
  "name": "string",
  "location": "string",
  "properties": {
    "description": "string",
    "path": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Discovery/storageContainers/storageAssets

Name Description Value
apiVersion The api version '2026-06-01'
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. StorageAssetProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Discovery/storageContainers/storageAssets'

StorageAssetProperties

Name Description Value
description The description string (required)
path The path to the data within its parent container. This should be relative to the root of the parent container. string

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Discovery/storageContainers/storageAssets@2026-06-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      description = "string"
      path = "string"
    }
  }
}

Property Values

Microsoft.Discovery/storageContainers/storageAssets

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: storageContainers
properties The resource-specific properties for this resource. StorageAssetProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Discovery/storageContainers/storageAssets@2026-06-01"

StorageAssetProperties

Name Description Value
description The description string (required)
path The path to the data within its parent container. This should be relative to the root of the parent container. string

TrackedResourceTags

Name Description Value