-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Added Reimage API support for ephemeral os disks in single VM #4299
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
Conversation
… Ephemeral VM\VMSS
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-jsA 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: |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-nodeThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-goA 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: |
jhendrixMSFT
left a comment
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.
There are model validation failures for this new operation that need to be fixed, please see the log for details.
| "required": false, | ||
| "schema": { | ||
| "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs" | ||
| "$ref": "#/definitions/VirtualMachineScaleSetReimageParameters" |
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 introduces breaking changes in SDK codegen, is it necessary?
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, VirtualMachineScaleSetReimageParameters is the wrapper class around the VirtualMachineScaleSetVMInstanceIDs containing new inputs like osdisk, datadisk list of lun values and temp disk reiamge inputs for the customer. This needs to be added
|
Hi Joel, I had looked into validation errors but not having any clue why they are failing which are unrelated to my new changes. Could you please let me know if I can do something from my side to fix these |
|
If you do a search in the log for the example name, e.g. |
Automation for azure-sdk-for-rubyThe initial PR has been merged into your service PR: |
| "api-version": "2018-06-01", | ||
| "vmName": "myVMName", | ||
| "parameters": { | ||
| "location": "West US", |
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 isn't in the schema and is causing one of the model validation failures.
| "api-version": "2018-10-01", | ||
| "vmName": "myVMName", | ||
| "parameters": { | ||
| "location": "West US", |
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 isn't in the schema and is causing one of the model validation failures.
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.
Joel, is location parameter culprit?
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.
Yes I believe so. Note that you can run this validation locally to verify the fix before updating the PR, see the docs here.
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.
Thanks Joel for the tool to validate locally. I had updated the examples and validated it.
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.
However I see there are other validation errors coming for others unrelated to mine
|
@hari-bodicherla while it would be nice to clean up the other failures, since they weren't introduced in this PR it's not necessary. Let me know how you want to proceed. |
|
Hi Joel, I had cleaned up the other failures too which are unrelated to my changes and sent new iteration . Thanks.. |
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-versionin the path should match theapi-versionin the spec).Quality of Swagger