Partager via


Metric Definitions - List

Listes les définitions de métrique pour la ressource.

GET https://management.azure.com/{resourceUri}/providers/Microsoft.Insights/metricDefinitions?api-version=2023-10-01
GET https://management.azure.com/{resourceUri}/providers/Microsoft.Insights/metricDefinitions?api-version=2023-10-01&metricnamespace={metricnamespace}

Paramètres URI

Nom Dans Obligatoire Type Description
resourceUri
path True

string

Identificateur de la ressource.

api-version
query True

string

Version de l’API à utiliser pour cette opération.

metricnamespace
query

string

Espace de noms de métrique où résident les métriques que vous souhaitez.

Réponses

Nom Type Description
200 OK

MetricDefinitionCollection

Demande réussie d’obtention de la liste des définitions de métriques

Other Status Codes

ErrorResponse

Réponse d’erreur décrivant la raison de l’échec de l’opération.

Sécurité

azure_auth

Flux OAuth2 Azure Active Directory

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Nom Description
user_impersonation Emprunter l’identité de votre compte d’utilisateur

Exemples

Get Application Insights Metric Definitions without filter
Get Metric Definitions without filter
Get StorageCache Metric Definitions with metric class

Get Application Insights Metric Definitions without filter

Sample Request

GET https://management.azure.com/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/providers/Microsoft.Insights/metricDefinitions?api-version=2023-10-01&metricnamespace=microsoft.insights/components

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/availabilityResults/availabilityPercentage",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Availability",
      "name": {
        "value": "availabilityResults/availabilityPercentage",
        "localizedValue": "Availability"
      },
      "displayDescription": "Percentage of successfully completed availability tests",
      "isDimensionRequired": false,
      "unit": "Percent",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "availabilityResult/name",
          "localizedValue": "Test name"
        },
        {
          "value": "availabilityResult/location",
          "localizedValue": "Run location"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/availabilityResults/count",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Availability",
      "name": {
        "value": "availabilityResults/count",
        "localizedValue": "Availability tests"
      },
      "displayDescription": "Count of availability tests",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "availabilityResult/name",
          "localizedValue": "Test name"
        },
        {
          "value": "availabilityResult/location",
          "localizedValue": "Run location"
        },
        {
          "value": "availabilityResult/success",
          "localizedValue": "Test result"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/availabilityResults/duration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Availability",
      "name": {
        "value": "availabilityResults/duration",
        "localizedValue": "Availability test duration"
      },
      "displayDescription": "Availability test duration",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "availabilityResult/name",
          "localizedValue": "Test name"
        },
        {
          "value": "availabilityResult/location",
          "localizedValue": "Run location"
        },
        {
          "value": "availabilityResult/success",
          "localizedValue": "Test result"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/networkDuration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Browser",
      "name": {
        "value": "browserTimings/networkDuration",
        "localizedValue": "Page load network connect time"
      },
      "displayDescription": "Time between user request and network connection. Includes DNS lookup and transport connection.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/processingDuration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Browser",
      "name": {
        "value": "browserTimings/processingDuration",
        "localizedValue": "Client processing time"
      },
      "displayDescription": "Time between receiving the last byte of a document until the DOM is loaded. Async requests may still be processing.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/receiveDuration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Browser",
      "name": {
        "value": "browserTimings/receiveDuration",
        "localizedValue": "Receiving response time"
      },
      "displayDescription": "Time between the first and last bytes, or until disconnection.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/sendDuration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Browser",
      "name": {
        "value": "browserTimings/sendDuration",
        "localizedValue": "Send request time"
      },
      "displayDescription": "Time between network connection and receiving the first byte.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/totalDuration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Browser",
      "name": {
        "value": "browserTimings/totalDuration",
        "localizedValue": "Browser page load time"
      },
      "displayDescription": "Time from user request until DOM, stylesheets, scripts and images are loaded.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/dependencies/count",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Server",
      "name": {
        "value": "dependencies/count",
        "localizedValue": "Dependency calls"
      },
      "displayDescription": "Count of calls made by the application to external resources.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "dependency/type",
          "localizedValue": "Dependency type"
        },
        {
          "value": "dependency/performanceBucket",
          "localizedValue": "Dependency performance"
        },
        {
          "value": "dependency/success",
          "localizedValue": "Successful call"
        },
        {
          "value": "dependency/target",
          "localizedValue": "Target of a dependency call"
        },
        {
          "value": "dependency/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/dependencies/duration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Server",
      "name": {
        "value": "dependencies/duration",
        "localizedValue": "Dependency duration"
      },
      "displayDescription": "Duration of calls made by the application to external resources.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "dependency/type",
          "localizedValue": "Dependency type"
        },
        {
          "value": "dependency/performanceBucket",
          "localizedValue": "Dependency performance"
        },
        {
          "value": "dependency/success",
          "localizedValue": "Successful call"
        },
        {
          "value": "dependency/target",
          "localizedValue": "Target of a dependency call"
        },
        {
          "value": "dependency/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/dependencies/failed",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Failures",
      "name": {
        "value": "dependencies/failed",
        "localizedValue": "Dependency call failures"
      },
      "displayDescription": "Count of failed dependency calls made by the application to external resources.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "dependency/type",
          "localizedValue": "Dependency type"
        },
        {
          "value": "dependency/performanceBucket",
          "localizedValue": "Dependency performance"
        },
        {
          "value": "dependency/target",
          "localizedValue": "Target of a dependency call"
        },
        {
          "value": "dependency/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/pageViews/count",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Usage",
      "name": {
        "value": "pageViews/count",
        "localizedValue": "Page views"
      },
      "displayDescription": "Count of page views.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/pageViews/duration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Usage",
      "name": {
        "value": "pageViews/duration",
        "localizedValue": "Page view load time"
      },
      "displayDescription": "Page view load time",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/requestExecutionTime",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/requestExecutionTime",
        "localizedValue": "HTTP request execution time"
      },
      "displayDescription": "Execution time of the most recent request.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/requestsInQueue",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/requestsInQueue",
        "localizedValue": "HTTP requests in application queue"
      },
      "displayDescription": "Length of the application request queue.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/requestsPerSecond",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/requestsPerSecond",
        "localizedValue": "HTTP request rate"
      },
      "displayDescription": "Rate of all requests to the application per second from ASP.NET.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/exceptionsPerSecond",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/exceptionsPerSecond",
        "localizedValue": "Exception rate"
      },
      "displayDescription": "Count of handled and unhandled exceptions reported to windows, including .NET exceptions and unmanaged exceptions that are converted into .NET exceptions.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processIOBytesPerSecond",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/processIOBytesPerSecond",
        "localizedValue": "Process IO rate"
      },
      "displayDescription": "Total bytes per second read and written to files, network and devices.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processCpuPercentage",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/processCpuPercentage",
        "localizedValue": "Process CPU"
      },
      "displayDescription": "The percentage of elapsed time that all process threads used the processor to execute instructions. This can vary between 0 to 100. This metric indicates the performance of w3wp process alone.",
      "isDimensionRequired": false,
      "unit": "Percent",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processorCpuPercentage",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/processorCpuPercentage",
        "localizedValue": "Processor time"
      },
      "displayDescription": "The percentage of time that the processor spends in non-idle threads.",
      "isDimensionRequired": false,
      "unit": "Percent",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/memoryAvailableBytes",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/memoryAvailableBytes",
        "localizedValue": "Available memory"
      },
      "displayDescription": "Physical memory immediately available for allocation to a process or for system use.",
      "isDimensionRequired": false,
      "unit": "Bytes",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processPrivateBytes",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Performance counters",
      "name": {
        "value": "performanceCounters/processPrivateBytes",
        "localizedValue": "Process private bytes"
      },
      "displayDescription": "Memory exclusively assigned to the monitored application's processes.",
      "isDimensionRequired": false,
      "unit": "Bytes",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/duration",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Server",
      "name": {
        "value": "requests/duration",
        "localizedValue": "Server response time"
      },
      "displayDescription": "Time between receiving an HTTP request and finishing sending the response.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average",
        "Maximum",
        "Minimum"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "request/performanceBucket",
          "localizedValue": "Request performance"
        },
        {
          "value": "request/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "request/success",
          "localizedValue": "Successful request"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/count",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Server",
      "name": {
        "value": "requests/count",
        "localizedValue": "Server requests"
      },
      "displayDescription": "Count of HTTP requests completed.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "request/performanceBucket",
          "localizedValue": "Request performance"
        },
        {
          "value": "request/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "request/success",
          "localizedValue": "Successful request"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/failed",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Failures",
      "name": {
        "value": "requests/failed",
        "localizedValue": "Failed requests"
      },
      "displayDescription": "Count of HTTP requests marked as failed. In most cases these are requests with a response code >= 400 and not equal to 401.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "request/performanceBucket",
          "localizedValue": "Request performance"
        },
        {
          "value": "request/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/rate",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Server",
      "name": {
        "value": "requests/rate",
        "localizedValue": "Server request rate"
      },
      "displayDescription": "Rate of server requests per second",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "request/performanceBucket",
          "localizedValue": "Request performance"
        },
        {
          "value": "request/resultCode",
          "localizedValue": "Result code"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "request/success",
          "localizedValue": "Successful request"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/exceptions/count",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Failures",
      "name": {
        "value": "exceptions/count",
        "localizedValue": "Exceptions"
      },
      "displayDescription": "Combined count of all uncaught exceptions.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        },
        {
          "value": "client/type",
          "localizedValue": "Device type"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/exceptions/browser",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Failures",
      "name": {
        "value": "exceptions/browser",
        "localizedValue": "Browser exceptions"
      },
      "displayDescription": "Count of uncaught exceptions thrown in the browser.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/exceptions/server",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Failures",
      "name": {
        "value": "exceptions/server",
        "localizedValue": "Server exceptions"
      },
      "displayDescription": "Count of uncaught exceptions thrown in the server application.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    },
    {
      "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/traces/count",
      "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill",
      "namespace": "microsoft.insights/components",
      "category": "Usage",
      "name": {
        "value": "traces/count",
        "localizedValue": "Traces"
      },
      "displayDescription": "Trace document count",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Count",
      "supportedAggregationTypes": [
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "trace/severityLevel",
          "localizedValue": "Severity level"
        },
        {
          "value": "operation/synthetic",
          "localizedValue": "Is traffic synthetic"
        },
        {
          "value": "cloud/roleName",
          "localizedValue": "Cloud role name"
        },
        {
          "value": "cloud/roleInstance",
          "localizedValue": "Cloud role instance"
        }
      ]
    }
  ]
}

