forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
…rsion stable/2021-01-01 (Azure#13824) * Adds base for updating Microsoft.CostManagement from version preview/2020-12-01-preview to version 2021-01-01 * Updates readme * Updates API version in new specs and examples * Latest * Latest * Latest * Latest * Latest * Latest * Latest * Latest
- Loading branch information
Showing
48 changed files
with
4,035 additions
and
6 deletions.
There are no files selected for viewing
889 changes: 889 additions & 0 deletions
889
...t/resource-manager/Microsoft.CostManagement/stable/2021-01-01/costmanagement.exports.json
Large diffs are not rendered by default.
Oops, something went wrong.
407 changes: 407 additions & 0 deletions
407
...Microsoft.CostManagement/stable/2021-01-01/costmanagement.generatedetailedcostreport.json
Large diffs are not rendered by default.
Oops, something went wrong.
128 changes: 128 additions & 0 deletions
128
...osoft.CostManagement/stable/2021-01-01/examples/ExportCreateOrUpdateByBillingAccount.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,128 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01", | ||
"billingAccountId": "123456", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/123456", | ||
"exportName": "TestExport", | ||
"parameters": { | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport", | ||
"name": "TestExport", | ||
"type": "Microsoft.CostManagement/exports", | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport", | ||
"name": "TestExport", | ||
"type": "Microsoft.CostManagement/exports", | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
129 changes: 129 additions & 0 deletions
129
...Microsoft.CostManagement/stable/2021-01-01/examples/ExportCreateOrUpdateByDepartment.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,129 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01", | ||
"billingAccountId": "12", | ||
"departmentId": "1234", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234", | ||
"exportName": "TestExport", | ||
"parameters": { | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport", | ||
"name": "TestExport", | ||
"type": "Microsoft.CostManagement/exports", | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport", | ||
"name": "TestExport", | ||
"type": "Microsoft.CostManagement/exports", | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
129 changes: 129 additions & 0 deletions
129
...ft.CostManagement/stable/2021-01-01/examples/ExportCreateOrUpdateByEnrollmentAccount.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,129 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01", | ||
"billingAccountId": "100", | ||
"enrollmentAccountId": "456", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456", | ||
"exportName": "TestExport", | ||
"parameters": { | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport", | ||
"name": "TestExport", | ||
"type": "Microsoft.CostManagement/exports", | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport", | ||
"name": "TestExport", | ||
"type": "Microsoft.CostManagement/exports", | ||
"properties": { | ||
"schedule": { | ||
"status": "Active", | ||
"recurrence": "Weekly", | ||
"recurrencePeriod": { | ||
"from": "2020-06-01T00:00:00Z", | ||
"to": "2020-10-31T00:00:00Z" | ||
} | ||
}, | ||
"format": "Csv", | ||
"deliveryInfo": { | ||
"destination": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", | ||
"container": "exports", | ||
"rootFolderPath": "ad-hoc" | ||
} | ||
}, | ||
"definition": { | ||
"type": "ActualCost", | ||
"timeframe": "MonthToDate", | ||
"dataSet": { | ||
"granularity": "Daily", | ||
"configuration": { | ||
"columns": [ | ||
"Date", | ||
"MeterId", | ||
"ResourceId", | ||
"ResourceLocation", | ||
"Quantity" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.