/// <summary> /// Reset Live Event /// </summary> /// <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. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the Azure subscription. /// </param> /// <param name='accountName'> /// The Media Services account name. /// </param> /// <param name='liveEventName'> /// The name of the live event, maximum length is 32. /// </param> public static void Reset(this ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName) { operations.ResetAsync(resourceGroupName, accountName, liveEventName).GetAwaiter().GetResult(); }