ArmCosmosDBModelFactory.CosmosDBSqlClientEncryptionKeyProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
A system generated property that denotes the last updated timestamp of the resource.
A system generated property representing the resource etag required for optimistic concurrency control.
Returns
A new CosmosDBSqlClientEncryptionKeyProperties instance for mocking.
Applies to
Azure SDK for .NET