Share via


StreamingPolicyContentKey Class

Definition

Class to specify properties of content key.

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

Constructors

StreamingPolicyContentKey()

Initializes a new instance of StreamingPolicyContentKey.

Properties

Label

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

PolicyName

Policy used by Content Key.

Tracks

Tracks which use this content key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StreamingPolicyContentKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StreamingPolicyContentKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StreamingPolicyContentKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StreamingPolicyContentKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StreamingPolicyContentKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to