-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Update Compute Diagnostic RP swagger doc API version to 2021-06-01-preview #28354
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
Closed
Elina-L
wants to merge
4
commits into
Azure:main
from
Elina-L:wenxliu/SpotPlacementRecommenderAPIVersion2021-06-01-preview
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
ce6527b
Initial change - update diagnostic.json version to 2021-06-01-preview
Elina-L 7e277ba
Merge branch 'main' into wenxliu/SpotPlacementRecommenderAPIVersion20…
Elina-L a0e92a4
Merge branch 'main' into wenxliu/SpotPlacementRecommenderAPIVersion20…
Elina-L f3691ca
Merge branch 'main' into wenxliu/SpotPlacementRecommenderAPIVersion20…
Elina-L 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
This file contains hidden or 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 change to 2021?
Uh oh!
There was an error while loading. Please reload this page.
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.
Hi Zhenhua, this is because the new 2024-03-01-preview version is blocked by the ARM compute manifest rollout taking very long to deploy. https://msazure.visualstudio.com/One/_release?definitionId=18535&view=mine&_a=releases
Without the ARM manifest rolled out, the APIs in this swagger are unable to invoke using 2024-03-01-preview API version. This is blocking our Az PS PR from merging in by the current release milestone cutoff 3/25.
In order to unblock the PS PR, we decided to "downgrade" the API version from 2024-03-01-preview to 2021-06-01-preview. There are no code differences between the two API versions in our service and all APIs on this swagger doc function exactly the same between the two versions. We are downgrading to get the PS cmdlet unblocked, once the ARM manifest is merged, we will upgrade the version back to 2024-03-01-preview. Since there are no changes between the two versions, "upgrading" it back to the latest is only to align with ARM swagger doc conventions and not for any feature/functionality change.
If possible, please let us know if we can merge this ASAP to unblock the Az PS PR. Thank you
AzPS PR: Azure/azure-powershell#24352
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.
AFAIK, it's not allowed. The API version in the file should be consistent with the name of the folder which includes the file, and the content in the readme. Since
2021-06-01-previewalready exists, it will cause two files point to the same API version. And since you do not update the readme, the related SDK may not be generated.