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 preview/2020-12-01-preview (Azure#13609) * Latest * Latest * Latest * Latest * Latest * Latest * Latest * Latest * Latest * Latest * Latest
- Loading branch information
1 parent
5a93e90
commit c18296e
Showing
39 changed files
with
3,221 additions
and
1 deletion.
There are no files selected for viewing
885 changes: 885 additions & 0 deletions
885
...e-manager/Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json
Large diffs are not rendered by default.
Oops, something went wrong.
128 changes: 128 additions & 0 deletions
128
...tManagement/preview/2020-12-01-preview/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": "2020-12-01-preview", | ||
"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
....CostManagement/preview/2020-12-01-preview/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": "2020-12-01-preview", | ||
"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
...nagement/preview/2020-12-01-preview/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": "2020-12-01-preview", | ||
"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.