Udostępnij za pośrednictwem


LiveEventsOperationsExtensions.BeginStopAsync Method

Definition

Stop Live Event

public static System.Threading.Tasks.Task BeginStopAsync (this Microsoft.Azure.Management.Media.ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName, bool? removeOutputsOnStop = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginStopAsync : Microsoft.Azure.Management.Media.ILiveEventsOperations * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginStopAsync (operations As ILiveEventsOperations, resourceGroupName As String, accountName As String, liveEventName As String, Optional removeOutputsOnStop As Nullable(Of Boolean) = Nothing, 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.

removeOutputsOnStop
Nullable<Boolean>

The flag indicates whether live outputs are automatically deleted when live event is being stopped. Deleting live outputs do not delete the underlying assets.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Stops a running live event.

Applies to