Microsoft.Monitor accounts/metricsContainers

Bicep resource definition

The accounts/metricsContainers 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.Monitor/accounts/metricsContainers resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Monitor/accounts/metricsContainers@2025-10-03' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    version: 'string'
  }
}

Property Values

Microsoft.Monitor/accounts/metricsContainers

Name Description Value
name The resource name string

Constraints:
Pattern = ^default$ (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: accounts
properties The resource-specific properties for this resource. MetricsContainer

MetricsContainer

Name Description Value
version The version of Metrics Query Service that this AMW will use for all metric queries. string

ARM template resource definition

The accounts/metricsContainers resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.Monitor/accounts/metricsContainers resource, add the following JSON to your template.

{
  "type": "Microsoft.Monitor/accounts/metricsContainers",
  "apiVersion": "2025-10-03",
  "name": "string",
  "properties": {
    "version": "string"
  }
}

Property Values

Microsoft.Monitor/accounts/metricsContainers

Name Description Value
apiVersion The api version '2025-10-03'
name The resource name string

Constraints:
Pattern = ^default$ (required)
properties The resource-specific properties for this resource. MetricsContainer
type The resource type 'Microsoft.Monitor/accounts/metricsContainers'

MetricsContainer

Name Description Value
version The version of Metrics Query Service that this AMW will use for all metric queries. string

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Monitor/accounts/metricsContainers@2025-10-03"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      version = "string"
    }
  }
}

Property Values

Microsoft.Monitor/accounts/metricsContainers

Name Description Value
name The resource name string

Constraints:
Pattern = ^default$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: accounts
properties The resource-specific properties for this resource. MetricsContainer
type The resource type "Microsoft.Monitor/accounts/metricsContainers@2025-10-03"

MetricsContainer

Name Description Value
version The version of Metrics Query Service that this AMW will use for all metric queries. string