-
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
added autoOSUpgradePolicy to UpgradePolicy #2990
Conversation
Automation for azure-sdk-for-nodeThe initial PR has been merged into your service PR: |
Automation for azure-libraries-for-javaA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/compute/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/compute/resource-manager/readme.md
|
Code | Id | Source | Message |
---|---|---|---|
EnumInsteadOfBoolean | R3018 | Link | Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: disableAutoRollback |
❌0 new Errors.(11 total)
AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback
Thanks for your co-operation.
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/compute/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/compute/resource-manager/readme.md
|
Code | Id | Source | Message |
---|---|---|---|
EnumInsteadOfBoolean | R3018 | Link | Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: disableAutoRollback |
❌0 new Errors.(11 total)
AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback
Thanks for your co-operation.
"AutoOSUpgradePolicy": { | ||
"properties": { | ||
"disableAutoRollback": { | ||
"type": "boolean", |
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 general the ARM team discourages the use of booleans. Is this API already deployed/finished?
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.
@marstr service side code changes are done. Not sure if that is what you asked. There isn't anything pending from our side.
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.
Assuming that this already executing on the server, and that it would be a breaking change to fix now:
Given that this is a new linter error, we're going to also need to add a suppression. Before that happens, we'll will need to be acknowledged by @ravbhatnagar.
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.
@ravbhatnagar gentle ping :-)
Signing off from ARM. @sds6 - Please evangelize in your team that API changes need to be reviewed before the service changes hit prod. Going forward, ARM will not be signing off on API changes and will require you to address issues before approving. |
@ravbhatnagar thank you. Will keep that in mind |
Let me know when you're ready to merge, @sds6. |
I got word offline that the RP is ready to merge. |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger