-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Polling status of an operation after WaitUntil.Started #40540
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
@ArthurMa1978 Any update on this? |
@RoLfBOT We will release the |
@archerzz alright will be on the lookout. But for now there's no way to achieve this correct? |
As far as I can see, currently there are 2 ways:
|
Rehydration work is tracked in Azure/autorest.csharp#2158 |
Hi @RoLfBOT. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Hi @RoLfBOT, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Library name and version
Azure.ResourceManager.AppService 1.0.2
Query/Question
I am initiating a slot swap operation with WaitUntil.Started from a worker service.
var operation = await stagingSlot.SwapSlotAsync(WaitUntil.Started, new CsmSlotEntity("production", true)) .ConfigureAwait(continueOnCapturedContext: false);
Once the operation is started, I want to store the operationId in the job store and then defer the execution of the job by an interval x. On next execution of the job, I will read the operationId from the job store and then try to read the status. Repeat this process until the status is terminal.
How to achieve this?
Environment
Windows .NET6
Visual Studio 17.7
The text was updated successfully, but these errors were encountered: