你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LiveEventResourceState 结构

定义

定义 LiveEventResourceState 的值。

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.LiveEventResourceStateConverter))]
public struct LiveEventResourceState : IEquatable<Microsoft.Azure.Management.Media.Models.LiveEventResourceState>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.LiveEventResourceStateConverter))>]
type LiveEventResourceState = struct
Public Structure LiveEventResourceState
Implements IEquatable(Of LiveEventResourceState)
继承
LiveEventResourceState
属性
Newtonsoft.Json.JsonConverterAttribute
实现

字段

Allocating

已对直播活动调用了分配操作,正在为此直播活动预配资源。 分配成功完成后,实时事件将转换为 StandBy 状态。

Deleting

正在删除直播活动。 此暂时性状态下不会发生计费。 此状态下不允许进行更新或流式处理。

Running

已分配了直播活动资源,已生成了引入和预览 URL,并且能够接收实时传送流。 此时,计费处于活动状态。 必须显式对直播活动资源调用停止操作才能停止进一步计费。

StandBy

直播活动资源已预配,已准备好启动。 此状态下将进行计费。 大多数属性仍可进行更新,但在此状态下不允许引入或流式传输。

Starting

正在启动直播活动并分配资源。 此状态下不会发生计费。 此状态下不允许进行更新或流式处理。 如果发生错误,则直播活动会返回到“已停止”状态。

Stopped

这是直播活动在创建后的初始状态(除非设置了自动启动)此状态下不会发生计费。 在此状态下,可以更新实时事件属性,但不允许进行流式处理。

Stopping

正在停止直播活动并解除预配资源。 此暂时性状态下不会发生计费。 此状态下不允许进行更新或流式处理。

方法

Equals(LiveEventResourceState)

比较 LiveEventResourceState 类型的枚举

Equals(Object)

替代 LiveEventResourceState 的 Equals 运算符

GetHashCode()

返回 hashCode LiveEventResourceState 的

ToString()

返回 LiveEventResourceState 的字符串表示形式

运算符

Equality(LiveEventResourceState, LiveEventResourceState)

重写 enum LiveEventResourceState 的 == 运算符

Implicit(LiveEventResourceState to String)

用于将 LiveEventResourceState 转换为字符串的隐式运算符

Implicit(String to LiveEventResourceState)

用于将字符串转换为 LiveEventResourceState 的隐式运算符

Inequality(LiveEventResourceState, LiveEventResourceState)

重写 enum LiveEventResourceState 的 != 运算符

适用于