Partager via


KeyVaultExtensions.GetDeletedKeyVaultAsync Méthode

Définition

Obtient le coffre de clés Azure supprimé.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
  • IdVaults_GetDeleted d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>> GetDeletedKeyVaultAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedKeyVaultAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>>
<Extension()>
Public Function GetDeletedKeyVaultAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedKeyVaultResource))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

location
AzureLocation

Emplacement du coffre supprimé.

vaultName
String

Nom du coffre.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

vaultName est une chaîne vide et devait être non vide.

vaultName a la valeur null.

S’applique à