-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev cost management microsoft.cost management 2020 12 01 preview new #12259
Merged
yungezz
merged 12 commits into
Azure:master
from
absyed:dev-cost-management-Microsoft.CostManagement-2020-12-01-preview-new
Feb 10, 2021
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
afd5f73
initial commit
absyed 8859199
Add new generatedetailedcostreport api
absyed f58da50
Push tage update
absyed 054a3f7
Removing APIs which haven't changed(from comments)
absyed 372e2f7
Updating documentation
absyed e487032
Add APIs which haven't changed-Required for CI fix
absyed 80c06d7
Fixing CI errors
absyed 019d872
Update example names
absyed 073fc5b
Fix sdk errors
absyed fd32b3c
Fix lint multiple version warning
absyed a8f3500
Update operation name to fix LintDiff warning
absyed 7fad058
Fix spell check failure
absyed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this preview tag contains table version Swaggers?