Partager via


ISecrets.GetByNameAndVersionAsync(String, String, CancellationToken) Méthode

Définition

Obtient un secret Key Vault.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.ISecret> GetByNameAndVersionAsync (string name, string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByNameAndVersionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.ISecret>
Public Function GetByNameAndVersionAsync (name As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISecret)

Paramètres

name
String

nom du secret

version
String

version du secret

cancellationToken
CancellationToken

cancellationToken le jeton d’annulation

Retours

le secret Key Vault

S’applique à