MediaLiveEventResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Class representing a MediaLiveEvent along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a MediaLiveEventResource from an instance of Azure.ResourceManager.ArmClient using the GetMediaLiveEventResource method. Otherwise you can get one from its parent resource MediaServicesAccountResource using the GetMediaLiveEvent method.
public class MediaLiveEventResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.MediaLiveEventData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.MediaLiveEventData>
type MediaLiveEventResource = class
inherit ArmResource
interface IJsonModel<MediaLiveEventData>
interface IPersistableModel<MediaLiveEventData>
Public Class MediaLiveEventResource
Inherits ArmResource
Implements IJsonModel(Of MediaLiveEventData), IPersistableModel(Of MediaLiveEventData)
- Inheritance
-
Azure.ResourceManager.ArmResourceMediaLiveEventResource
- Implements
-
System.ClientModel.Primitives.IJsonModel<MediaLiveEventData> System.ClientModel.Primitives.IPersistableModel<MediaLiveEventData> System.ClientModel.Primitives.IPersistableModel<T>
Constructors
MediaLiveEventResource() |
Initializes a new instance of the MediaLiveEventResource 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
AddTag(String, String, CancellationToken) |
Add a tag to the current resource.
|
AddTagAsync(String, String, CancellationToken) |
Add a tag to the current resource.
|
Allocate(WaitUntil, CancellationToken) |
A live event is in StandBy state after allocation completes, and is ready to start.
|
AllocateAsync(WaitUntil, CancellationToken) |
A live event is in StandBy state after allocation completes, and is ready to start.
|
CreateResourceIdentifier(String, String, String, String) |
Generate the resource identifier of a MediaLiveEventResource instance. |
Delete(WaitUntil, CancellationToken) |
Deletes a live event.
|
DeleteAsync(WaitUntil, CancellationToken) |
Deletes a live event.
|
Get(CancellationToken) |
Gets properties of a live event.
|
GetAsync(CancellationToken) |
Gets properties of a live event.
|
GetMediaLiveOutput(String, CancellationToken) |
Gets a live output.
|
GetMediaLiveOutputAsync(String, CancellationToken) |
Gets a live output.
|
GetMediaLiveOutputs() |
Gets a collection of MediaLiveOutputResources in the MediaLiveEvent. |
RemoveTag(String, CancellationToken) |
Removes a tag by key from the resource.
|
RemoveTagAsync(String, CancellationToken) |
Removes a tag by key from the resource.
|
Reset(WaitUntil, CancellationToken) |
Resets an existing live event. All live outputs for the live event are deleted and the live event is stopped and will be started again. All assets used by the live outputs and streaming locators created on these assets are unaffected.
|
ResetAsync(WaitUntil, CancellationToken) |
Resets an existing live event. All live outputs for the live event are deleted and the live event is stopped and will be started again. All assets used by the live outputs and streaming locators created on these assets are unaffected.
|
SetTags(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set.
|
SetTagsAsync(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set.
|
Start(WaitUntil, CancellationToken) |
A live event in Stopped or StandBy state will be in Running state after the start operation completes.
|
StartAsync(WaitUntil, CancellationToken) |
A live event in Stopped or StandBy state will be in Running state after the start operation completes.
|
Stop(WaitUntil, LiveEventActionContent, CancellationToken) |
Stops a running live event.
|
StopAsync(WaitUntil, LiveEventActionContent, CancellationToken) |
Stops a running live event.
|
Update(WaitUntil, MediaLiveEventData, CancellationToken) |
Updates settings on an existing live event.
|
UpdateAsync(WaitUntil, MediaLiveEventData, CancellationToken) |
Updates settings on an existing live event.
|
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. |