-
Notifications
You must be signed in to change notification settings - Fork 226
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
Support for azure-syncoperation in azure_mgmt_compute::virtual_machines::Client to Confirm VM Creation Status #1656
Comments
In addition, we also found that when using this SDK to https://github.com/pichuang/azure-rust-lab/blob/main/lab-azure-create-1-vm/output/PUT-1-VM.txt#L305 |
After testing, I can now get the header correctly
|
Looks like something I've reported here #1525 |
After testing, it was found that when using
azure_mgmt_compute::virtual_machines::Client
with0.20.0
/0.19.0
, it returnsprovisioning_state: Succeeded
in a very short time. https://github.com/pichuang/azure-rust-lab/blob/main/lab-azure-create-1-vm/output/PUT-1-VM.txt#L373-L374Source code: https://github.com/pichuang/azure-rust-lab/blob/main/lab-azure-create-1-vm/src/main.rs
However, as I understand from Track asynchronous Azure operations, to confirm that the VM creation is completed, it requires a
Succeeded
response fromazure-syncoperation
. But I see thatazure_mgmt_compute::virtual_machines::Client
does not provide a way to get the content of the HTTP Response, which prevents user from being able to process the headers additionally.Because we have users who will instantly launch more than 1500 VMs, I want them to use
azure-syncoperation
to confirm the creation status of each VM. This way, if any VM fails to be created or takes too long to create, we can handle it early.or any better suggestions?
The text was updated successfully, but these errors were encountered: