-
-
Couldn't load subscription status.
- Fork 85
Add compute image model #399
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
base: master
Are you sure you want to change the base?
Add compute image model #399
Conversation
8a81edb to
b7dc131
Compare
d530738 to
8ce3fc9
Compare
|
Hi @KevinLoiseau
Please take a look at this link => https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image It mentions all the steps that need to be done before a VM can be captured. Update the PR accordingly. Thank you. |
|
Hi @maham-nazir-confiz I had this error during my tests of this functionnallity but it was not a code's issue; like your link describe you have to "generalized" your dellocated Vm before trying to create an image of it. I don't think the generalization of the VM should be orchestred by the Regards, |
|
@KevinLoiseau
Thank you. |
| location: '<Location>', | ||
| resource_group_name: '<Resource Group Name>', | ||
| managed_disk_id: '<Managed Disk Id>', | ||
| os_disk_type: '<Plateform>' |
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.
It should be "".
| ## List Images | ||
|
|
||
| ```ruby | ||
| images = fog_compute_service..images(resource_group: '<Resource Group Name>').all |
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.
Typo, remove the double dots.
Hi !
In this PR you will find:
destroyandsavemethodsgetandcreatemethodscreate_imagerequest to be able to create image from Virtual Machine or from Managed DiskUPDATE:
allto images collectionThanks !