Skip to content

Commit

Permalink
Sri/release cost management microsoft.cost management 2022 10 01 (#21036
Browse files Browse the repository at this point in the history
)

* First commit - copying cost management and exports API from 2021-10-01

* Upgrading version

* Adding costmanagement.generatedetailedcostreport.json

* fixing validation errors

* fixing validation errors

* fixing validation errors

* reverting parameter order update

* Reverting CostManagementProxyResource and CostManagementResource changes after breaking changes office hours discussion

* ddressing review comments

* Resolving code review comments

* Qualifying Resource and ProxyResource with CostManagement prefix

Please enter the commit message for your changes. Lines starting

* Addressing review comments

* fixing example file names

* fixing linter error

* updated operationResults description

* Reverting breaking changes in exports API

* fixing validation error

* Rebasing with latest

* fixing billingAccountIdParameter definition conflict

* fixing billing profile id parameter conflict

* Addressing code review comment

* fixing model validation errors
  • Loading branch information
sri- authored Oct 26, 2022
1 parent f2e5120 commit ddafcff
Show file tree
Hide file tree
Showing 137 changed files with 13,151 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,50 @@
"readOnly": true
}
}
},
"CostManagementProxyResource": {
"description": "The Resource model definition.",
"type": "object",
"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
}
},
"parameters": {
"billingAccountIdParameter": {
"description": "Billing account ID",
"in": "path",
"name": "billingAccountId",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"billingProfileIdParameter": {
"description": "Billing profile ID.",
"in": "path",
"name": "billingProfileId",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/billingAccountIdParameter"
"$ref": "common-types.json#/parameters/billingAccountIdParameter"
},
{
"$ref": "#/parameters/grainParameter"
Expand Down Expand Up @@ -215,10 +215,10 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/billingAccountIdParameter"
"$ref": "common-types.json#/parameters/billingAccountIdParameter"
},
{
"$ref": "#/parameters/billingProfileIdParameter"
"$ref": "common-types.json#/parameters/billingProfileIdParameter"
},
{
"$ref": "#/parameters/grainParameter"
Expand Down Expand Up @@ -930,14 +930,6 @@
"type": "string",
"x-ms-parameter-location": "method"
},
"billingAccountIdParameter": {
"description": "Billing account ID",
"in": "path",
"name": "billingAccountId",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"savingsPlanOrderIdParameter": {
"description": "Savings plan order ID.",
"in": "path",
Expand All @@ -954,14 +946,6 @@
"type": "string",
"x-ms-parameter-location": "method"
},
"billingProfileIdParameter": {
"description": "Azure billing profile ID.",
"in": "path",
"name": "billingProfileId",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"grainParameter": {
"description": "Daily or monthly grain.",
"in": "query",
Expand Down
Loading

0 comments on commit ddafcff

Please sign in to comment.