/// <summary>
 /// Create Live Event
 /// </summary>
 /// <remarks>
 /// Creates a new live event.
 /// </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>
 /// <param name='parameters'>
 /// Live event properties needed for creation.
 /// </param>
 /// <param name='autoStart'>
 /// The flag indicates if the resource should be automatically started on
 /// creation.
 /// </param>
 public static LiveEvent BeginCreate(this ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName, LiveEvent parameters, bool?autoStart = default(bool?))
 {
     return(operations.BeginCreateAsync(resourceGroupName, accountName, liveEventName, parameters, autoStart).GetAwaiter().GetResult());
 }