Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
Browse files Browse the repository at this point in the history
…rsion stable/2019-11-01 (Azure#11657)

* Created Separate Swagger for Exports

* add exports swagger to readme.md

* Exports swagger correctness

* Exports swagger correctness

* dataSet in examples

* fix dataSet in examples

* add dataSet to exportList and exportExecutionList examples

* Update ExportCreateOrUpdateByManagementGroup.json

* dataSet property of QueryDefinition costmanagement.json

* undo changes to costmanagement.json

* use ExportDefinition instead of QueryDefinition

* prettier fix
  • Loading branch information
paornela authored and giromm2ms committed Dec 20, 2020
1 parent e802815 commit 101801a
Show file tree
Hide file tree
Showing 25 changed files with 77 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,32 @@
},
"x-ms-azure-resource": true
},
"QueryDefinition": {
"ProxyResource": {
"description": "The Resource model definition.",
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "Resource Id."
},
"name": {
"readOnly": true,
"type": "string",
"description": "Resource name."
},
"type": {
"readOnly": true,
"type": "string",
"description": "Resource type."
},
"eTag": {
"type": "string",
"description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."
}
},
"x-ms-azure-resource": true
},
"ExportDefinition": {
"description": "The definition of a query.",
"properties": {
"type": {
Expand Down Expand Up @@ -469,7 +494,7 @@
"description": "Has time period for pulling data for the query.",
"$ref": "#/definitions/QueryTimePeriod"
},
"dataset": {
"dataSet": {
"description": "Has definition for data in this query.",
"$ref": "#/definitions/QueryDataset"
}
Expand Down Expand Up @@ -689,7 +714,7 @@
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/ProxyResource"
}
],
"properties": {
Expand Down Expand Up @@ -735,7 +760,7 @@
},
"definition": {
"description": "Has definition for the export.",
"$ref": "#/definitions/QueryDefinition"
"$ref": "#/definitions/ExportDefinition"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -120,7 +120,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -214,7 +214,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -121,7 +121,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -215,7 +215,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -121,7 +121,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -215,7 +215,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -120,7 +120,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -214,7 +214,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -121,7 +121,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -215,7 +215,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -120,7 +120,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -214,7 +214,7 @@
"definition": {
"type": "Usage",
"timeframe": "MonthToDate",
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -126,7 +126,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -127,7 +127,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -127,7 +127,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -126,7 +126,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -127,7 +127,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down Expand Up @@ -126,7 +126,7 @@
"from": "2018-06-01T00:00:00Z",
"to": "2018-10-31T00:00:00Z"
},
"dataset": {
"dataSet": {
"granularity": "Daily",
"configuration": {
"columns": [
Expand Down
Loading

0 comments on commit 101801a

Please sign in to comment.