Share via


LiveEventsOperationsExtensions.AllocateAsync Method

Definition

Allocate resources for a live event

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

Parameters

operations
ILiveEventsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

liveEventName
String

The name of the live event, maximum length is 32.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

A live event is in StandBy state after allocation completes, and is ready to start.

Applies to