Get Metric Definitions without filter

Sample Request

GET https://management.azure.com/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions/providers/Microsoft.Insights/metricDefinitions?api-version=2023-10-01&metricnamespace=Microsoft.Web/sites

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "CpuTime",
        "localizedValue": "CPU Time"
      },
      "isDimensionRequired": false,
      "unit": "Seconds",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Requests",
        "localizedValue": "Requests"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "BytesReceived",
        "localizedValue": "Data In"
      },
      "isDimensionRequired": false,
      "unit": "Bytes",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "BytesSent",
        "localizedValue": "Data Out"
      },
      "isDimensionRequired": false,
      "unit": "Bytes",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http101",
        "localizedValue": "Http 101"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http2xx",
        "localizedValue": "Http 2xx"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http3xx",
        "localizedValue": "Http 3xx"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http401",
        "localizedValue": "Http 401"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http403",
        "localizedValue": "Http 403"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http404",
        "localizedValue": "Http 404"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http406",
        "localizedValue": "Http 406"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http4xx",
        "localizedValue": "Http 4xx"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "Http5xx",
        "localizedValue": "Http Server Errors"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "MemoryWorkingSet",
        "localizedValue": "Memory working set"
      },
      "isDimensionRequired": false,
      "unit": "Bytes",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "AverageMemoryWorkingSet",
        "localizedValue": "Average memory working set"
      },
      "isDimensionRequired": false,
      "unit": "Bytes",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    },
    {
      "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
      "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
      "namespace": "Microsoft.Web/sites",
      "name": {
        "value": "AverageResponseTime",
        "localizedValue": "Average Response Time"
      },
      "isDimensionRequired": false,
      "unit": "Seconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "None",
        "Average",
        "Minimum",
        "Maximum",
        "Total",
        "Count"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "Instance",
          "localizedValue": "Instance"
        }
      ]
    }
  ]
}
{
  "code": "BadRequest",
  "message": "ApiVersion: 2018-01-01 does not support query metricdefinitions at non Arm resource Id level"
}

