Skip to content

Commit

Permalink
Modified swagger to add 'supportedAggregationType', 'lockedAggredatio… (
Browse files Browse the repository at this point in the history
Azure#13777)

* Modified swagger to add 'supportedAggregationType', 'lockedAggredationType', 'toBeExportedForShoebox' properties to the metric specifications

* Fixed issues with prettier

* Included items property for supportedAggregationType

* Included missing metric specification properties

* Fixed typo

* Included aggregation type

* Ran prettier

Co-authored-by: Raymond Ononiwu <[email protected]>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent ace55ba commit e5b4c7a
Showing 1 changed file with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,44 @@
"description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.",
"type": "string"
},
"supportedAggregationTypes": {
"description": "Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count.",
"type": "array",
"items": {
"$ref": "#/definitions/AggregationType"
}
},
"supportedTimeGrainTypes": {
"description": "Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D",
"type": "array",
"items": {
"$ref": "#/definitions/TimeGrainType"
}
},
"enableRegionalMdmAccount": {
"description": "Flag to indicate use of regional Mdm accounts",
"type": "boolean"
},
"sourceMdmAccount": {
"description": "Source mdm account",
"type": "string"
},
"sourceMdmNamespace": {
"description": "Source mdm namespace",
"type": "string"
},
"metricFilterPattern": {
"description": "Metric filter regex pattern",
"type": "string"
},
"fillGapWithZero": {
"description": "Flag to determine is Zero is returned for time duration where no metric is emitted",
"type": "boolean"
},
"category": {
"description": "Metric category",
"type": "string"
},
"internalMetricName": {
"description": "Internal metric name.",
"type": "string"
Expand All @@ -267,9 +305,21 @@
"items": {
"$ref": "#/definitions/MetricDimension"
}
},
"lockedAggregationType": {
"description": "Locked aggregation type of the metric",
"type": "string"
}
}
},
"AggregationType": {
"description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.",
"type": "string"
},
"TimeGrainType": {
"description": "The time grain of the metric",
"type": "string"
},
"MetricDimension": {
"description": "Specifications of the Dimension of metrics",
"type": "object",
Expand All @@ -285,6 +335,10 @@
"internalName": {
"description": "Internal name of the dimension.",
"type": "string"
},
"toBeExportedForShoebox": {
"description": "Flag to indicate export for Shoebox",
"type": "boolean"
}
}
},
Expand Down

0 comments on commit e5b4c7a

Please sign in to comment.