Share via


KeyVaultExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.KeyVault.

public static class KeyVaultExtensions
type KeyVaultExtensions = class
Public Module KeyVaultExtensions
Inheritance
KeyVaultExtensions

Methods

CheckKeyVaultNameAvailability(SubscriptionResource, KeyVaultNameAvailabilityContent, CancellationToken)

Checks that the vault name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability
  • Operation Id: Vaults_CheckNameAvailability
  • Default Api Version: 2023-07-01
  • Resource: KeyVaultResource
CheckKeyVaultNameAvailabilityAsync(SubscriptionResource, KeyVaultNameAvailabilityContent, CancellationToken)

Checks that the vault name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability
  • Operation Id: Vaults_CheckNameAvailability
  • Default Api Version: 2023-07-01
  • Resource: KeyVaultResource
CheckManagedHsmNameAvailability(SubscriptionResource, ManagedHsmNameAvailabilityContent, CancellationToken)

Checks that the managed hsm name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability
  • Operation Id: ManagedHsms_CheckManagedHsmNameAvailability
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
CheckManagedHsmNameAvailabilityAsync(SubscriptionResource, ManagedHsmNameAvailabilityContent, CancellationToken)

Checks that the managed hsm name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability
  • Operation Id: ManagedHsms_CheckManagedHsmNameAvailability
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetDeletedKeyVault(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets the deleted Azure key vault.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
  • Operation Id: Vaults_GetDeleted
  • Default Api Version: 2023-07-01
  • Resource: DeletedKeyVaultResource
GetDeletedKeyVaultAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets the deleted Azure key vault.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
  • Operation Id: Vaults_GetDeleted
  • Default Api Version: 2023-07-01
  • Resource: DeletedKeyVaultResource
GetDeletedKeyVaultResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeletedKeyVaultResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a DeletedKeyVaultResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeletedKeyVaultResource(ResourceIdentifier) instead.

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults
  • Operation Id: Vaults_ListDeleted
  • Default Api Version: 2023-07-01
GetDeletedKeyVaultsAsync(SubscriptionResource, 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
GetDeletedManagedHsm(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets the specified deleted managed HSM.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}
  • Operation Id: ManagedHsms_GetDeleted
  • Default Api Version: 2023-07-01
  • Resource: DeletedManagedHsmResource
GetDeletedManagedHsmAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets the specified deleted managed HSM.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}
  • Operation Id: ManagedHsms_GetDeleted
  • Default Api Version: 2023-07-01
  • Resource: DeletedManagedHsmResource
GetDeletedManagedHsmResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeletedManagedHsmResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a DeletedManagedHsmResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeletedManagedHsmResource(ResourceIdentifier) instead.

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs
  • Operation Id: ManagedHsms_ListDeleted
  • Default Api Version: 2023-07-01
GetDeletedManagedHsmsAsync(SubscriptionResource, CancellationToken)

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
GetKeyVault(ResourceGroupResource, String, CancellationToken)

Gets the specified Azure key vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
  • Operation Id: Vaults_Get
  • Default Api Version: 2023-07-01
  • Resource: KeyVaultResource
GetKeyVaultAsync(ResourceGroupResource, String, CancellationToken)

Gets the specified Azure key vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
  • Operation Id: Vaults_Get
  • Default Api Version: 2023-07-01
  • Resource: KeyVaultResource
GetKeyVaultPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a KeyVaultPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a KeyVaultPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetKeyVaultPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetKeyVaultResource(ArmClient, ResourceIdentifier)

Gets an object representing a KeyVaultResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a KeyVaultResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetKeyVaultResource(ResourceIdentifier) instead.

GetKeyVaults(ResourceGroupResource)

Gets a collection of KeyVaultResources in the ResourceGroupResource. MockingTo mock this method, please mock GetKeyVaults() instead.

GetKeyVaults(SubscriptionResource, Nullable<Int32>, CancellationToken)

The List operation gets information about the vaults associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults
  • Operation Id: Vaults_ListBySubscription
  • Default Api Version: 2023-07-01
  • Resource: KeyVaultResource
GetKeyVaultsAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

The List operation gets information about the vaults associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults
  • Operation Id: Vaults_ListBySubscription
  • Default Api Version: 2023-07-01
  • Resource: KeyVaultResource
GetKeyVaultSecretResource(ArmClient, ResourceIdentifier)

Gets an object representing a KeyVaultSecretResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a KeyVaultSecretResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetKeyVaultSecretResource(ResourceIdentifier) instead.

GetManagedHsm(ResourceGroupResource, String, CancellationToken)

Gets the specified managed HSM Pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetManagedHsmAsync(ResourceGroupResource, String, CancellationToken)

Gets the specified managed HSM Pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetManagedHsmPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedHsmPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ManagedHsmPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedHsmPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetManagedHsmResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedHsmResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ManagedHsmResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedHsmResource(ResourceIdentifier) instead.

GetManagedHsms(ResourceGroupResource)

Gets a collection of ManagedHsmResources in the ResourceGroupResource. MockingTo mock this method, please mock GetManagedHsms() instead.

GetManagedHsms(SubscriptionResource, Nullable<Int32>, CancellationToken)

The List operation gets information about the managed HSM Pools associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs
  • Operation Id: ManagedHsms_ListBySubscription
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetManagedHsmsAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

The List operation gets information about the managed HSM Pools associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs
  • Operation Id: ManagedHsms_ListBySubscription
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource

Applies to