Get StorageCache Metric Definitions with metric class

Sample Request

GET https://management.azure.com/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/Microsoft.Insights/metricDefinitions?api-version=2023-10-01&metricnamespace=microsoft.storagecache/caches

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientIOPS",
        "localizedValue": "Total Client IOPS"
      },
      "displayDescription": "The rate of client file operations processed by the Cache.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientLatency",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Latency",
      "name": {
        "value": "ClientLatency",
        "localizedValue": "Average Client Latency"
      },
      "displayDescription": "Average latency of client file operations to the Cache.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientReadIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientReadIOPS",
        "localizedValue": "Client Read IOPS"
      },
      "displayDescription": "Client read operations per second.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientReadThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientReadThroughput",
        "localizedValue": "Average Cache Read Throughput"
      },
      "displayDescription": "Client read data transfer rate.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientWriteIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientWriteIOPS",
        "localizedValue": "Client Write IOPS"
      },
      "displayDescription": "Client write operations per second.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientWriteThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientWriteThroughput",
        "localizedValue": "Average Cache Write Throughput"
      },
      "displayDescription": "Client write data transfer rate.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientMetadataReadIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientMetadataReadIOPS",
        "localizedValue": "Client Metadata Read IOPS"
      },
      "displayDescription": "The rate of client file operations sent to the Cache, excluding data reads, that do not modify persistent state.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientMetadataWriteIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientMetadataWriteIOPS",
        "localizedValue": "Client Metadata Write IOPS"
      },
      "displayDescription": "The rate of client file operations sent to the Cache, excluding data writes, that modify persistent state.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/ClientLockIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "ClientLockIOPS",
        "localizedValue": "Client Lock IOPS"
      },
      "displayDescription": "Client file locking operations per second.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetHealth",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Errors",
      "name": {
        "value": "StorageTargetHealth",
        "localizedValue": "Storage Target Health"
      },
      "displayDescription": "Boolean results of connectivity test between the Cache and Storage Targets.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/Uptime",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Availability",
      "name": {
        "value": "Uptime",
        "localizedValue": "Uptime"
      },
      "displayDescription": "Boolean results of connectivity test between the Cache and monitoring system.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetIOPS",
        "localizedValue": "Total StorageTarget IOPS"
      },
      "displayDescription": "The rate of all file operations the Cache sends to a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetWriteIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetWriteIOPS",
        "localizedValue": "StorageTarget Write IOPS"
      },
      "displayDescription": "The rate of the file write operations the Cache sends to a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetAsyncWriteThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetAsyncWriteThroughput",
        "localizedValue": "StorageTarget Asynchronous Write Throughput"
      },
      "displayDescription": "The rate the Cache asynchronously writes data to a particular StorageTarget. These are opportunistic writes that do not cause clients to block.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetSyncWriteThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetSyncWriteThroughput",
        "localizedValue": "StorageTarget Synchronous Write Throughput"
      },
      "displayDescription": "The rate the Cache synchronously writes data to a particular StorageTarget. These are writes that do cause clients to block.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetTotalWriteThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetTotalWriteThroughput",
        "localizedValue": "StorageTarget Total Write Throughput"
      },
      "displayDescription": "The total rate that the Cache writes data to a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetLatency",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetLatency",
        "localizedValue": "StorageTarget Latency"
      },
      "displayDescription": "The average round trip latency of all the file operations the Cache sends to a partricular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "MilliSeconds",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetMetadataReadIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetMetadataReadIOPS",
        "localizedValue": "StorageTarget Metadata Read IOPS"
      },
      "displayDescription": "The rate of file operations that do not modify persistent state, and excluding the read operation, that the Cache sends to a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetMetadataWriteIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetMetadataWriteIOPS",
        "localizedValue": "StorageTarget Metadata Write IOPS"
      },
      "displayDescription": "The rate of file operations that do modify persistent state and excluding the write operation, that the Cache sends to a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetReadIOPS",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetReadIOPS",
        "localizedValue": "StorageTarget Read IOPS"
      },
      "displayDescription": "The rate of file read operations the Cache sends to a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "CountPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetReadAheadThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetReadAheadThroughput",
        "localizedValue": "StorageTarget Read Ahead Throughput"
      },
      "displayDescription": "The rate the Cache opportunisticly reads data from the StorageTarget.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetFillThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetFillThroughput",
        "localizedValue": "StorageTarget Fill Throughput"
      },
      "displayDescription": "The rate the Cache reads data from the StorageTarget to handle a cache miss.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    },
    {
      "id": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache/providers/microsoft.insights/metricdefinitions/StorageTargetTotalReadThroughput",
      "resourceId": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
      "namespace": "microsoft.storagecache/caches",
      "metricClass": "Transactions",
      "name": {
        "value": "StorageTargetTotalReadThroughput",
        "localizedValue": "StorageTarget Total Read Throughput"
      },
      "displayDescription": "The total rate that the Cache reads data from a particular StorageTarget.",
      "isDimensionRequired": false,
      "unit": "BytesPerSecond",
      "primaryAggregationType": "Average",
      "supportedAggregationTypes": [
        "Minimum",
        "Maximum",
        "Average"
      ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "StorageTarget",
          "localizedValue": "StorageTarget"
        }
      ]
    }
  ]
}

