-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev cost management microsoft.cost management 2020 12 01 preview new (#…
- Loading branch information
Showing
9 changed files
with
626 additions
and
0 deletions.
There are no files selected for viewing
407 changes: 407 additions & 0 deletions
407
....CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json
Large diffs are not rendered by default.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...01-preview/examples/GenerateDetailedCostReportByBillingAccountLegacyAndBillingPeriod.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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/12345", | ||
"parameters": { | ||
"metric": "ActualCost", | ||
"billingPeriod": "202008" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationResults/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"type": "Microsoft.Consumption/operationResult", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345/providers/Microsoft.CostManagement/operationResults/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Azure-Consumption-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345/providers/Microsoft.CostManagement/operationStatus/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...w/2020-12-01-preview/examples/GenerateDetailedCostReportByBillingProfileAndInvoiceId.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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579", | ||
"parameters": { | ||
"metric": "ActualCost", | ||
"invoiceId": "M1234567" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationResults/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"type": "Microsoft.Consumption/operationResult", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/operationResults/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Azure-Consumption-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/operationStatus/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...preview/examples/GenerateDetailedCostReportByBillingProfileAndInvoiceIdAndCustomerId.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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579", | ||
"parameters": { | ||
"metric": "ActualCost", | ||
"invoiceId": "M1234567", | ||
"customerId": "456789" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationResults/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"type": "Microsoft.Consumption/operationResult", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/operationResults/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Azure-Consumption-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/operationStatus/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...review/2020-12-01-preview/examples/GenerateDetailedCostReportByCustomerAndTimePeriod.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"scope": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/13579", | ||
"parameters": { | ||
"metric": "ActualCost", | ||
"timePeriod": { | ||
"start": "2020-03-01", | ||
"end": "2020-03-15" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationResults/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"type": "Microsoft.Consumption/operationResult", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/13579/providers/Microsoft.CostManagement/operationResults/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Azure-Consumption-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/13579/providers/Microsoft.CostManagement/operationStatus/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ew/2020-12-01-preview/examples/GenerateDetailedCostReportBySubscriptionAndTimePeriod.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"scope": "subscriptions/fae17478-31e7-40fd-b62a-1a127754a463", | ||
"parameters": { | ||
"metric": "ActualCost", | ||
"timePeriod": { | ||
"start": "2020-03-01", | ||
"end": "2020-03-15" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationResults/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"type": "Microsoft.Consumption/operationResult", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/fae17478-31e7-40fd-b62a-1a127754a463/providers/Microsoft.CostManagement/operationResults/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Azure-Consumption-AsyncOperation": "https://management.azure.com/subscriptions/fae17478-31e7-40fd-b62a-1a127754a463/providers/Microsoft.CostManagement/operationStatus/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...12-01-preview/examples/GenerateDetailedCostReportOperationResultsBySubscriptionScope.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,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"operationId": "00000000-0000-0000-0000-000000000000", | ||
"scope": "subscriptions/00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationResults/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"type": "Microsoft.Consumption/operationResult", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345/providers/Microsoft.CostManagement/operationResults/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Azure-Consumption-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345/providers/Microsoft.CostManagement/operationStatus/ad0d632f-1186-41fe-89f9-ae29e198d223?api-version=2020-12-01-preview", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...-12-01-preview/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01-preview", | ||
"operationId": "00000000-0000-0000-0000-000000000000", | ||
"scope": "subscriptions/00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/operationStatus/00000000-0000-0000-0000-000000000000", | ||
"name": "00000000-0000-0000-0000-000000000000", | ||
"status": "Completed", | ||
"type": "Microsoft.Consumption/operationStatus", | ||
"properties": { | ||
"downloadUrl": "https://ccmreportstorageeastus.blob.core.windows.net/armreports/20201207/00000000-0000-0000-0000-000000000000?sv=2020-05-31&sr=b&sig=abcd", | ||
"validTill": "2020-12-08T05:55:59.4394737Z" | ||
}, | ||
"error": { | ||
"code": "0", | ||
"message": null | ||
} | ||
} | ||
} | ||
} | ||
} |
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