Freigeben über


ISecrets.GetByNameAndVersionAsync(String, String, CancellationToken) Methode

Definition

Ruft ein Key Vault Geheimnis ab.

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)

Parameter

name
String

der Name des Geheimnisses

version
String

die Version des Geheimnisses

cancellationToken
CancellationToken

cancellationToken des Abbruchtokens

Gibt zurück

das Key Vault Geheimnis

Gilt für: