KeyVaultExtensions.GetDeletedManagedHsms 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
GetDeletedManagedHsms(SubscriptionResource) |
Gets a collection of DeletedManagedHsmResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedManagedHsms() instead. |
GetDeletedManagedHsms(SubscriptionResource, CancellationToken) |
The List operation gets information about the deleted managed HSMs associated with the subscription.
|
GetDeletedManagedHsms(SubscriptionResource)
- Source:
- KeyVaultExtensions.cs
- Source:
- KeyVaultExtensions.cs
Gets a collection of DeletedManagedHsmResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedManagedHsms() instead.
public static Azure.ResourceManager.KeyVault.DeletedManagedHsmCollection GetDeletedManagedHsms (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetDeletedManagedHsms : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.KeyVault.DeletedManagedHsmCollection
<Extension()>
Public Function GetDeletedManagedHsms (subscriptionResource As SubscriptionResource) As DeletedManagedHsmCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
Returns
An object representing collection of DeletedManagedHsmResources and their operations over a DeletedManagedHsmResource.
Exceptions
subscriptionResource
is null.
Applies to
GetDeletedManagedHsms(SubscriptionResource, CancellationToken)
- Source:
- KeyVaultExtensions.cs
- Source:
- KeyVaultExtensions.cs
The List operation gets information about the deleted managed HSMs associated with the subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs
- Operation Id: ManagedHsms_ListDeleted
- Default Api Version: 2023-07-01
public static Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource> GetDeletedManagedHsms (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedManagedHsms : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource>
<Extension()>
Public Function GetDeletedManagedHsms (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedManagedHsmResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DeletedManagedHsmResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET