Share via


MediaLiveOutputResource Class

Definition

A Class representing a MediaLiveOutput along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a MediaLiveOutputResource from an instance of Azure.ResourceManager.ArmClient using the GetMediaLiveOutputResource method. Otherwise you can get one from its parent resource MediaLiveEventResource using the GetMediaLiveOutput method.

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

Constructors

MediaLiveOutputResource()

Initializes a new instance of the MediaLiveOutputResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Data

Gets the data representing this Feature.

HasData

Gets whether or not the current instance has data.

Methods

CreateResourceIdentifier(String, String, String, String, String)

Generate the resource identifier of a MediaLiveOutputResource instance.

Delete(WaitUntil, CancellationToken)

Deletes a live output. Deleting a live output does not delete the asset the live output is writing to.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • Operation Id: LiveOutputs_Delete
  • Default Api Version: 2022-08-01
  • Resource: MediaLiveOutputResource
DeleteAsync(WaitUntil, CancellationToken)

Deletes a live output. Deleting a live output does not delete the asset the live output is writing to.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • Operation Id: LiveOutputs_Delete
  • Default Api Version: 2022-08-01
  • Resource: MediaLiveOutputResource
Get(CancellationToken)

Gets a live output.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • Operation Id: LiveOutputs_Get
  • Default Api Version: 2022-08-01
  • Resource: MediaLiveOutputResource
GetAsync(CancellationToken)

Gets a live output.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • Operation Id: LiveOutputs_Get
  • Default Api Version: 2022-08-01
  • Resource: MediaLiveOutputResource
Update(WaitUntil, MediaLiveOutputData, CancellationToken)

Creates a new live output.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • Operation Id: LiveOutputs_Create
  • Default Api Version: 2022-08-01
  • Resource: MediaLiveOutputResource
UpdateAsync(WaitUntil, MediaLiveOutputData, CancellationToken)

Creates a new live output.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • Operation Id: LiveOutputs_Create
  • Default Api Version: 2022-08-01
  • Resource: MediaLiveOutputResource

Explicit Interface Implementations

IJsonModel<MediaLiveOutputData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaLiveOutputData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

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

IPersistableModel<MediaLiveOutputData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<MediaLiveOutputData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaLiveOutputData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to