From 19bddd958c743127c44be769949b7208fde19af5 Mon Sep 17 00:00:00 2001 From: Catriona Date: Wed, 13 Mar 2024 12:22:32 +0000 Subject: [PATCH] add `Dequeued` to polling statuses --- sdk/client/resourcemanager/poller_lro.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/client/resourcemanager/poller_lro.go b/sdk/client/resourcemanager/poller_lro.go index 1ecc8986071..254bb9913a2 100644 --- a/sdk/client/resourcemanager/poller_lro.go +++ b/sdk/client/resourcemanager/poller_lro.go @@ -194,6 +194,9 @@ func (p *longRunningOperationPoller) Poll(ctx context.Context) (result *pollers. // ContainerRegistry@2019-06-01-preview returns `Creating` rather than `InProgress` during creation "Creating": pollers.PollingStatusInProgress, + // CosmosDB @ 2023-04-15 returns `Dequeued` rather than `InProgress` during creation/update + "Dequeued": pollers.PollingStatusInProgress, + // StorageSync@2020-03-01 returns `finishNewStorageSyncService` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) "finishNewStorageSyncService": pollers.PollingStatusInProgress,