Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Insights to add version stable/2021-05-01 #16037

Merged
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1691,6 +1691,7 @@ Rolledback
Rollforward
rollouts
rolloverdetails
rollupby
rootfs
rosettanetprocessconfigurations
rotatediskencryptionkey
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"swagger": "2.0",
"info": {
"version": "2021-05-01",
"title": "Common Monitoring types"
},
"paths": {},
"definitions": {
"LocalizableString": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "the invariant value."
},
"localizedValue": {
"type": "string",
"description": "the locale specific value."
}
},
"description": "The localizable string class."
},
"MetricUnit": {
"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
}
},
"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": "#/definitions/ErrorResponse"
}
}
},
"ErrorResponse": {
"description": "Describes the format of Error response.",
"type": "object",
"properties": {
"code": {
"description": "Error code",
"type": "string"
},
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
}
}
}
},
"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"
}
}
}
Loading