Share via


KeyVaultExtensions.GetDeletedKeyVaultsAsync Method

Definition

Gets information about the deleted vaults in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults
  • Operation Id: Vaults_ListDeleted
  • Default Api Version: 2023-07-01
public static Azure.AsyncPageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource> GetDeletedKeyVaultsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedKeyVaultsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>
<Extension()>
Public Function GetDeletedKeyVaultsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedKeyVaultResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to