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

Modified swagger to add 'supportedAggregationType', 'lockedAggredatio… #13777

Merged
merged 9 commits into from
May 26, 2021
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