/// <summary> /// Start Live Event /// </summary> /// <remarks> /// A live event in Stopped or StandBy state will be in Running state after the /// start operation completes. /// </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 Start(this ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName) { operations.StartAsync(resourceGroupName, accountName, liveEventName).GetAwaiter().GetResult(); }