Share via


LiveEventsOperationsExtensions.StartAsync Method

Definition

Start Live Event

public static System.Threading.Tasks.Task StartAsync (this Microsoft.Azure.Management.Media.ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName, System.Threading.CancellationToken cancellationToken = default);
static member StartAsync : Microsoft.Azure.Management.Media.ILiveEventsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StartAsync (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 in Stopped or StandBy state will be in Running state after the start operation completes.

Applies to