Share via


ArmCosmosDBModelFactory.CosmosDBSqlClientEncryptionKeyProperties Method

Definition

Initializes a new instance of CosmosDBSqlClientEncryptionKeyProperties.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlClientEncryptionKeyProperties CosmosDBSqlClientEncryptionKeyProperties (string id = default, string encryptionAlgorithm = default, byte[] wrappedDataEncryptionKey = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBKeyWrapMetadata keyWrapMetadata = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member CosmosDBSqlClientEncryptionKeyProperties : string * string * byte[] * Azure.ResourceManager.CosmosDB.Models.CosmosDBKeyWrapMetadata * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlClientEncryptionKeyProperties
Public Shared Function CosmosDBSqlClientEncryptionKeyProperties (Optional id As String = Nothing, Optional encryptionAlgorithm As String = Nothing, Optional wrappedDataEncryptionKey As Byte() = Nothing, Optional keyWrapMetadata As CosmosDBKeyWrapMetadata = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As CosmosDBSqlClientEncryptionKeyProperties

Parameters

id
String

Name of the ClientEncryptionKey.

encryptionAlgorithm
String

Encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data.

wrappedDataEncryptionKey
Byte[]

Wrapped (encrypted) form of the key represented as a byte array.

keyWrapMetadata
CosmosDBKeyWrapMetadata

Metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key.

rid
String

A system generated property. A unique identifier.

timestamp
Nullable<Single>

A system generated property that denotes the last updated timestamp of the resource.

etag
Nullable<ETag>

A system generated property representing the resource etag required for optimistic concurrency control.

Returns

A new CosmosDBSqlClientEncryptionKeyProperties instance for mocking.

Applies to