MockableKeyVaultSubscriptionResource.GetDeletedKeyVaults Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDeletedKeyVaults() |
Gets a collection of DeletedKeyVaultResources in the SubscriptionResource. |
GetDeletedKeyVaults(CancellationToken) |
Gets information about the deleted vaults in a subscription.
|
GetDeletedKeyVaults()
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)
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
Azure SDK for .NET