MockableKeyVaultSubscriptionResource.GetDeletedKeyVaults Method

Definition

Overloads

GetDeletedKeyVaults()

Gets a collection of DeletedKeyVaultResources in the SubscriptionResource.

GetDeletedKeyVaults(CancellationToken)

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

GetDeletedKeyVaults()

Source:
MockableKeyVaultSubscriptionResource.cs

Gets a collection of DeletedKeyVaultResources in the SubscriptionResource.

public virtual Azure.ResourceManager.KeyVault.DeletedKeyVaultCollection GetDeletedKeyVaults ();
abstract member GetDeletedKeyVaults : unit -> Azure.ResourceManager.KeyVault.DeletedKeyVaultCollection
override this.GetDeletedKeyVaults : unit -> Azure.ResourceManager.KeyVault.DeletedKeyVaultCollection
Public Overridable Function GetDeletedKeyVaults () As DeletedKeyVaultCollection

Returns

An object representing collection of DeletedKeyVaultResources and their operations over a DeletedKeyVaultResource.

Applies to

GetDeletedKeyVaults(CancellationToken)

Source:
MockableKeyVaultSubscriptionResource.cs

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 virtual Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource> GetDeletedKeyVaults (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedKeyVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>
override this.GetDeletedKeyVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>
Public Overridable Function GetDeletedKeyVaults (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedKeyVaultResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to