Share via


LiveEventsOperationsExtensions.ResetAsync Method

Definition

Reset Live Event

public static System.Threading.Tasks.Task ResetAsync (this Microsoft.Azure.Management.Media.ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName, System.Threading.CancellationToken cancellationToken = default);
static member ResetAsync : Microsoft.Azure.Management.Media.ILiveEventsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ResetAsync (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

Resets an existing live event. All live outputs for the live event are deleted and the live event is stopped and will be started again. All assets used by the live outputs and streaming locators created on these assets are unaffected.

Applies to