Database.CreateClientEncryptionKeyAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Speichert den Clientverschlüsselungsschlüssel als asynchronen Vorgang im Azure Cosmos-Dienst. Diese Methode soll nicht direkt aufgerufen werden. Informationen zur Verwendung der clientseitigen Verschlüsselung finden https://aka.ms/CosmosClientEncryption Sie unter .
public abstract System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ClientEncryptionKeyResponse> CreateClientEncryptionKeyAsync (Microsoft.Azure.Cosmos.ClientEncryptionKeyProperties clientEncryptionKeyProperties, Microsoft.Azure.Cosmos.RequestOptions requestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateClientEncryptionKeyAsync : Microsoft.Azure.Cosmos.ClientEncryptionKeyProperties * Microsoft.Azure.Cosmos.RequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ClientEncryptionKeyResponse>
Public MustOverride Function CreateClientEncryptionKeyAsync (clientEncryptionKeyProperties As ClientEncryptionKeyProperties, Optional requestOptions As RequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClientEncryptionKeyResponse)
Parameter
- clientEncryptionKeyProperties
- ClientEncryptionKeyProperties
Clientverschlüsselungsschlüsseleigenschaften.
- requestOptions
- RequestOptions
(Optional) Die Optionen für die Anforderung.
- cancellationToken
- CancellationToken
(Optional) Token, das die Anforderungsabbruch darstellt.
Gibt zurück
Eine erwartbare Antwort, die einen ClientEncryptionKeyProperties umschließt, der den Leseressourcendatensatz enthält.
Gilt für:
Azure SDK for .NET