Share via


LiveEventResourceState Struct

Definition

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

public readonly struct LiveEventResourceState : IEquatable<Azure.ResourceManager.Media.Models.LiveEventResourceState>
type LiveEventResourceState = struct
Public Structure LiveEventResourceState
Implements IEquatable(Of LiveEventResourceState)
Inheritance
LiveEventResourceState
Implements

Constructors

LiveEventResourceState(String)

Initializes a new instance of LiveEventResourceState.

Properties

Allocating

Allocate action was called on the live event and resources are being provisioned for this live event. Once allocation completes successfully, the live event will transition to StandBy state.

Deleting

The live event is being deleted. No billing occurs in this transient state. Updates or streaming are not allowed during this state.

Running

The live event resources have been allocated, ingest and preview URLs have been generated, and it is capable of receiving live streams. At this point, billing is active. You must explicitly call Stop on the live event resource to halt further billing.

StandBy

Live event resources have been provisioned and is ready to start. Billing occurs in this state. Most properties can still be updated, however ingest or streaming is not allowed during this state.

Starting

The live event is being started and resources are being allocated. No billing occurs in this state. Updates or streaming are not allowed during this state. If an error occurs, the live event returns to the Stopped state.

Stopped

This is the initial state of the live event after creation (unless autostart was set to true.) No billing occurs in this state. In this state, the live event properties can be updated but streaming is not allowed.

Stopping

The live event is being stopped and resources are being de-provisioned. No billing occurs in this transient state. Updates or streaming are not allowed during this state.

Methods

Equals(LiveEventResourceState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(LiveEventResourceState, LiveEventResourceState)

Determines if two LiveEventResourceState values are the same.

Implicit(String to LiveEventResourceState)

Converts a string to a LiveEventResourceState.

Inequality(LiveEventResourceState, LiveEventResourceState)

Determines if two LiveEventResourceState values are not the same.

Applies to