diff --git a/specification/monitor/commonDefinitions.json b/specification/monitor/common-types/v1/commonMonitoringTypes.json
similarity index 93%
rename from specification/monitor/commonDefinitions.json
rename to specification/monitor/common-types/v1/commonMonitoringTypes.json
index 68ba8efc8469..bd3427a14319 100644
--- a/specification/monitor/commonDefinitions.json
+++ b/specification/monitor/common-types/v1/commonMonitoringTypes.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "1.0",
"title": "Common Monitoring types"
},
"paths": {},
@@ -110,7 +110,7 @@
"x-ms-identifiers": [
"name"
],
- "description": "the metadata values returned if $filter was specified in the call."
+ "description": "The metadata values returned if $filter was specified in the call."
},
"data": {
"type": "array",
@@ -130,15 +130,15 @@
"properties": {
"id": {
"type": "string",
- "description": "the metric Id."
+ "description": "The metric Id."
},
"type": {
"type": "string",
- "description": "the resource type of the metric resource."
+ "description": "The resource type of the metric resource."
},
"name": {
"$ref": "#/definitions/LocalizableString",
- "description": "the name and the display name of the metric, i.e. it is localizable string."
+ "description": "The name and the display name of the metric, i.e. it is localizable string."
},
"displayDescription": {
"type": "string",
@@ -162,7 +162,7 @@
"$ref": "#/definitions/TimeSeriesElement"
},
"x-ms-identifiers": [],
- "description": "the time series returned when a data query is performed."
+ "description": "The time series returned when a data query is performed."
}
},
"required": [
diff --git a/specification/monitor/common-types/v2/commonMonitoringTypes.json b/specification/monitor/common-types/v2/commonMonitoringTypes.json
new file mode 100644
index 000000000000..bd1baa015e8c
--- /dev/null
+++ b/specification/monitor/common-types/v2/commonMonitoringTypes.json
@@ -0,0 +1,303 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2.0",
+ "title": "Common Monitoring types"
+ },
+ "paths": {},
+ "definitions": {
+ "LocalizableString": {
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The invariant value."
+ },
+ "localizedValue": {
+ "type": "string",
+ "description": "The display name."
+ }
+ },
+ "description": "The localizable string class."
+ },
+ "MetricValue": {
+ "type": "object",
+ "required": [
+ "timeStamp"
+ ],
+ "properties": {
+ "timeStamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for the metric value in ISO 8601 format."
+ },
+ "average": {
+ "type": "number",
+ "format": "double",
+ "description": "The average value in the time range."
+ },
+ "minimum": {
+ "type": "number",
+ "format": "double",
+ "description": "The least value in the time range."
+ },
+ "maximum": {
+ "type": "number",
+ "format": "double",
+ "description": "The greatest value in the time range."
+ },
+ "total": {
+ "type": "number",
+ "format": "double",
+ "description": "The sum of all of the values in the time range."
+ },
+ "count": {
+ "type": "number",
+ "format": "double",
+ "description": "The number of samples in the time range. Can be used to determine the number of values that contributed to the average value."
+ }
+ },
+ "description": "Represents a metric value."
+ },
+ "MetadataValue": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "description": "The name of the metadata."
+ },
+ "value": {
+ "type": "string",
+ "description": "The value of the metadata."
+ }
+ },
+ "description": "Represents a metric metadata value."
+ },
+ "Unit": {
+ "type": "string",
+ "description": "The unit of the metric.",
+ "enum": [
+ "Count",
+ "Bytes",
+ "Seconds",
+ "CountPerSecond",
+ "BytesPerSecond",
+ "Percent",
+ "MilliSeconds",
+ "ByteSeconds",
+ "Unspecified",
+ "Cores",
+ "MilliCores",
+ "NanoCores",
+ "BitsPerSecond"
+ ],
+ "x-ms-enum": {
+ "name": "MetricUnit",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Count",
+ "description": "Unit of raw quantity."
+ },
+ {
+ "value": "Bytes",
+ "description": "Unit of memory in bytes."
+ },
+ {
+ "value": "Seconds",
+ "description": "Unit of time in seconds."
+ },
+ {
+ "value": "CountPerSecond",
+ "description": "Rate unit of raw quantity per second."
+ },
+ {
+ "value": "BytesPerSecond",
+ "description": "Rate unit of memory in bytes per second."
+ },
+ {
+ "value": "Percent",
+ "description": "Percentage unit."
+ },
+ {
+ "value": "MilliSeconds",
+ "description": "Unit of time in 1/1000th of a second."
+ },
+ {
+ "value": "ByteSeconds",
+ "description": "Unit of data transfer or storage. It is the size of the data in bytes multiplied by the time it takes to transfer or store the data in seconds."
+ },
+ {
+ "value": "Unspecified",
+ "description": "No specified unit."
+ },
+ {
+ "value": "Cores",
+ "description": "Unit of processing power."
+ },
+ {
+ "value": "MilliCores",
+ "description": "Unit of processing power in 1/1000th of a CPU core."
+ },
+ {
+ "value": "NanoCores",
+ "description": "Unit of processing power in one billionth of a CPU core."
+ },
+ {
+ "value": "BitsPerSecond",
+ "description": "Rate unit of binary digits per second."
+ }
+ ]
+ }
+ },
+ "TimeSeriesElement": {
+ "type": "object",
+ "properties": {
+ "metadatavalues": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataValue"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The metadata values returned if $filter was specified in the call."
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricValue"
+ },
+ "x-ms-identifiers": [
+ "timeStamp"
+ ],
+ "description": "An array of data points representing the metric values. This is only returned if a result type of data is specified."
+ }
+ },
+ "description": "A time series result type. The discriminator value is always TimeSeries in this case."
+ },
+ "Metric": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The metric Id."
+ },
+ "type": {
+ "type": "string",
+ "description": "The resource type of the metric resource."
+ },
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "description": "The name and the display name of the metric, i.e. it is localizable string."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Detailed description of this metric."
+ },
+ "errorCode": {
+ "type": "string",
+ "description": "'Success' or the error details on query failures for this metric."
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Error message encountered querying this specific metric."
+ },
+ "unit": {
+ "$ref": "#/definitions/Unit",
+ "description": "The unit of the metric."
+ },
+ "timeseries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimeSeriesElement"
+ },
+ "x-ms-identifiers": [],
+ "description": "The time series returned when a data query is performed."
+ }
+ },
+ "required": [
+ "id",
+ "type",
+ "name",
+ "unit",
+ "timeseries"
+ ],
+ "description": "The result data of a query."
+ },
+ "ErrorContract": {
+ "title": "Error Response",
+ "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The error object.",
+ "$ref": "../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "RegionParameter": {
+ "name": "region",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The region where the metrics you want reside.",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamespaceParameter": {
+ "name": "metricnamespace",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Metric namespace where the metrics you want reside.",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregationsParameter": {
+ "name": "aggregation",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list of aggregation types (comma separated) to retrieve.\n*Examples: average, minimum, maximum*",
+ "x-ms-parameter-location": "method"
+ },
+ "TopParameter": {
+ "name": "top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of records to retrieve per resource ID in the request.\nValid only if filter is specified.\nDefaults to 10.",
+ "x-ms-parameter-location": "method"
+ },
+ "OrderByParameter": {
+ "name": "orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The aggregation to use for sorting results and the direction of the sort.\nOnly one order can be specified.\n*Examples: sum asc*",
+ "x-ms-parameter-location": "method"
+ },
+ "RollUpByParameter": {
+ "name": "rollupby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/monitor/data-plane/Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json b/specification/monitor/data-plane/Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json
index 091598dabad4..04c40a06ff79 100644
--- a/specification/monitor/data-plane/Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json
+++ b/specification/monitor/data-plane/Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json
@@ -159,7 +159,7 @@
"required": false,
"type": "string",
"default": "PT1M",
- "description": "The interval (i.e. timegrain) of the query.\n*Examples: PT15M, PT1H, P1D*",
+ "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
"x-ms-parameter-location": "method"
},
"MetricNamespaceParameter": {
@@ -309,8 +309,7 @@
},
"interval": {
"type": "string",
- "format": "duration",
- "description": "The interval (window size) for which the metric data was returned in. Follows the IS8601/RFC3339 duration format (e.g. 'P1D' for 1 day). This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ "description": "The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (*Examples: PT15M, PT1H, P1D, FULL*). \nThis may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified."
},
"namespace": {
"type": "string",
@@ -327,7 +326,7 @@
"value": {
"type": "array",
"items": {
- "$ref": "../../../../commonDefinitions.json#/definitions/Metric"
+ "$ref": "../../../../common-types/v1/commonMonitoringTypes.json#/definitions/Metric"
},
"description": "The value of the collection."
}
diff --git a/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/examples/MetricBatchExample.json b/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/examples/MetricBatchExample.json
new file mode 100644
index 000000000000..8988a735bd78
--- /dev/null
+++ b/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/examples/MetricBatchExample.json
@@ -0,0 +1,543 @@
+{
+ "parameters": {
+ "baseUrl": "https://eastus.metrics.monitor.azure.com",
+ "subscriptionId": "12345678-abcd-1234-abcd-123456789abc",
+ "starttime": "2023-02-01T20:00:00.123Z",
+ "endtime": "2023-02-01T23:00:00.345Z",
+ "interval": "PT15M",
+ "metricnamespace": "Microsoft.Storage/storageAccounts",
+ "metricnames": "Ingress,Egress",
+ "aggregation": "average,minimum,maximum",
+ "top": 10,
+ "orderby": "average desc",
+ "filter": "ApiName eq 'GetBlob' or ApiName eq 'GetBlobServiceProperties' and Authentication eq '*'",
+ "api-version": "2023-10-01",
+ "batchRequest": {
+ "resourceids": [
+ "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage1",
+ "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage2"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "values": [
+ {
+ "starttime": "2023-02-01T20:00:00.123Z",
+ "endtime": "2023-02-01T23:00:00.345Z",
+ "interval": "PT15M",
+ "value": [
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage1/providers/Microsoft.Insights/metrics/Ingress",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Ingress",
+ "localizedValue": "Ingress"
+ },
+ "displayDescription": "The amount of ingress data, in bytes. This number includes ingress from an external client into Azure Storage as well as ingress within Azure.",
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "apiname",
+ "localizedValue": "apiname"
+ },
+ "value": "GetBlob"
+ },
+ {
+ "name": {
+ "value": "authentication",
+ "localizedValue": "authentication"
+ },
+ "value": "SAS"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2023-02-01T20:00:00Z",
+ "average": 437,
+ "minimum": 437,
+ "maximum": 437
+ },
+ {
+ "timeStamp": "2023-02-01T20:15:00Z",
+ "average": 438.0735294117647,
+ "minimum": 437,
+ "maximum": 583
+ },
+ {
+ "timeStamp": "2023-02-01T20:30:00Z",
+ "average": 437,
+ "minimum": 437,
+ "maximum": 437
+ },
+ {
+ "timeStamp": "2023-02-01T20:45:00Z",
+ "average": 437.54477611940297,
+ "minimum": 437,
+ "maximum": 583
+ },
+ {
+ "timeStamp": "2023-02-01T21:00:00Z",
+ "average": 437,
+ "minimum": 437,
+ "maximum": 437
+ },
+ {
+ "timeStamp": "2023-02-01T21:15:00Z",
+ "average": 438.0735294117647,
+ "minimum": 437,
+ "maximum": 583
+ },
+ {
+ "timeStamp": "2023-02-01T21:30:00Z",
+ "average": 437,
+ "minimum": 437,
+ "maximum": 437
+ },
+ {
+ "timeStamp": "2023-02-01T21:45:00Z",
+ "average": 437.54477611940297,
+ "minimum": 437,
+ "maximum": 583
+ },
+ {
+ "timeStamp": "2023-02-01T22:00:00Z",
+ "average": 437,
+ "minimum": 437,
+ "maximum": 437
+ },
+ {
+ "timeStamp": "2023-02-01T22:15:00Z",
+ "average": 438.0735294117647,
+ "minimum": 437,
+ "maximum": 583
+ },
+ {
+ "timeStamp": "2023-02-01T22:30:00Z",
+ "average": 437,
+ "minimum": 437,
+ "maximum": 437
+ },
+ {
+ "timeStamp": "2023-02-01T22:45:00Z",
+ "average": 437.542750929368,
+ "minimum": 437,
+ "maximum": 583
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "apiname",
+ "localizedValue": "apiname"
+ },
+ "value": "GetBlobServiceProperties"
+ },
+ {
+ "name": {
+ "value": "authentication",
+ "localizedValue": "authentication"
+ },
+ "value": "AccountKey"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2023-02-01T20:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:00:00Z",
+ "average": 342,
+ "minimum": 342,
+ "maximum": 342
+ },
+ {
+ "timeStamp": "2023-02-01T22:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:45:00Z"
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ },
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage1/providers/Microsoft.Insights/metrics/Egress",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Egress",
+ "localizedValue": "Egress"
+ },
+ "displayDescription": "The amount of egress data. This number includes egress to external client from Azure Storage as well as egress within Azure. As a result, this number does not reflect billable egress.",
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "apiname",
+ "localizedValue": "apiname"
+ },
+ "value": "GetBlobServiceProperties"
+ },
+ {
+ "name": {
+ "value": "authentication",
+ "localizedValue": "authentication"
+ },
+ "value": "AccountKey"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2023-02-01T20:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:00:00Z",
+ "average": 796,
+ "minimum": 796,
+ "maximum": 796
+ },
+ {
+ "timeStamp": "2023-02-01T22:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:45:00Z"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "apiname",
+ "localizedValue": "apiname"
+ },
+ "value": "GetBlob"
+ },
+ {
+ "name": {
+ "value": "authentication",
+ "localizedValue": "authentication"
+ },
+ "value": "SAS"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2023-02-01T20:00:00Z",
+ "average": 361,
+ "minimum": 361,
+ "maximum": 361
+ },
+ {
+ "timeStamp": "2023-02-01T20:15:00Z",
+ "average": 365.83088235294116,
+ "minimum": 361,
+ "maximum": 1018
+ },
+ {
+ "timeStamp": "2023-02-01T20:30:00Z",
+ "average": 361,
+ "minimum": 361,
+ "maximum": 361
+ },
+ {
+ "timeStamp": "2023-02-01T20:45:00Z",
+ "average": 363.4514925373134,
+ "minimum": 361,
+ "maximum": 1018
+ },
+ {
+ "timeStamp": "2023-02-01T21:00:00Z",
+ "average": 361,
+ "minimum": 361,
+ "maximum": 361
+ },
+ {
+ "timeStamp": "2023-02-01T21:15:00Z",
+ "average": 365.83088235294116,
+ "minimum": 361,
+ "maximum": 1018
+ },
+ {
+ "timeStamp": "2023-02-01T21:30:00Z",
+ "average": 361,
+ "minimum": 361,
+ "maximum": 361
+ },
+ {
+ "timeStamp": "2023-02-01T21:45:00Z",
+ "average": 363.4514925373134,
+ "minimum": 361,
+ "maximum": 1018
+ },
+ {
+ "timeStamp": "2023-02-01T22:00:00Z",
+ "average": 361,
+ "minimum": 361,
+ "maximum": 361
+ },
+ {
+ "timeStamp": "2023-02-01T22:15:00Z",
+ "average": 365.83088235294116,
+ "minimum": 361,
+ "maximum": 1018
+ },
+ {
+ "timeStamp": "2023-02-01T22:30:00Z",
+ "average": 361,
+ "minimum": 361,
+ "maximum": 361
+ },
+ {
+ "timeStamp": "2023-02-01T22:45:00Z",
+ "average": 363.4423791821561,
+ "minimum": 361,
+ "maximum": 1018
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.storage/storageaccounts",
+ "resourceregion": "eastus",
+ "resourceid": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage1"
+ },
+ {
+ "starttime": "2023-02-01T20:00:00.123Z",
+ "endtime": "2023-02-01T23:00:00.345Z",
+ "interval": "PT15M",
+ "value": [
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage2/providers/Microsoft.Insights/metrics/Ingress",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Ingress",
+ "localizedValue": "Ingress"
+ },
+ "displayDescription": "The amount of ingress data, in bytes. This number includes ingress from an external client into Azure Storage as well as ingress within Azure.",
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "apiname",
+ "localizedValue": "apiname"
+ },
+ "value": "GetBlobServiceProperties"
+ },
+ {
+ "name": {
+ "value": "authentication",
+ "localizedValue": "authentication"
+ },
+ "value": "AccountKey"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2023-02-01T20:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:00:00Z",
+ "average": 330,
+ "minimum": 330,
+ "maximum": 330
+ },
+ {
+ "timeStamp": "2023-02-01T22:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:45:00Z"
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ },
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage2/providers/Microsoft.Insights/metrics/Egress",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Egress",
+ "localizedValue": "Egress"
+ },
+ "displayDescription": "The amount of egress data. This number includes egress to external client from Azure Storage as well as egress within Azure. As a result, this number does not reflect billable egress.",
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "apiname",
+ "localizedValue": "apiname"
+ },
+ "value": "GetBlobServiceProperties"
+ },
+ {
+ "name": {
+ "value": "authentication",
+ "localizedValue": "authentication"
+ },
+ "value": "AccountKey"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2023-02-01T20:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T20:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:00:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T21:45:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:00:00Z",
+ "average": 880,
+ "minimum": 880,
+ "maximum": 880
+ },
+ {
+ "timeStamp": "2023-02-01T22:15:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:30:00Z"
+ },
+ {
+ "timeStamp": "2023-02-01T22:45:00Z"
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.storage/storageaccounts",
+ "resourceregion": "eastus",
+ "resourceid": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage2"
+ }
+ ]
+ }
+ },
+ "default": {
+ "headers": {
+ "x-ms-error-code": "BadRequest"
+ },
+ "body": {
+ "error": {
+ "additionalInfo": [
+ {
+ "type": "string",
+ "info": "TraceId={00000000-0000-0000-0000-000000000000}"
+ },
+ {
+ "type": "string",
+ "info": "ExceptionType=Microsoft.Online.Metrics.MetricsMP.Utilities.RPRequestFormatException"
+ }
+ ],
+ "code": "BadRequest",
+ "message": "Query endTime: 06/06/2021 00:00:00 is out of the Max metrics retention period: 93.00:00:00, traceId: {00000000-0000-0000-0000-000000000000}"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/examples/MetricBatchExample2.json b/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/examples/MetricBatchExample2.json
new file mode 100644
index 000000000000..80eff55ad666
--- /dev/null
+++ b/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/examples/MetricBatchExample2.json
@@ -0,0 +1,149 @@
+{
+ "parameters": {
+ "baseUrl": "https://westus2.metrics.monitor.azure.com",
+ "subscriptionId": "12345678-abcd-1234-abcd-123456789abc",
+ "starttime": "2023-11-07T14:00:00.000Z",
+ "endtime": "2023-11-07T18:00:00.000Z",
+ "interval": "FULL",
+ "metricnamespace": "Microsoft.Cache/Redis",
+ "metricnames": "cacheWrite",
+ "aggregation": "average",
+ "top": 10,
+ "orderby": "average desc",
+ "filter": "ShardId eq '0'",
+ "rollupby": "ShardId",
+ "api-version": "2023-10-01",
+ "batchRequest": {
+ "resourceids": [
+ "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis5",
+ "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis3",
+ "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis2"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "values": [
+ {
+ "starttime": "2023-11-07T14:00:00Z",
+ "endtime": "2023-11-07T18:00:00Z",
+ "interval": "PT4H",
+ "value": [
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis5/providers/Microsoft.Insights/metrics/cacheWrite",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "cacheWrite",
+ "localizedValue": "Cache Write"
+ },
+ "displayDescription": "The amount of data written to the cache in bytes per second. For more details, see https://aka.ms/redis/metrics.",
+ "unit": "BytesPerSecond",
+ "timeseries": [
+ {
+ "metadatavalues": [],
+ "data": [
+ {
+ "timeStamp": "2023-11-07T14:00:00Z",
+ "average": 35513.760416666664
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.cache/redis",
+ "resourceregion": "westus2",
+ "resourceid": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis5"
+ },
+ {
+ "starttime": "2023-11-07T14:00:00Z",
+ "endtime": "2023-11-07T18:00:00Z",
+ "interval": "PT4H",
+ "value": [
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis3/providers/Microsoft.Insights/metrics/cacheWrite",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "cacheWrite",
+ "localizedValue": "Cache Write"
+ },
+ "displayDescription": "The amount of data written to the cache in bytes per second. For more details, see https://aka.ms/redis/metrics.",
+ "unit": "BytesPerSecond",
+ "timeseries": [
+ {
+ "metadatavalues": [],
+ "data": [
+ {
+ "timeStamp": "2023-11-07T14:00:00Z",
+ "average": 7135.0625
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.cache/redis",
+ "resourceregion": "westus2",
+ "resourceid": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis3"
+ },
+ {
+ "starttime": "2023-11-07T14:00:00Z",
+ "endtime": "2023-11-07T18:00:00Z",
+ "interval": "PT4H",
+ "value": [
+ {
+ "id": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis2/providers/Microsoft.Insights/metrics/cacheWrite",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "cacheWrite",
+ "localizedValue": "Cache Write"
+ },
+ "displayDescription": "The amount of data written to the cache in bytes per second. For more details, see https://aka.ms/redis/metrics.",
+ "unit": "BytesPerSecond",
+ "timeseries": [
+ {
+ "metadatavalues": [],
+ "data": [
+ {
+ "timeStamp": "2023-11-07T14:00:00Z",
+ "average": 6723.489583333333
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.cache/redis",
+ "resourceregion": "westus2",
+ "resourceid": "/subscriptions/12345678-abcd-1234-abcd-123456789abc/resourceGroups/test_redis/providers/Microsoft.Cache/Redis/redis2"
+ }
+ ]
+ }
+ },
+ "default": {
+ "headers": {
+ "x-ms-error-code": "BadRequest"
+ },
+ "body": {
+ "error": {
+ "additionalInfo": [
+ {
+ "type": "string",
+ "info": "TraceId=dd033ebf1e260d815f4bccad149bbc15"
+ },
+ {
+ "type": "string",
+ "info": "ExceptionType=Microsoft.Online.Metrics.MetricsMP.Utilities.RPRequestFormatException"
+ }
+ ],
+ "code": "BadRequest",
+ "message": "Detected invalid time range parameters for API version 2023-10-01. Please use only starttime and endtime to specify a time range."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/metricBatch.json b/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/metricBatch.json
new file mode 100644
index 000000000000..5ebbd91d24d7
--- /dev/null
+++ b/specification/monitor/data-plane/Microsoft.Insights/stable/2023-10-01/metricBatch.json
@@ -0,0 +1,279 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Monitor Metric Batch",
+ "version": "2023-10-01"
+ },
+ "securityDefinitions": {
+ "AADToken": {
+ "type": "oauth2",
+ "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
+ "flow": "application",
+ "description": "Azure Active Directory OAuth2 Authentication",
+ "scopes": {
+ "https://metrics.monitor.azure.com/.default": "https://metrics.monitor.azure.com/.default"
+ }
+ }
+ },
+ "security": [
+ {
+ "AADToken": [
+ "https://metrics.monitor.azure.com/.default"
+ ]
+ }
+ ],
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{endpoint}",
+ "useSchemePrefix": false,
+ "positionInOperation": "first",
+ "parameters": [
+ {
+ "name": "endpoint",
+ "description": "The regional endpoint to use, for example https://eastus.metrics.monitor.azure.com. The region should match the region of the requested resources. For global resources, the region should be 'global'.",
+ "required": true,
+ "type": "string",
+ "in": "path",
+ "format": "url",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "client"
+ }
+ ]
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/metrics:getBatch": {
+ "post": {
+ "tags": [
+ "Metrics"
+ ],
+ "operationId": "MetricsBatch_Batch",
+ "description": "Lists the metric values for multiple resources.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/StartTimeParameter"
+ },
+ {
+ "$ref": "#/parameters/EndTimeParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamespaceParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamesParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/AggregationsParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/TopParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/OrderByParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RollUpByParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "batchRequest",
+ "in": "body",
+ "required": true,
+ "description": "Metrics batch body including the list of resource ids",
+ "schema": {
+ "$ref": "#/definitions/ResourceIdList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The response to a metrics query.",
+ "schema": {
+ "$ref": "#/definitions/MetricResultsResponse"
+ }
+ },
+ "default": {
+ "description": "Describes the format of Error response.",
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "Error code for specific error that occurred."
+ }
+ },
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Query Storage Metrics": {
+ "$ref": "./examples/MetricBatchExample.json"
+ },
+ "Query Redis Metrics summary": {
+ "$ref": "./examples/MetricBatchExample2.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "description": "The subscription identifier for the resources in this batch.",
+ "x-ms-parameter-location": "method"
+ },
+ "StartTimeParameter": {
+ "name": "starttime",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The start time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'. If you have specified the endtime parameter, then this parameter is required.\nIf only starttime is specified, then endtime defaults to the current time.\nIf no time interval is specified, the default is 1 hour.",
+ "x-ms-parameter-location": "method"
+ },
+ "EndTimeParameter": {
+ "name": "endtime",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The end time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'.",
+ "x-ms-parameter-location": "method"
+ },
+ "IntervalParameter": {
+ "name": "interval",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "default": "PT1M",
+ "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamespaceParameter": {
+ "name": "metricnamespace",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Metric namespace that contains the requested metric names.",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamesParameter": {
+ "name": "metricnames",
+ "in": "query",
+ "required": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "csv",
+ "description": "The names of the metrics (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "FilterParameter": {
+ "name": "filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version.",
+ "x-ms-parameter-location": "client"
+ }
+ },
+ "definitions": {
+ "ResourceIdList": {
+ "description": "The comma separated list of resource IDs to query metrics for.",
+ "type": "object",
+ "properties": {
+ "resourceids": {
+ "description": "The list of resource IDs to query metrics for.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "arm-id"
+ }
+ }
+ },
+ "example": {
+ "resourceids": [
+ "/subscriptions/123456728-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage1",
+ "/subscriptions/123456728-abcd-1234-abcd-123456789abc/resourceGroups/TestGroup/providers/Microsoft.Storage/storageAccounts/TestStorage2"
+ ]
+ }
+ },
+ "MetricResultsResponse": {
+ "description": "The metrics result for a resource.",
+ "type": "object",
+ "properties": {
+ "values": {
+ "description": "The collection of metric data responses per resource, per metric.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "starttime": {
+ "type": "string",
+ "description": "The start time, in datetime format, for which the data was retrieved."
+ },
+ "endtime": {
+ "type": "string",
+ "description": "The end time, in datetime format, for which the data was retrieved."
+ },
+ "interval": {
+ "type": "string",
+ "description": "The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (*Examples: PT15M, PT1H, P1D, FULL*). \nThis may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified."
+ },
+ "namespace": {
+ "type": "string",
+ "description": "The namespace of the metrics been queried"
+ },
+ "resourceregion": {
+ "type": "string",
+ "description": "The region of the resource been queried for metrics."
+ },
+ "resourceid": {
+ "type": "string",
+ "description": "The resource that has been queried for metrics."
+ },
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Metric"
+ },
+ "description": "The value of the collection."
+ }
+ },
+ "required": [
+ "starttime",
+ "endtime",
+ "value"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/data-plane/readme.md b/specification/monitor/data-plane/readme.md
index 1cc58a6c9800..055b9e9fc7d4 100644
--- a/specification/monitor/data-plane/readme.md
+++ b/specification/monitor/data-plane/readme.md
@@ -28,18 +28,28 @@ These are the global settings for the MonitorClient API.
title: MonitorClient
description: Monitor Management Client
openapi-type: data-plane
-tag: package-preview-2023-05
+tag: package-2023-10
```
+### Tag: package-2023-10
+
+These settings apply only when `--tag=package-2023-10` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-10'
+input-file:
+ - Microsoft.Insights/stable/2023-10-01/metricBatch.json
+```
+
### Tag: package-preview-2023-05
These settings apply only when `--tag=package-preview-2023-05` is specified on the command line.
-```yaml $(tag) == 'package-preview-2023-05'
+``` yaml $(tag) == 'package-preview-2023-05'
input-file:
- Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json
```
+
### Tag: package-preview-2023-03
These settings apply only when `--tag=package-preview-2023-03` is specified on the command line.
@@ -69,7 +79,6 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- - repo: azure-sdk-for-net-track2
```
## C#
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
index c6978792544a..98ca612d7127 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
@@ -146,7 +146,7 @@
"description": "the namespace the metric belongs to."
},
"name": {
- "$ref": "../../../../commonDefinitions.json#/definitions/LocalizableString",
+ "$ref": "../../../../common-types/v1/commonMonitoringTypes.json#/definitions/LocalizableString",
"description": "the name and the display name of the metric, i.e. it is a localizable string."
},
"displayDescription": {
@@ -162,7 +162,7 @@
"description": "The class of the metric."
},
"unit": {
- "$ref": "../../../../commonDefinitions.json#/definitions/Unit",
+ "$ref": "../../../../common-types/v1/commonMonitoringTypes.json#/definitions/Unit",
"description": "The unit of the metric."
},
"primaryAggregationType": {
@@ -191,7 +191,7 @@
"dimensions": {
"type": "array",
"items": {
- "$ref": "../../../../commonDefinitions.json#/definitions/LocalizableString"
+ "$ref": "../../../../common-types/v1/commonMonitoringTypes.json#/definitions/LocalizableString"
},
"x-ms-identifiers": [
"value"
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json
index 65045c35c588..70fd745a0282 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json
@@ -137,7 +137,7 @@
"value": {
"type": "array",
"items": {
- "$ref": "../../../../commonDefinitions.json#/definitions/Metric"
+ "$ref": "../../../../common-types/v1/commonMonitoringTypes.json#/definitions/Metric"
},
"description": "the value of the collection."
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetric.json
new file mode 100644
index 000000000000..704b61dbc32a
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetric.json
@@ -0,0 +1,485 @@
+{
+ "parameters": {
+ "resourceUri": "subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default",
+ "timespan": "2021-04-20T09:00:00.000Z/2021-04-20T14:00:00.000Z",
+ "metricnames": "BlobCount,BlobCapacity",
+ "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices",
+ "$filter": "Tier eq '*'",
+ "top": 5,
+ "orderby": "average asc",
+ "aggregation": "average,minimum,maximum",
+ "interval": "PT6H",
+ "AutoAdjustTimegrain": true,
+ "ValidateDimensions": false,
+ "api-version": "2023-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 598,
+ "timespan": "2021-04-20T09:00:00Z/2021-04-20T14:00:00Z",
+ "interval": "PT1H",
+ "value": [
+ {
+ "id": "/subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default/providers/Microsoft.Insights/metrics/BlobCount",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCount",
+ "localizedValue": "Blob Count"
+ },
+ "displayDescription": "The number of blob objects stored in the storage account.",
+ "unit": "Count",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Hot"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 7.0,
+ "minimum": 7.0,
+ "maximum": 7.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 7.0,
+ "minimum": 7.0,
+ "maximum": 7.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 7.0,
+ "minimum": 7.0,
+ "maximum": 7.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 7.0,
+ "minimum": 7.0,
+ "maximum": 7.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 7.0,
+ "minimum": 7.0,
+ "maximum": 7.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Standard"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 2.0,
+ "minimum": 2.0,
+ "maximum": 2.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 2.0,
+ "minimum": 2.0,
+ "maximum": 2.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 2.0,
+ "minimum": 2.0,
+ "maximum": 2.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 2.0,
+ "minimum": 2.0,
+ "maximum": 2.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 2.0,
+ "minimum": 2.0,
+ "maximum": 2.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Cool"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Archive"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Untiered"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ },
+ {
+ "id": "/subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.",
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Standard"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 621492.0,
+ "minimum": 621492.0,
+ "maximum": 621492.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 621492.0,
+ "minimum": 621492.0,
+ "maximum": 621492.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 621492.0,
+ "minimum": 621492.0,
+ "maximum": 621492.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 621492.0,
+ "minimum": 621492.0,
+ "maximum": 621492.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 621492.0,
+ "minimum": 621492.0,
+ "maximum": 621492.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Hot"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 4733.0,
+ "minimum": 4733.0,
+ "maximum": 4733.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 4733.0,
+ "minimum": 4733.0,
+ "maximum": 4733.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 4733.0,
+ "minimum": 4733.0,
+ "maximum": 4733.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 4733.0,
+ "minimum": 4733.0,
+ "maximum": 4733.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 4733.0,
+ "minimum": 4733.0,
+ "maximum": 4733.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Archive"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Untiered"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Cool"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-04-20T09:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T10:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T11:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T12:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ },
+ {
+ "timeStamp": "2021-04-20T13:00:00Z",
+ "average": 0.0,
+ "minimum": 0.0,
+ "maximum": 0.0
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.storage/storageaccounts/blobservices",
+ "resourceregion": "westus2"
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitions.json
new file mode 100644
index 000000000000..eb5b778fa859
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitions.json
@@ -0,0 +1,981 @@
+{
+ "parameters": {
+ "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
+ "api-version": "2023-10-01",
+ "metricnamespace": "Microsoft.Web/sites"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "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"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "default": {
+ "body": {
+ "code": "BadRequest",
+ "message": "ApiVersion: 2018-01-01 does not support query metricdefinitions at non Arm resource Id level"
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitionsApplicationInsights.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitionsApplicationInsights.json
new file mode 100644
index 000000000000..b35fe90d22c7
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitionsApplicationInsights.json
@@ -0,0 +1,1939 @@
+{
+ "parameters": {
+ "resourceUri": "subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions",
+ "api-version": "2023-10-01",
+ "metricnamespace": "microsoft.insights/components"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitionsMetricClass.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitionsMetricClass.json
new file mode 100644
index 000000000000..d64f52e044f0
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricDefinitionsMetricClass.json
@@ -0,0 +1,1306 @@
+{
+ "parameters": {
+ "resourceUri": "subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/adgarntptestrg/providers/Microsoft.StorageCache/caches/adgarntptestcache",
+ "api-version": "2023-10-01",
+ "metricnamespace": "microsoft.storagecache/caches"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricError.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricError.json
new file mode 100644
index 000000000000..4394343f08e8
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricError.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "resourceUri": "subscriptions/ac41e21f-afd6-4a79-8070-f01eba278f97/resourceGroups/todking/providers/Microsoft.DocumentDb/databaseAccounts/tk-cosmos-mongo",
+ "timespan": "2021-06-07T21:51:00Z/2021-06-08T01:51:00Z",
+ "metricnames": "MongoRequestsCount,MongoRequests",
+ "metricnamespace": "microsoft.documentdb/databaseaccounts",
+ "aggregation": "average",
+ "interval": "FULL",
+ "AutoAdjustTimegrain": true,
+ "ValidateDimensions": false,
+ "api-version": "2023-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 239,
+ "timespan": "2021-06-07T21:51:00Z/2021-06-08T01:51:00Z",
+ "interval": "PT4H",
+ "value": [
+ {
+ "id": "/subscriptions/ac41e21f-afd6-4a79-8070-f01eba278f97/resourceGroups/todking/providers/Microsoft.DocumentDb/databaseAccounts/tk-cosmos-mongo/providers/Microsoft.Insights/metrics/MongoRequestsCount",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "MongoRequestsCount",
+ "localizedValue": "(deprecated) Mongo Request Rate"
+ },
+ "unit": "CountPerSecond",
+ "timeseries": [],
+ "errorMessage": "Sampling type is not found. Metric:CosmosDBCustomer,AzureMonitor,MongoRequests, SamplingType:NullableAverage.",
+ "errorCode": "InvalidSamplingType"
+ },
+ {
+ "id": "/subscriptions/ac41e21f-afd6-4a79-8070-f01eba278f97/resourceGroups/todking/providers/Microsoft.DocumentDb/databaseAccounts/tk-cosmos-mongo/providers/Microsoft.Insights/metrics/MongoRequests",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "MongoRequests",
+ "localizedValue": "Mongo Requests"
+ },
+ "displayDescription": "Number of Mongo Requests Made",
+ "unit": "Count",
+ "timeseries": [
+ {
+ "metadatavalues": [],
+ "data": [
+ {
+ "timeStamp": "2021-06-07T21:51:00Z",
+ "average": 0.0
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.documentdb/databaseaccounts",
+ "resourceregion": "westus2"
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricMetadata.json
new file mode 100644
index 000000000000..2f2b1ba83b78
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMetricMetadata.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "resourceUri": "subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCount",
+ "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices",
+ "$filter": "Tier eq '*'",
+ "resulttype": "metadata",
+ "api-version": "2023-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timespan": "2021-04-15T02:18:00Z/2021-04-22T02:18:00Z",
+ "interval": "PT1H",
+ "value": [
+ {
+ "id": "/subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default/providers/Microsoft.Insights/metrics/BlobCount",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCount",
+ "localizedValue": "Blob Count"
+ },
+ "displayDescription": "The number of blob objects stored in the storage account.",
+ "unit": "Count",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Cool"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Archive"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Standard"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Untiered"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "tier",
+ "localizedValue": "tier"
+ },
+ "value": "Hot"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "namespace": "microsoft.storage/storageaccounts/blobservices",
+ "resourceregion": "westus2"
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetric.json
new file mode 100644
index 000000000000..a262d8b7470f
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetric.json
@@ -0,0 +1,377 @@
+{
+ "parameters": {
+ "subscriptionId": "92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "region": "westus2",
+ "timespan": "2021-06-08T19:00:00Z/2021-06-12T01:00:00Z",
+ "metricnames": "Data Disk Max Burst IOPS",
+ "metricnamespace": "microsoft.compute/virtualmachines",
+ "$filter": "LUN eq '0' and Microsoft.ResourceId eq '*'",
+ "rollupBy": "LUN",
+ "top": 10,
+ "orderby": "count desc",
+ "aggregation": "count",
+ "interval": "PT6H",
+ "AutoAdjustTimegrain": true,
+ "ValidateDimensions": false,
+ "api-version": "2023-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 4679,
+ "timespan": "2021-06-08T19:00:00Z/2021-06-12T01:00:00Z",
+ "interval": "PT6H",
+ "value": [
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/Microsoft.Insights/metrics/Data Disk Max Burst IOPS",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Data Disk Max Burst IOPS",
+ "localizedValue": "Data Disk Max Burst IOPS"
+ },
+ "displayDescription": "Maximum IOPS Data Disk can achieve with bursting",
+ "unit": "Count",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas1/providers/Microsoft.Compute/virtualMachines/sas1-dev"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 413.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas2/providers/Microsoft.Compute/virtualMachines/sas2-vm"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 133.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas3/providers/Microsoft.Compute/virtualMachines/sas3-vm"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 78.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas4/providers/Microsoft.Compute/virtualMachines/sas4-vm"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas5/providers/Microsoft.Compute/virtualMachines/sas5-vm-asc"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.compute/virtualmachines",
+ "resourceregion": "westus2"
+ }
+ },
+ "default": {
+ "body": {
+ "error": {
+ "code": "BadRequest",
+ "message": "Missing required region params"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetricDefinitions.json
new file mode 100644
index 000000000000..2bbafcb9c760
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetricDefinitions.json
@@ -0,0 +1,3311 @@
+{
+ "parameters": {
+ "subscriptionId": "92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "region": "westus2",
+ "api-version": "2023-10-01",
+ "metricnamespace": "microsoft.compute/virtualmachines"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Percentage CPU",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Percentage CPU",
+ "localizedValue": "Percentage CPU"
+ },
+ "displayDescription": "The percentage of allocated compute units that are currently in use by the Virtual Machine(s)",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Network In",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Network In",
+ "localizedValue": "Network In Billable (Deprecated)"
+ },
+ "displayDescription": "The number of billable bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic) (Deprecated)",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Network Out",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Network Out",
+ "localizedValue": "Network Out Billable (Deprecated)"
+ },
+ "displayDescription": "The number of billable bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic) (Deprecated)",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Disk Read Bytes",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Disk Read Bytes",
+ "localizedValue": "Disk Read Bytes"
+ },
+ "displayDescription": "Bytes read from disk during monitoring period",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Disk Write Bytes",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Disk Write Bytes",
+ "localizedValue": "Disk Write Bytes"
+ },
+ "displayDescription": "Bytes written to disk during monitoring period",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Disk Read Operations/Sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Disk Read Operations/Sec",
+ "localizedValue": "Disk Read Operations/Sec"
+ },
+ "displayDescription": "Disk Read IOPS",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Disk Write Operations/Sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Disk Write Operations/Sec",
+ "localizedValue": "Disk Write Operations/Sec"
+ },
+ "displayDescription": "Disk Write IOPS",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/CPU Credits Remaining",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "CPU Credits Remaining",
+ "localizedValue": "CPU Credits Remaining"
+ },
+ "displayDescription": "Total number of credits available to burst. Only available on B-series burstable VMs",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/CPU Credits Consumed",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "CPU Credits Consumed",
+ "localizedValue": "CPU Credits Consumed"
+ },
+ "displayDescription": "Total number of credits consumed by the Virtual Machine. Only available on B-series burstable VMs",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Read Bytes/sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Read Bytes/sec",
+ "localizedValue": "Data Disk Read Bytes/Sec"
+ },
+ "displayDescription": "Bytes/Sec read from a single disk during monitoring period",
+ "isDimensionRequired": false,
+ "unit": "BytesPerSecond",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Write Bytes/sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Write Bytes/sec",
+ "localizedValue": "Data Disk Write Bytes/Sec"
+ },
+ "displayDescription": "Bytes/Sec written to a single disk during monitoring period",
+ "isDimensionRequired": false,
+ "unit": "BytesPerSecond",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Read Operations/Sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Read Operations/Sec",
+ "localizedValue": "Data Disk Read Operations/Sec"
+ },
+ "displayDescription": "Read IOPS from a single disk during monitoring period",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Write Operations/Sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Write Operations/Sec",
+ "localizedValue": "Data Disk Write Operations/Sec"
+ },
+ "displayDescription": "Write IOPS from a single disk during monitoring period",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Queue Depth",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Queue Depth",
+ "localizedValue": "Data Disk Queue Depth"
+ },
+ "displayDescription": "Data Disk Queue Depth(or Queue Length)",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Bandwidth Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Bandwidth Consumed Percentage",
+ "localizedValue": "Data Disk Bandwidth Consumed Percentage"
+ },
+ "displayDescription": "Percentage of data disk bandwidth consumed per minute",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk IOPS Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk IOPS Consumed Percentage",
+ "localizedValue": "Data Disk IOPS Consumed Percentage"
+ },
+ "displayDescription": "Percentage of data disk I/Os consumed per minute",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Target Bandwidth",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Target Bandwidth",
+ "localizedValue": "Data Disk Target Bandwidth"
+ },
+ "displayDescription": "Baseline bytes per second throughput Data Disk can achieve without bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Target IOPS",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Target IOPS",
+ "localizedValue": "Data Disk Target IOPS"
+ },
+ "displayDescription": "Baseline IOPS Data Disk can achieve without bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Max Burst Bandwidth",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Max Burst Bandwidth",
+ "localizedValue": "Data Disk Max Burst Bandwidth"
+ },
+ "displayDescription": "Maximum bytes per second throughput Data Disk can achieve with bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Max Burst IOPS",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Max Burst IOPS",
+ "localizedValue": "Data Disk Max Burst IOPS"
+ },
+ "displayDescription": "Maximum IOPS Data Disk can achieve with bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Used Burst BPS Credits Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Used Burst BPS Credits Percentage",
+ "localizedValue": "Data Disk Used Burst BPS Credits Percentage"
+ },
+ "displayDescription": "Percentage of Data Disk burst bandwidth credits used so far",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Data Disk Used Burst IO Credits Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Data Disk Used Burst IO Credits Percentage",
+ "localizedValue": "Data Disk Used Burst IO Credits Percentage"
+ },
+ "displayDescription": "Percentage of Data Disk burst I/O credits used so far",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Read Bytes/sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Read Bytes/sec",
+ "localizedValue": "OS Disk Read Bytes/Sec"
+ },
+ "displayDescription": "Bytes/Sec read from a single disk during monitoring period for OS disk",
+ "isDimensionRequired": false,
+ "unit": "BytesPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Write Bytes/sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Write Bytes/sec",
+ "localizedValue": "OS Disk Write Bytes/Sec"
+ },
+ "displayDescription": "Bytes/Sec written to a single disk during monitoring period for OS disk",
+ "isDimensionRequired": false,
+ "unit": "BytesPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Read Operations/Sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Read Operations/Sec",
+ "localizedValue": "OS Disk Read Operations/Sec"
+ },
+ "displayDescription": "Read IOPS from a single disk during monitoring period for OS disk",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Write Operations/Sec",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Write Operations/Sec",
+ "localizedValue": "OS Disk Write Operations/Sec"
+ },
+ "displayDescription": "Write IOPS from a single disk during monitoring period for OS disk",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Queue Depth",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Queue Depth",
+ "localizedValue": "OS Disk Queue Depth"
+ },
+ "displayDescription": "OS Disk Queue Depth(or Queue Length)",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Bandwidth Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Bandwidth Consumed Percentage",
+ "localizedValue": "OS Disk Bandwidth Consumed Percentage"
+ },
+ "displayDescription": "Percentage of operating system disk bandwidth consumed per minute",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk IOPS Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk IOPS Consumed Percentage",
+ "localizedValue": "OS Disk IOPS Consumed Percentage"
+ },
+ "displayDescription": "Percentage of operating system disk I/Os consumed per minute",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Target Bandwidth",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Target Bandwidth",
+ "localizedValue": "OS Disk Target Bandwidth"
+ },
+ "displayDescription": "Baseline bytes per second throughput OS Disk can achieve without bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Target IOPS",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Target IOPS",
+ "localizedValue": "OS Disk Target IOPS"
+ },
+ "displayDescription": "Baseline IOPS OS Disk can achieve without bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Max Burst Bandwidth",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Max Burst Bandwidth",
+ "localizedValue": "OS Disk Max Burst Bandwidth"
+ },
+ "displayDescription": "Maximum bytes per second throughput OS Disk can achieve with bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Max Burst IOPS",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Max Burst IOPS",
+ "localizedValue": "OS Disk Max Burst IOPS"
+ },
+ "displayDescription": "Maximum IOPS OS Disk can achieve with bursting",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Used Burst BPS Credits Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Used Burst BPS Credits Percentage",
+ "localizedValue": "OS Disk Used Burst BPS Credits Percentage"
+ },
+ "displayDescription": "Percentage of OS Disk burst bandwidth credits used so far",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/OS Disk Used Burst IO Credits Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "OS Disk Used Burst IO Credits Percentage",
+ "localizedValue": "OS Disk Used Burst IO Credits Percentage"
+ },
+ "displayDescription": "Percentage of OS Disk burst I/O credits used so far",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Inbound Flows",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Inbound Flows",
+ "localizedValue": "Inbound Flows"
+ },
+ "displayDescription": "Inbound Flows are number of current flows in the inbound direction (traffic going into the VM)",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Outbound Flows",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Outbound Flows",
+ "localizedValue": "Outbound Flows"
+ },
+ "displayDescription": "Outbound Flows are number of current flows in the outbound direction (traffic going out of the VM)",
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Inbound Flows Maximum Creation Rate",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Inbound Flows Maximum Creation Rate",
+ "localizedValue": "Inbound Flows Maximum Creation Rate"
+ },
+ "displayDescription": "The maximum creation rate of inbound flows (traffic going into the VM)",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Outbound Flows Maximum Creation Rate",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Outbound Flows Maximum Creation Rate",
+ "localizedValue": "Outbound Flows Maximum Creation Rate"
+ },
+ "displayDescription": "The maximum creation rate of outbound flows (traffic going out of the VM)",
+ "isDimensionRequired": false,
+ "unit": "CountPerSecond",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Premium Data Disk Cache Read Hit",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Premium Data Disk Cache Read Hit",
+ "localizedValue": "Premium Data Disk Cache Read Hit"
+ },
+ "displayDescription": "Premium Data Disk Cache Read Hit",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Premium Data Disk Cache Read Miss",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Premium Data Disk Cache Read Miss",
+ "localizedValue": "Premium Data Disk Cache Read Miss"
+ },
+ "displayDescription": "Premium Data Disk Cache Read Miss",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "LUN",
+ "localizedValue": "LUN"
+ },
+ {
+ "value": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Premium OS Disk Cache Read Hit",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Premium OS Disk Cache Read Hit",
+ "localizedValue": "Premium OS Disk Cache Read Hit"
+ },
+ "displayDescription": "Premium OS Disk Cache Read Hit",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Premium OS Disk Cache Read Miss",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Premium OS Disk Cache Read Miss",
+ "localizedValue": "Premium OS Disk Cache Read Miss"
+ },
+ "displayDescription": "Premium OS Disk Cache Read Miss",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/VM Cached Bandwidth Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "VM Cached Bandwidth Consumed Percentage",
+ "localizedValue": "VM Cached Bandwidth Consumed Percentage"
+ },
+ "displayDescription": "Percentage of cached disk bandwidth consumed by the VM",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/VM Cached IOPS Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "VM Cached IOPS Consumed Percentage",
+ "localizedValue": "VM Cached IOPS Consumed Percentage"
+ },
+ "displayDescription": "Percentage of cached disk IOPS consumed by the VM",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/VM Uncached Bandwidth Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "VM Uncached Bandwidth Consumed Percentage",
+ "localizedValue": "VM Uncached Bandwidth Consumed Percentage"
+ },
+ "displayDescription": "Percentage of uncached disk bandwidth consumed by the VM",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/VM Uncached IOPS Consumed Percentage",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "VM Uncached IOPS Consumed Percentage",
+ "localizedValue": "VM Uncached IOPS Consumed Percentage"
+ },
+ "displayDescription": "Percentage of uncached disk IOPS consumed by the VM",
+ "isDimensionRequired": false,
+ "unit": "Percent",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Network In Total",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Network In Total",
+ "localizedValue": "Network In Total"
+ },
+ "displayDescription": "The number of bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic)",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ },
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/microsoft.insights/metricdefinitions/Network Out Total",
+ "resourceId": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "namespace": "microsoft.compute/virtualmachines",
+ "name": {
+ "value": "Network Out Total",
+ "localizedValue": "Network Out Total"
+ },
+ "displayDescription": "The number of bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic)",
+ "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": "Microsoft.ResourceId",
+ "localizedValue": "Microsoft.ResourceId"
+ },
+ {
+ "value": "Microsoft.ResourceGroupName",
+ "localizedValue": "Microsoft.ResourceGroupName"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "default": {
+ "body": {
+ "error": {
+ "additionalInfo": [
+ {
+ "type": "string",
+ "info": "TraceId={d477a351-7473-4f86-b8c9-edc2b704ebf2}"
+ },
+ {
+ "type": "string",
+ "info": "ExceptionType=Microsoft.Online.Metrics.MetricsMP.Utilities.RPRequestFormatException"
+ }
+ ],
+ "code": "BadRequest",
+ "message": "Missing required region params, requested QueryParams: metricNamespace:microsoft.cache/redis and api-version:2023-10-01"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetricMetadata.json
new file mode 100644
index 000000000000..458052a1d680
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/GetMultiResourceMetricMetadata.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "region": "westus2",
+ "timespan": "2021-06-10T02:23:16.129Z/2021-06-12T02:23:16.129Z",
+ "metricnames": "Data Disk Max Burst IOPS",
+ "metricnamespace": "microsoft.compute/virtualmachines",
+ "$filter": "LUN eq '0'",
+ "resulttype": "metadata",
+ "api-version": "2023-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timespan": "2021-06-10T02:23:16Z/2021-06-12T02:23:16Z",
+ "interval": "PT1M",
+ "value": [
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/Microsoft.Insights/metrics/Data Disk Read Bytes/sec",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Data Disk Read Bytes/sec",
+ "localizedValue": "Data Disk Read Bytes/Sec"
+ },
+ "displayDescription": "Bytes/Sec read from a single disk during monitoring period",
+ "unit": "BytesPerSecond",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "lun",
+ "localizedValue": "lun"
+ },
+ "value": "0"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "lun",
+ "localizedValue": "lun"
+ },
+ "value": "1"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "namespace": "microsoft.compute/virtualmachines",
+ "resourceregion": "westus2"
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/PostMultiResourceMetricBody.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/PostMultiResourceMetricBody.json
new file mode 100644
index 000000000000..acdfdaef0bb3
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/examples/PostMultiResourceMetricBody.json
@@ -0,0 +1,379 @@
+{
+ "parameters": {
+ "subscriptionId": "92d2a2d8-b514-432d-8cc9-a5f9272630d5",
+ "region": "westus2",
+ "api-version": "2023-10-01",
+ "body": {
+ "timespan": "2021-06-08T19:00:00Z/2021-06-12T01:00:00Z",
+ "metricNames": "Data Disk Max Burst IOPS",
+ "metricNamespace": "microsoft.compute/virtualmachines",
+ "filter": "LUN eq '0' and Microsoft.ResourceId eq '*'",
+ "rollUpBy": "LUN",
+ "top": 10,
+ "orderBy": "count desc",
+ "aggregation": "count",
+ "interval": "PT6H",
+ "autoAdjustTimegrain": true,
+ "validateDimensions": false
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 4679,
+ "timespan": "2021-06-08T19:00:00Z/2021-06-12T01:00:00Z",
+ "interval": "PT6H",
+ "value": [
+ {
+ "id": "subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/providers/Microsoft.Insights/metrics/Data Disk Max Burst IOPS",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "Data Disk Max Burst IOPS",
+ "localizedValue": "Data Disk Max Burst IOPS"
+ },
+ "displayDescription": "Maximum IOPS Data Disk can achieve with bursting",
+ "unit": "Count",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas1/providers/Microsoft.Compute/virtualMachines/sas1-dev"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 413.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas2/providers/Microsoft.Compute/virtualMachines/sas2-vm"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 133.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas3/providers/Microsoft.Compute/virtualMachines/sas3-vm"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 78.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas4/providers/Microsoft.Compute/virtualMachines/sas4-vm"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "microsoft.resourceid",
+ "localizedValue": "microsoft.resourceid"
+ },
+ "value": "/subscriptions/92d2a2d8-b514-432d-8cc9-a5f9272630d5/resourceGroups/sas5/providers/Microsoft.Compute/virtualMachines/sas5-vm-asc"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2021-06-08T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-09T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-10T19:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T01:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T07:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T13:00:00Z",
+ "count": 72.0
+ },
+ {
+ "timeStamp": "2021-06-11T19:00:00Z",
+ "count": 72.0
+ }
+ ]
+ }
+ ],
+ "errorCode": "Success"
+ }
+ ],
+ "namespace": "microsoft.compute/virtualmachines",
+ "resourceregion": "westus2"
+ }
+ },
+ "default": {
+ "body": {
+ "error": {
+ "code": "BadRequest",
+ "message": "Missing required region params"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json
new file mode 100644
index 000000000000..cc9e72e91c73
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json
@@ -0,0 +1,374 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Monitor Metrics Definitions API",
+ "description": "Provides APIs for getting the metric metadata for Azure resources.",
+ "version": "2023-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricDefinitions": {
+ "get": {
+ "tags": [
+ "MetricDefinitions"
+ ],
+ "operationId": "MetricDefinitions_ListAtSubscriptionScope",
+ "description": "Lists the metric definitions for the subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RegionParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/MetricNamespaceParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/ErrorContract"
+ }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric definitions",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionScopeMetricDefinitionCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Get Subscription level Metric Definitions without filter": {
+ "$ref": "./examples/GetMultiResourceMetricDefinitions.json"
+ }
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.Insights/metricDefinitions": {
+ "get": {
+ "tags": [
+ "MetricDefinitions"
+ ],
+ "operationId": "MetricDefinitions_List",
+ "description": "Lists the metric definitions for the resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/ResourceUriParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/MetricNamespaceParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric definitions",
+ "schema": {
+ "$ref": "#/definitions/MetricDefinitionCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Get Metric Definitions without filter": {
+ "$ref": "./examples/GetMetricDefinitions.json"
+ },
+ "Get Application Insights Metric Definitions without filter": {
+ "$ref": "./examples/GetMetricDefinitionsApplicationInsights.json"
+ },
+ "Get StorageCache Metric Definitions with metric class": {
+ "$ref": "./examples/GetMetricDefinitionsMetricClass.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MetricAvailability": {
+ "type": "object",
+ "properties": {
+ "timeGrain": {
+ "type": "string",
+ "format": "duration",
+ "description": "The time grain specifies a supported aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc."
+ },
+ "retention": {
+ "type": "string",
+ "format": "duration",
+ "description": "The retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc."
+ }
+ },
+ "description": "Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain."
+ },
+ "AggregationType": {
+ "type": "string",
+ "description": "The aggregation type of the metric.",
+ "enum": [
+ "None",
+ "Average",
+ "Count",
+ "Minimum",
+ "Maximum",
+ "Total"
+ ],
+ "x-ms-enum": {
+ "name": "AggregationType",
+ "modelAsString": false
+ }
+ },
+ "MetricAggregationType": {
+ "type": "string",
+ "description": "The aggregation type of the metric.",
+ "enum": [
+ "None",
+ "Average",
+ "Count",
+ "Minimum",
+ "Maximum",
+ "Total"
+ ],
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "modelAsString": true
+ }
+ },
+ "MetricClass": {
+ "type": "string",
+ "description": "The class of the metric.",
+ "enum": [
+ "Availability",
+ "Transactions",
+ "Errors",
+ "Latency",
+ "Saturation"
+ ],
+ "x-ms-enum": {
+ "name": "MetricClass",
+ "modelAsString": true
+ }
+ },
+ "MetricDefinition": {
+ "type": "object",
+ "properties": {
+ "isDimensionRequired": {
+ "type": "boolean",
+ "description": "Flag to indicate whether the dimension is required."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The resource identifier of the resource that emitted the metric."
+ },
+ "namespace": {
+ "type": "string",
+ "description": "The namespace the metric belongs to."
+ },
+ "name": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/LocalizableString",
+ "description": "The name and the display name of the metric, i.e. it is a localizable string."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Detailed description of this metric."
+ },
+ "category": {
+ "type": "string",
+ "description": "Custom category name for this metric."
+ },
+ "metricClass": {
+ "$ref": "#/definitions/MetricClass",
+ "description": "The class of the metric."
+ },
+ "unit": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Unit",
+ "description": "The unit of the metric."
+ },
+ "primaryAggregationType": {
+ "$ref": "#/definitions/AggregationType",
+ "description": "The primary aggregation type value defining how to use the values for display."
+ },
+ "supportedAggregationTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AggregationType"
+ },
+ "description": "The collection of what aggregation types are supported."
+ },
+ "metricAvailabilities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricAvailability"
+ },
+ "x-ms-identifiers": [
+ "timeGrain"
+ ],
+ "description": "The collection of what aggregation intervals are available to be queried."
+ },
+ "id": {
+ "type": "string",
+ "description": "The resource identifier of the metric definition."
+ },
+ "dimensions": {
+ "type": "array",
+ "items": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/LocalizableString"
+ },
+ "x-ms-identifiers": [
+ "value"
+ ],
+ "description": "The name and the display name of the dimension, i.e. it is a localizable string."
+ }
+ },
+ "description": "Metric definition class specifies the metadata for a metric."
+ },
+ "MetricDefinitionCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricDefinition"
+ },
+ "description": "The values for the metric definitions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "Represents collection of metric definitions."
+ },
+ "SubscriptionScopeMetricDefinition": {
+ "type": "object",
+ "description": "Metric definition class specifies the metadata for a metric.",
+ "properties": {
+ "isDimensionRequired": {
+ "type": "boolean",
+ "description": "Flag to indicate whether the dimension is required."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The resource identifier of the resource that emitted the metric."
+ },
+ "namespace": {
+ "type": "string",
+ "description": "The namespace the metric belongs to."
+ },
+ "name": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/LocalizableString",
+ "description": "The name and the display name of the metric, i.e. it is a localizable string."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Detailed description of this metric."
+ },
+ "category": {
+ "type": "string",
+ "description": "Custom category name for this metric."
+ },
+ "metricClass": {
+ "$ref": "#/definitions/MetricClass",
+ "description": "The class of the metric."
+ },
+ "unit": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Unit",
+ "description": "The unit of the metric."
+ },
+ "primaryAggregationType": {
+ "$ref": "#/definitions/MetricAggregationType",
+ "description": "The primary aggregation type value defining how to use the values for display."
+ },
+ "supportedAggregationTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricAggregationType"
+ },
+ "description": "The collection of what aggregation types are supported."
+ },
+ "metricAvailabilities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricAvailability"
+ },
+ "x-ms-identifiers": [
+ "timeGrain"
+ ],
+ "description": "The collection of what aggregation intervals are available to be queried."
+ },
+ "id": {
+ "type": "string",
+ "description": "The resource identifier of the metric definition."
+ },
+ "dimensions": {
+ "type": "array",
+ "items": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/LocalizableString"
+ },
+ "x-ms-identifiers": [
+ "value"
+ ],
+ "description": "The name and the display name of the dimension, i.e. it is a localizable string."
+ }
+ }
+ },
+ "SubscriptionScopeMetricDefinitionCollection": {
+ "type": "object",
+ "description": "Represents collection of metric definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionScopeMetricDefinition"
+ },
+ "description": "The values for the metric definitions."
+ }
+ },
+ "required": [
+ "value"
+ ]
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/metrics_API.json
new file mode 100644
index 000000000000..559b5fba4358
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2023-10-01/metrics_API.json
@@ -0,0 +1,470 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Monitor Metrics Data API",
+ "description": "Provides APIs for getting the metric data for Azure resources.",
+ "version": "2023-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metrics": {
+ "get": {
+ "tags": [
+ "Metrics"
+ ],
+ "operationId": "Metrics_ListAtSubscriptionScope",
+ "description": "**Lists the metric data for a subscription**.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RegionParameter"
+ },
+ {
+ "$ref": "#/parameters/TimespanParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamesParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/AggregationsParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/TopParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/OrderByParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionScopeResultTypeParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/MetricNamespaceParameter"
+ },
+ {
+ "$ref": "#/parameters/AutoAdjustTimegrain"
+ },
+ {
+ "$ref": "#/parameters/ValidateDimensions"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RollUpByParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/ErrorContract"
+ }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/Response"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/MetadataValue",
+ "x-ms-examples": {
+ "Get subscription level metric data": {
+ "$ref": "./examples/GetMultiResourceMetric.json"
+ },
+ "Get subscription level metric metadata": {
+ "$ref": "./examples/GetMultiResourceMetricMetadata.json"
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Metrics"
+ ],
+ "operationId": "Metrics_ListAtSubscriptionScopePost",
+ "description": "**Lists the metric data for a subscription**. Parameters can be specified on either query params or the body.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RegionParameter"
+ },
+ {
+ "$ref": "#/parameters/TimespanParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamesParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/AggregationsParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/TopParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/OrderByParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionScopeResultTypeParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/MetricNamespaceParameter"
+ },
+ {
+ "$ref": "#/parameters/AutoAdjustTimegrain"
+ },
+ {
+ "$ref": "#/parameters/ValidateDimensions"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RollUpByParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Parameters serialized in the body",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionScopeMetricsRequestBodyParameters"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/ErrorContract"
+ }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/Response"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/MetadataValue",
+ "x-ms-examples": {
+ "Post request for subscription level metric data": {
+ "$ref": "./examples/GetMultiResourceMetric.json"
+ },
+ "Post request for subscription level metric data using body params": {
+ "$ref": "./examples/PostMultiResourceMetricBody.json"
+ },
+ "Post request for subscription level metric metadata": {
+ "$ref": "./examples/GetMultiResourceMetricMetadata.json"
+ }
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.Insights/metrics": {
+ "get": {
+ "tags": [
+ "Metrics"
+ ],
+ "operationId": "Metrics_List",
+ "description": "**Lists the metric values for a resource**.",
+ "parameters": [
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/ResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/TimespanParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamesParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/AggregationsParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/TopParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/OrderByParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/ResultTypeParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/MetricNamespaceParameter"
+ },
+ {
+ "$ref": "#/parameters/AutoAdjustTimegrain"
+ },
+ {
+ "$ref": "#/parameters/ValidateDimensions"
+ },
+ {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/parameters/RollUpByParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/Response"
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/MetadataValue",
+ "x-ms-examples": {
+ "Get Metric for data": {
+ "$ref": "./examples/GetMetric.json"
+ },
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetMetricMetadata.json"
+ },
+ "Get Metric with error": {
+ "$ref": "./examples/GetMetricError.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SubscriptionScopeMetricsRequestBodyParameters": {
+ "description": "Query parameters can also be specified in the body, specifying the same parameter in both the body and query parameters will result in an error.",
+ "type": "object",
+ "properties": {
+ "timespan": {
+ "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
+ "type": "string"
+ },
+ "interval": {
+ "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
+ "type": "string"
+ },
+ "metricNames": {
+ "description": "The names of the metrics (comma separated) to retrieve.",
+ "type": "string"
+ },
+ "aggregation": {
+ "description": "The list of aggregation types (comma separated) to retrieve.",
+ "type": "string"
+ },
+ "filter": {
+ "description": "The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.",
+ "type": "string"
+ },
+ "top": {
+ "description": "The maximum number of records to retrieve.\nValid only if $filter is specified.\nDefaults to 10.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "orderBy": {
+ "description": "The aggregation to use for sorting results and the direction of the sort.\nOnly one order can be specified.\nExamples: sum asc.",
+ "type": "string"
+ },
+ "rollUpBy": {
+ "description": "Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries.",
+ "type": "string"
+ },
+ "resultType": {
+ "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "MetricResultType",
+ "modelAsString": true
+ }
+ },
+ "metricNamespace": {
+ "description": "Metric namespace where the metrics you want reside.",
+ "type": "string"
+ },
+ "autoAdjustTimegrain": {
+ "description": "When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false.",
+ "type": "boolean"
+ },
+ "validateDimensions": {
+ "description": "When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true.",
+ "type": "boolean"
+ }
+ }
+ },
+ "Response": {
+ "type": "object",
+ "description": "The response to a metrics query.",
+ "properties": {
+ "cost": {
+ "type": "number",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The integer value representing the relative cost of the query."
+ },
+ "timespan": {
+ "type": "string",
+ "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
+ },
+ "interval": {
+ "type": "string",
+ "description": "The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (*Examples: PT15M, PT1H, P1D, FULL*). \nThis may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified. This is not present if a metadata request was made."
+ },
+ "namespace": {
+ "type": "string",
+ "description": "The namespace of the metrics being queried"
+ },
+ "resourceregion": {
+ "type": "string",
+ "description": "The region of the resource being queried for metrics."
+ },
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Metric"
+ },
+ "description": "The value of the collection."
+ }
+ },
+ "required": [
+ "timespan",
+ "value"
+ ]
+ }
+ },
+ "parameters": {
+ "TimespanParameter": {
+ "name": "timespan",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
+ "x-ms-parameter-location": "method"
+ },
+ "IntervalParameter": {
+ "name": "interval",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamesParameter": {
+ "name": "metricnames",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The names of the metrics (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "FilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "SubscriptionScopeResultTypeParameter": {
+ "name": "resultType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "MetricResultType",
+ "modelAsString": true
+ },
+ "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.",
+ "x-ms-parameter-location": "method",
+ "required": false
+ },
+ "ResultTypeParameter": {
+ "name": "resultType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "ResultType",
+ "modelAsString": false
+ },
+ "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.",
+ "x-ms-parameter-location": "method",
+ "required": false
+ },
+ "AutoAdjustTimegrain": {
+ "name": "AutoAdjustTimegrain",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false.",
+ "x-ms-parameter-location": "method"
+ },
+ "ValidateDimensions": {
+ "name": "ValidateDimensions",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md
index b1199b3be1a8..45635a245b31 100644
--- a/specification/monitor/resource-manager/readme.md
+++ b/specification/monitor/resource-manager/readme.md
@@ -31,12 +31,46 @@ title: MonitorClient
``` yaml
description: Monitor Management Client
openapi-type: arm
-tag: package-2023-04
+tag: package-2023-10
directive:
- suppress: Example Validations
reason: 'There are open issues (bugs) in the validator affecting some of the examples and since there is no way to selectively disable the validation for a particular example or paths, all of the example validation is being turned off.'
```
+### Tag: package-2023-10
+
+These settings apply only when `--tag=package-2023-10` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-10'
+input-file:
+ - Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json
+ - Microsoft.Monitor/stable/2023-04-03/operations_API.json
+ - Microsoft.Insights/stable/2022-10-01/autoscale_API.json
+ - Microsoft.Insights/stable/2015-04-01/operations_API.json
+ - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
+ - Microsoft.Insights/stable/2016-03-01/alertRules_API.json
+ - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
+ - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json
+ - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json
+ - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json
+ - Microsoft.Insights/preview/2023-05-01-preview/tenantActionGroups_API.json
+ - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
+ - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
+ - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
+ - Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json
+ - Microsoft.Insights/stable/2023-10-01/metrics_API.json
+ - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
+ - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+ - Microsoft.Insights/preview/2022-08-01-preview/scheduledQueryRule_API.json
+ - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
+ - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+ - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json
+ - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
+ - Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json
+ - Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json
+ - Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json
+```
+
### Tag: package-2023-05-01-preview-only
These settings apply only when `--tag=package-2023-05-01-preview-only` is specified on the command line
@@ -79,6 +113,7 @@ input-file:
- Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json
- Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json
```
+
### Tag: package-preview-2023-04
These settings apply only when `--tag=package-preview-2023-04` is specified on the command line.
@@ -1334,6 +1369,15 @@ directive:
from: actionGroups_API.json
where: $.paths
reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)'
+ - suppress: GetCollectionOnlyHasValueAndNextLink
+ from: metricDefinitions_API.json
+ reason: 'Breaking change to modify metricDefinitions now'
+ - suppress: GetCollectionOnlyHasValueAndNextLink
+ from: metrics_API.json
+ reason: 'Due to the ability to sort and order the list, this is incompatible with paging. It would also be a breaking change to modify this now'
+ - suppress: ParametersInPost
+ from: metrics_API.json
+ reason: 'metrics API is really a GET action that allows some parameters to be in the body due to length concerns. It would also be a breaking change to modify this now'
```
This section is a temporary solution to resolve the failure in those pipeline that is still using modeler v1.