/// <summary>
 /// Allocate resources for a live event
 /// </summary>
 /// <remarks>
 /// A live event is in StandBy state after allocation completes, and is ready
 /// to start.
 /// </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 Allocate(this ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName)
 {
     operations.AllocateAsync(resourceGroupName, accountName, liveEventName).GetAwaiter().GetResult();
 }