Définitions

Nom Description
AggregationType

Type d’agrégation de la métrique.

ErrorAdditionalInfo

Informations supplémentaires sur l’erreur de gestion des ressources.

ErrorResponse

Réponse d’erreur

LocalizableString

Classe de chaîne localisable.

MetricAvailability

La disponibilité des métriques spécifie le grain de temps (intervalle d’agrégation ou fréquence) et la période de rétention pour ce grain de temps.

MetricClass

Classe de la métrique.

MetricDefinition

La classe de définition de métrique spécifie les métadonnées d’une métrique.

MetricDefinitionCollection

Représente la collection de définitions de métriques.

MetricUnit

Unité de la métrique.

AggregationType

Type d’agrégation de la métrique.

Nom Type Description
Average

string

Count

string

Maximum

string

Minimum

string

None

string

Total

string

ErrorAdditionalInfo

Informations supplémentaires sur l’erreur de gestion des ressources.

Nom Type Description
info

object

Informations supplémentaires

type

string

Type d’informations supplémentaires.

ErrorResponse

Réponse d’erreur

Nom Type Description
additionalInfo

ErrorAdditionalInfo[]

Informations supplémentaires sur l’erreur.

code

string

Code d'erreur.

details

ErrorResponse[]

Détails de l’erreur.

