[QUERY] How to create a long running polling object from uri #31549
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
SQL
Library name and version
Azure.ResourceManagement.Sql 1.0.0
Query/Question
When using
SqlDatabaseResource.ExportAsync(WaitUntil.Started,....)
it returnsArmOperation<ImportExportOperationResult>
which can be used to update the status periodically to poll whether the export is completed.However in our architecture, we would like to do the polling from another (distributed) service, the polling object does expose
.Id
which should give an uri that can be used to poll, but how would that be used in combination with the ArmClient? Or do you have to start doing low level http calls yourself, including dealing with all authentication issues?This might be a more generic problem/feature for all kinds of long polling situations.
Environment
No response
The text was updated successfully, but these errors were encountered: