-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added schema spec for cost allocation tags (#2742)
* Added Tags filter for budgets and updated the api version Added Tags filter for budgets and updated the api version * Updated comments Updated comments * Incorporated review comments Incorporated review comments * Incorporated review comments Incorporated review comments * Incorporated review comment Incorporated review comment * Added Tags filter and grouping for UsageDetails Added Tags filter and grouping for UsageDetails * Added reservation recommendations and tags Added reservation recommendations and tags * Incorporated review comments Incorporated review comments * Incorporated review comments Incorporated review comments * Removed unwanted space Removed unwanted space * Removed extra whitespace Removed extra whitespace * add swagger->sdk config for go * fix broken tags for go * Added schema spec for cost allocation tags Added schema spec for cost allocation tags * Updated Get Operation Updated Get Operation * Incorporated review comments Incorporated review comments * Review comments incorporated Review comments incorporated * Updated path Updated path
- Loading branch information
1 parent
20c1a0e
commit 895ab21
Showing
3 changed files
with
241 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...resource-manager/Microsoft.Consumption/stable/2018-03-31/examples/CostAllocationTags.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-03-31", | ||
"billingAccountId": "12345" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/costAllocationTags/costAllocationTags1", | ||
"name": "costAllocationTags1", | ||
"type": "Microsoft.Consumption/costAllocationTags", | ||
"eTag": "\"1d34d012214157f\"", | ||
"properties": { | ||
"costAllocationTags": [ | ||
{ | ||
"key": "Department" | ||
}, | ||
{ | ||
"key": "CostCenter" | ||
}, | ||
{ | ||
"key": "Portal" | ||
}, | ||
{ | ||
"key": "OrgName" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...er/Microsoft.Consumption/stable/2018-03-31/examples/CreateOrUpdateCostAllocationTags.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-03-31", | ||
"billingAccountId": "12345", | ||
"parameters": { | ||
"costAllocationTags": [ | ||
{ | ||
"key": "Department" | ||
}, | ||
{ | ||
"key": "CostCenter" | ||
}, | ||
{ | ||
"key": "Portal" | ||
}, | ||
{ | ||
"key": "OrgName" | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/costAllocationTags/costAllocationTags1", | ||
"name": "costAllocationTags1", | ||
"type": "Microsoft.Consumption/costAllocationTags", | ||
"eTag": "\"1d34d012214157f\"", | ||
"properties": { | ||
"costAllocationTags": [ | ||
{ | ||
"key": "Department" | ||
}, | ||
{ | ||
"key": "CostCenter" | ||
}, | ||
{ | ||
"key": "Portal" | ||
}, | ||
{ | ||
"key": "OrgName" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/costAllocationTags/costAllocationTags1", | ||
"name": "costAllocationTags1", | ||
"type": "Microsoft.Consumption/costAllocationTags", | ||
"eTag": "\"1d34d012214157f\"", | ||
"properties": { | ||
"costAllocationTags": [ | ||
{ | ||
"key": "Department" | ||
}, | ||
{ | ||
"key": "CostCenter" | ||
}, | ||
{ | ||
"key": "Portal" | ||
}, | ||
{ | ||
"key": "OrgName" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |