Share via


CosmosDBSqlClientEncryptionKeyResourceInfo Class

Definition

Cosmos DB client encryption key resource object.

public class CosmosDBSqlClientEncryptionKeyResourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlClientEncryptionKeyResourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlClientEncryptionKeyResourceInfo>
type CosmosDBSqlClientEncryptionKeyResourceInfo = class
    interface IJsonModel<CosmosDBSqlClientEncryptionKeyResourceInfo>
    interface IPersistableModel<CosmosDBSqlClientEncryptionKeyResourceInfo>
Public Class CosmosDBSqlClientEncryptionKeyResourceInfo
Implements IJsonModel(Of CosmosDBSqlClientEncryptionKeyResourceInfo), IPersistableModel(Of CosmosDBSqlClientEncryptionKeyResourceInfo)
Inheritance
CosmosDBSqlClientEncryptionKeyResourceInfo
Derived
Implements

Constructors

Name Description
CosmosDBSqlClientEncryptionKeyResourceInfo()

Initializes a new instance of CosmosDBSqlClientEncryptionKeyResourceInfo.

Properties

Name Description
EncryptionAlgorithm

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

Id

Name of the ClientEncryptionKey.

KeyWrapMetadata

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

WrappedDataEncryptionKey

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

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CosmosDBSqlClientEncryptionKeyResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CosmosDBSqlClientEncryptionKeyResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlClientEncryptionKeyResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlClientEncryptionKeyResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CosmosDBSqlClientEncryptionKeyResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to