Microsoft.Storage storageAccounts/advancedPlatformMetrics

Bicep resource definition

The storageAccounts/advancedPlatformMetrics 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.Storage/storageAccounts/advancedPlatformMetrics resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Storage/storageAccounts/advancedPlatformMetrics@2026-04-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    enabled: bool
    ruleConfig: {
      filterType: 'string'
      filterValues: [
        'string'
      ]
    }
  }
}

Property Values

Microsoft.Storage/storageAccounts/advancedPlatformMetrics

Name Description Value
name The resource name 'ContainerLevelCapacityMetrics' (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: storageAccounts
properties Returns the advanced platform metrics rule. AdvancedPlatformMetricsRuleProperties

AdvancedPlatformMetricsRuleConfig

Name Description Value
filterType The type of filter applied to the rule. Possible values include: AllContainersFilter, ContainerPrefixFilter, ContainerListFilter. 'AllContainersFilter'
'ContainerListFilter'
'ContainerPrefixFilter'
filterValues The values for the filter applied to the rule. If filter type is AllContainersFilter, filter values should be empty. If filter type is ContainerPrefixFilter, filter values should contain a list of container prefixes. If filter type is ContainerListFilter, filter values should contain a list of container names. string[]

AdvancedPlatformMetricsRuleProperties

Name Description Value
enabled A boolean flag which enables the advanced platform metrics rule. bool (required)
ruleConfig Configuration for the advanced platform metrics rule. AdvancedPlatformMetricsRuleConfig (required)

ARM template resource definition

The storageAccounts/advancedPlatformMetrics 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.Storage/storageAccounts/advancedPlatformMetrics resource, add the following JSON to your template.

{
  "type": "Microsoft.Storage/storageAccounts/advancedPlatformMetrics",
  "apiVersion": "2026-04-01",
  "name": "string",
  "properties": {
    "enabled": "bool",
    "ruleConfig": {
      "filterType": "string",
      "filterValues": [ "string" ]
    }
  }
}

Property Values

Microsoft.Storage/storageAccounts/advancedPlatformMetrics

Name Description Value
apiVersion The api version '2026-04-01'
name The resource name 'ContainerLevelCapacityMetrics' (required)
properties Returns the advanced platform metrics rule. AdvancedPlatformMetricsRuleProperties
type The resource type 'Microsoft.Storage/storageAccounts/advancedPlatformMetrics'

AdvancedPlatformMetricsRuleConfig

Name Description Value
filterType The type of filter applied to the rule. Possible values include: AllContainersFilter, ContainerPrefixFilter, ContainerListFilter. 'AllContainersFilter'
'ContainerListFilter'
'ContainerPrefixFilter'
filterValues The values for the filter applied to the rule. If filter type is AllContainersFilter, filter values should be empty. If filter type is ContainerPrefixFilter, filter values should contain a list of container prefixes. If filter type is ContainerListFilter, filter values should contain a list of container names. string[]

AdvancedPlatformMetricsRuleProperties

Name Description Value
enabled A boolean flag which enables the advanced platform metrics rule. bool (required)
ruleConfig Configuration for the advanced platform metrics rule. AdvancedPlatformMetricsRuleConfig (required)

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Storage/storageAccounts/advancedPlatformMetrics@2026-04-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      enabled = bool
      ruleConfig = {
        filterType = "string"
        filterValues = [
          "string"
        ]
      }
    }
  }
}

Property Values

Microsoft.Storage/storageAccounts/advancedPlatformMetrics

Name Description Value
name The resource name 'ContainerLevelCapacityMetrics' (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: storageAccounts
properties Returns the advanced platform metrics rule. AdvancedPlatformMetricsRuleProperties
type The resource type "Microsoft.Storage/storageAccounts/advancedPlatformMetrics@2026-04-01"

AdvancedPlatformMetricsRuleConfig

Name Description Value
filterType The type of filter applied to the rule. Possible values include: AllContainersFilter, ContainerPrefixFilter, ContainerListFilter. 'AllContainersFilter'
'ContainerListFilter'
'ContainerPrefixFilter'
filterValues The values for the filter applied to the rule. If filter type is AllContainersFilter, filter values should be empty. If filter type is ContainerPrefixFilter, filter values should contain a list of container prefixes. If filter type is ContainerListFilter, filter values should contain a list of container names. string[]

AdvancedPlatformMetricsRuleProperties

Name Description Value
enabled A boolean flag which enables the advanced platform metrics rule. bool (required)
ruleConfig Configuration for the advanced platform metrics rule. AdvancedPlatformMetricsRuleConfig (required)