message

string

Message d’erreur.

target

string

Cible d’erreur.

LocalizableString

Classe de chaîne localisable.

Nom Type Description
localizedValue

string

Le nom d’affichage.

value

string

Valeur invariante.

MetricAvailability

La disponibilité des métriques spécifie le grain de temps (intervalle d’agrégation ou fréquence) et la période de rétention pour ce grain de temps.

Nom Type Description
retention

string

Période de rétention de la métrique au timegrain spécifié. Exprimé sous forme de durée « PT1M », « P1D », etc.

timeGrain

string

Le grain de temps spécifie un intervalle d’agrégation pris en charge pour la métrique. Exprimé sous forme de durée « PT1M », « P1D », etc.

MetricClass

Classe de la métrique.

Nom Type Description
Availability

string

Errors

string

Latency

string

Saturation

string

Transactions

string

MetricDefinition

La classe de définition de métrique spécifie les métadonnées d’une métrique.

Nom Type Description
category

string

Nom de catégorie personnalisé pour cette métrique.

dimensions

LocalizableString[]

Nom et nom d’affichage de la dimension, c’est-à-dire une chaîne localisable.

displayDescription

string

Description détaillée de cette métrique.

id

string

Identificateur de ressource de la définition de métrique.

isDimensionRequired

boolean

Indicateur pour indiquer si la dimension est requise.

metricAvailabilities

MetricAvailability[]

Collection des intervalles d’agrégation disponibles pour être interrogés.

metricClass

MetricClass

Classe de la métrique.

name

LocalizableString

Nom et nom d’affichage de la métrique, c’est-à-dire qu’il s’agit d’une chaîne localisable.

namespace

string

Espace de noms auquel appartient la métrique.

primaryAggregationType

AggregationType

Valeur de type d’agrégation primaire qui définit l’utilisation des valeurs pour l’affichage.

resourceId

string

Identificateur de ressource de la ressource qui a émis la métrique.

supportedAggregationTypes

AggregationType[]

Collection des types d’agrégation pris en charge.

unit

MetricUnit

Unité de la métrique.

MetricDefinitionCollection

Représente la collection de définitions de métriques.

Nom Type Description
value

MetricDefinition[]

Valeurs des définitions de métrique.

MetricUnit

Unité de la métrique.

Nom Type Description
BitsPerSecond

string

Unité de taux de chiffres binaires par seconde.

ByteSeconds

string

Unité de transfert ou de stockage de données. Il s’agit de la taille des données en octets multipliée par le temps nécessaire pour transférer ou stocker les données en secondes.

Bytes

string

Unité de mémoire en octets.

BytesPerSecond

string

Unité de mémoire de débit en octets par seconde.

Cores

string

Unité de puissance de traitement.

Count

string

Unité de quantité brute.

CountPerSecond

string

Unité de débit de la quantité brute par seconde.

MilliCores

string

Unité de puissance de traitement dans 1/1000e d’un cœur de processeur.

MilliSeconds

string

Unité de temps en 1/1000e de seconde.

NanoCores

string

Unité de puissance de traitement dans un milliardième d’un cœur de processeur.

Percent

string

Unité de pourcentage.

Seconds

string

Unité de temps en secondes.

Unspecified

string

Aucune unité spécifiée.