Compartir a través de


KeyVaultExtensions.GetDeletedKeyVaultAsync Método

Definición

Obtiene el almacén de claves de Azure eliminado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
  • IdVaults_GetDeleted de operación
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))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

Ubicación del almacén eliminado.

vaultName
String

Nombre del almacén.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

vaultName es una cadena vacía y se esperaba que no estuviera vacía.

vaultName es null.

Se aplica a