Share via


EncryptionSchemeDefaultKey Class

Definition

Class to specify properties of default content key for each encryption scheme.

public class EncryptionSchemeDefaultKey : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.EncryptionSchemeDefaultKey>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.EncryptionSchemeDefaultKey>
type EncryptionSchemeDefaultKey = class
    interface IJsonModel<EncryptionSchemeDefaultKey>
    interface IPersistableModel<EncryptionSchemeDefaultKey>
Public Class EncryptionSchemeDefaultKey
Implements IJsonModel(Of EncryptionSchemeDefaultKey), IPersistableModel(Of EncryptionSchemeDefaultKey)
Inheritance
System.Object
EncryptionSchemeDefaultKey
Implements
System.ClientModel.Primitives.IJsonModel<EncryptionSchemeDefaultKey> System.ClientModel.Primitives.IPersistableModel<EncryptionSchemeDefaultKey> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

EncryptionSchemeDefaultKey()

Initializes a new instance of EncryptionSchemeDefaultKey.

Properties

Label

Label can be used to specify Content Key when creating a Streaming Locator.

PolicyName

Policy used by Default Key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EncryptionSchemeDefaultKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EncryptionSchemeDefaultKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<EncryptionSchemeDefaultKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<EncryptionSchemeDefaultKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EncryptionSchemeDefaultKey>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to