Dev cost management microsoft.cost management 2020 12 01 preview new#12259
Conversation
|
Hi, @absyed Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
Swagger Validation Report
|
| Rule | Message |
|---|---|
| The operation 'GenerateDetailedCostReportOperationResults_Get' returns 202 status code, which indicates a long running operation, please enable 'x-ms-long-running-operation. New: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L123 |
|
| OperationId should contain the verb: 'generatedetailedcostreport' in:'GenerateDetailedCostReport_CreateOperation'. Consider updating the operationId New: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L41 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
Swagger Generation Artifacts
|
|
Hi, @absyed your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com). cc @yungezz |
...urce-manager/Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json
Outdated
Show resolved
Hide resolved
...ent/resource-manager/Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.json
Outdated
Show resolved
Hide resolved
| "description": "The URL to download the generated report.", | ||
| "type": "string" | ||
| }, | ||
| "validTill": { |
There was a problem hiding this comment.
perhaps consider a different name such as expirationDate, also might be worth adding the format as part of the description: e.g. 2020-10-01 01:01 UTC something like that.
There was a problem hiding this comment.
Added more information in description
| "modelAsString": true | ||
| } | ||
| }, | ||
| "timePeriod": { |
There was a problem hiding this comment.
What happens when a POST operation has timePeriod and billingPeriod? which one wins? consider adding this info as part of the description.
There was a problem hiding this comment.
If the customer has both timePeriod and billingPeriod, API will return back a 400 and ask the client to only use one. This is what I have in description for them, let me know if I should update it "Can only have one of either timePeriod or invoiceId or billingPeriod parameters."
| } | ||
| } | ||
| }, | ||
| "Resource": { |
There was a problem hiding this comment.
Curious why all properties are readOnly?
There was a problem hiding this comment.
Keeping it consistent with how it already has been defined in costmangement.json
|
Need ARM review since new API version added. hi @absyed, could you pls fix LintDiff CI failure? |
|
Hi @absyed, Your PR has some issues. Please fix the CI sequentially by following the order of
|
|
ARM signed off |
|
|
||
| These settings apply only when `--tag=package-preview-2020-12` is specified on the command line. | ||
|
|
||
| ```yaml $(tag) == 'package-preview-2020-12' |
There was a problem hiding this comment.
why this preview tag contains table version Swaggers?
|
hi @msyyc could you pls check impact to Python SDK? thanks |
It's ok for Python |
|
Hi, @absyed. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
|
For python, the breaking change is not caused by this PR |
Hi @yungezz, server side changes are in Production now and the PR is Ok to be merged in. |
| "description": "The URL to check the status of the asynchronous operation.", | ||
| "type": "string" | ||
| }, | ||
| "Azure-AsyncOperation": { |
There was a problem hiding this comment.
what's difference between Azure-AsyncOperation and Azure-Consumption-AsyncOperation?
There was a problem hiding this comment.
The both return the same value.
We have been offering both headers for this service for some time, so am maintaining consistency here.
|
hi @absyed, before merging, one thing to confirm, about the swagger file name |
Hi @yungezz, this is following the costmanagement.export.json which already exist. In this new preview API version is the first time generatedetailedcostreport API is being introduced. |
|
@lirenhe can you please let me know if there is anything else required for this PR to be checked in? |
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Please ensure to add changelog with this PR by answering the following questions.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.