KeyVaultExtensions.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(SubscriptionResource) |
Gets a collection of DeletedKeyVaultResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedKeyVaults() instead. |
GetDeletedKeyVaults(SubscriptionResource, CancellationToken) |
Gets information about the deleted vaults in a subscription.
|
GetDeletedKeyVaults(SubscriptionResource)
- Source:
- KeyVaultExtensions.cs
- Source:
- KeyVaultExtensions.cs
Gets a collection of DeletedKeyVaultResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedKeyVaults() instead.
public static Azure.ResourceManager.KeyVault.DeletedKeyVaultCollection GetDeletedKeyVaults (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetDeletedKeyVaults : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.KeyVault.DeletedKeyVaultCollection
<Extension()>
Public Function GetDeletedKeyVaults (subscriptionResource As SubscriptionResource) As DeletedKeyVaultCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
Returns
An object representing collection of DeletedKeyVaultResources and their operations over a DeletedKeyVaultResource.
Exceptions
subscriptionResource
is null.
Applies to
GetDeletedKeyVaults(SubscriptionResource, CancellationToken)
- Source:
- KeyVaultExtensions.cs
- Source:
- KeyVaultExtensions.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 static Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource> GetDeletedKeyVaults (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedKeyVaults : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>
<Extension()>
Public Function GetDeletedKeyVaults (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedKeyVaultResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DeletedKeyVaultResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET