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

LiveEventsOperationsExtensions.BeginAllocateAsync 方法

定义

为直播活动分配资源

public static System.Threading.Tasks.Task BeginAllocateAsync (this Microsoft.Azure.Management.Media.ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName, System.Threading.CancellationToken cancellationToken = default);
static member BeginAllocateAsync : Microsoft.Azure.Management.Media.ILiveEventsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginAllocateAsync (operations As ILiveEventsOperations, resourceGroupName As String, accountName As String, liveEventName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
ILiveEventsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中的资源组的名称。

accountName
String

媒体服务帐户名称。

liveEventName
String

直播活动的名称,最大长度为 32。

cancellationToken
CancellationToken

取消标记。

返回

注解

分配完成后,直播活动将处于 StandBy 状态,并已准备好开始。

适用于