Share via


StorageExtensions.GetDeletedAccountsAsync Method

Definition

Lists deleted accounts under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
  • Operation Id: DeletedAccounts_List
  • Default Api Version: 2023-05-01
  • Resource: DeletedAccountResource
public static Azure.AsyncPageable<Azure.ResourceManager.Storage.DeletedAccountResource> GetDeletedAccountsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedAccountsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.DeletedAccountResource>
<Extension()>
Public Function GetDeletedAccountsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DeletedAccountResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to