LiveEventsOperationsExtensions.AllocateAsync(ILiveEventsOperations, String, String, String, CancellationToken) 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
System.String

The name of the resource group within the Azure subscription.

accountName
System.String

The Media Services account name.

liveEventName
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

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

Applies to