-
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
[Hub Generated] Review request for Microsoft.CostManagement to add version stable/2019-11-01 #11303
[Hub Generated] Review request for Microsoft.CostManagement to add version stable/2019-11-01 #11303
Conversation
[Staging] Swagger Validation Report
️✔️ |
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-java - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-js - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-net - Release
|
azure-sdk-for-python - Release
- Breaking Change detected in SDK
|
azure-resource-manager-schemas - Release
|
Trenton Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-python-track2 - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-go - Release
|
Azure CLI Extension Generation - Release
|
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -379,6 +379,54 @@ | |||
} | |||
} | |||
}, | |||
"/{scope}/providers/Microsoft.CostManagement/views/render": { |
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.
This URI needs to specify what view to render. You can't have POST actions on a resource type collection
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.
Removed all the views/render api changes from the PR.
Had a talk with the team after reading all the comments and we will be making changes to the api and redocumenting in a different PR. This PR will only add the two missing fields. Is this good for us to get unblocked on the small changes in this PR?
"in": "body", | ||
"required": true, | ||
"schema": { | ||
"$ref": "#/definitions/View" |
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.
This should be driven off of the name of the view in the URI since views are a resource that users create. If you want to allow rendering of a dynamic view without creating a view resource then the action would need to be directly on your provider (i.e. POST .../Microsoft.CostManagement/renderOnDemandView)
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.
Change reverted.
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/views/swaggerExample", |
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.
is this POST action creating a new resource in its current form? What does this ID point to? Why is the resource type "downloadLink"?
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.
Change reverted
"eTag": "\"1d4ffa5a9c2430c\"", | ||
"properties": { | ||
"imageUrl": "https://storagepilot.blob.core.windows.net/dashboardimage/2020/10/19/5/31/eff0d624-8630-4ced-bd9b-971df5878fcb?sv=2016-05-31", | ||
"errorMessage": "" |
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.
In what scenario would an errorMessage be returned with a 200 response?
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.
Very valid point. Change reverted.
...t-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json
Show resolved
Hide resolved
Azure Pipelines successfully started running 1 pipeline(s). |
Please go through the contribution checklist added as part of the review and mark them completed. Also Please go through the ARM API Review Checklist. These steps are required before review can be continued. |
Hi, @elabicha 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 |
1 similar comment
Hi, @elabicha 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 |
Removed ARMReview Requirement tags from the PR as the new change no more require ARM approval. |
…rsion stable/2019-11-01 (Azure#11303) * Adding render api swagger * add missing properties * changing view list schema to array * Fix get view list examples * revert view list changes * fix prettier * fix spell check * undo render api swagger changes
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
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.
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.
Please follow the link to find more details on PR review process.