Database.CreateClientEncryptionKeyAsync メソッド

定義

クライアント暗号化キーを非同期操作として Azure Cosmos サービスに保存します。 このメソッドは、直接呼び出すものではありません。 クライアント側の暗号化を使用するには、 を参照してください https://aka.ms/CosmosClientEncryption

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)

パラメーター

clientEncryptionKeyProperties
ClientEncryptionKeyProperties

クライアント暗号化キーのプロパティ。

requestOptions
RequestOptions

(省略可能)要求のオプション。

cancellationToken
CancellationToken

(省略可能)要求の取り消しを表すトークン。

戻り値

読み取りリソース レコードを含む を ClientEncryptionKeyProperties ラップする待機可能な応答。

適用対象