Share via


MediaLiveEventData Class

Definition

A class representing the MediaLiveEvent data model. The live event.

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

Constructors

MediaLiveEventData(AzureLocation)

Initializes a new instance of MediaLiveEventData.

Properties

CreatedOn

The creation time for the live event.

CrossSiteAccessPolicies

Live event cross site access policies.

Description

A description for the live event.

Encoding

Encoding settings for the live event. It configures whether a live encoder is used for the live event and settings for the live encoder if it is used.

HostnamePrefix

When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.

Input

Live event input settings. It defines how the live event receives input from a contribution encoder.

LastModifiedOn

The last modified time of the live event.

Preview

Live event preview settings. Preview allows live event producers to preview the live streaming content without creating any live output.

ProvisioningState

The provisioning state of the live event.

ResourceState

The resource state of the live event. See https://go.microsoft.com/fwlink/?linkid=2139012 for more information.

StreamOptions

The options to use for the LiveEvent. This value is specified at creation time and cannot be updated. The valid values for the array entry values are 'Default' and 'LowLatency'.

Transcriptions

Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature.

UseStaticHostname

Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. This value can only be updated if the live event is in Standby state.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaLiveEventData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaLiveEventData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

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

IPersistableModel<MediaLiveEventData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<MediaLiveEventData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaLiveEventData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to