-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
create_or_update_async option for creating VM #255
Comments
Hi, Currently, there is no option to create or update the VM asynchronously. We will respond you soon about adding this feature in the gem. Thank You |
The Azure Compute SDK doc mentions https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_compute |
@samawia-moin-confiz, I'm curious if there are any updates on this question. I thought you meant Azure SDK doesn't have an option to create or update the VM asynchronously but you meant Fog Azure RM gem. If the feature isn't available, I guess I can use a mixture of Fog (for resource group, storage, etc creation) and Azure SDK (to take advantage of the asynchronous VM methods). |
@gVien we are evaluating this issue and will respond soon. |
Resolved in this PR: #279 |
Thanks for the quick turn around! I'm curious if this will bump up the version to 0.2.8? reinstalling with |
@gVien we have not published the new gem yet. We will publish the new gem in next couple of days with some more bug fixes. |
I looked over the source code for creating the VM. It looks like the method
create_or_update
was used instead ofcreate_or_update_async
. I think if this method (create_virtual_machine
) is used on an application, it would create a delay after hitting the submit button (correct me if I'm wrong) before the web application can be redirected to another page.If there is an option to
create_or_update_async
, it would create the VM and then allow us to use the promise feature detailed at azure computer sdk doc and also allow us to handle any errors. Is there an option to create or update the VM asynchronously (e.g.create_virtual_machine_async
)? if not, can that feature be added in the next release?The text was updated successfully, but these errors were encountered: