/// <summary>
 /// Updates settings on an existing live event.
 /// </summary>
 /// <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 patch.
 /// </param>
 public static LiveEvent Update(this ILiveEventsOperations operations, string resourceGroupName, string accountName, string liveEventName, LiveEvent parameters)
 {
     return(operations.UpdateAsync(resourceGroupName, accountName, liveEventName, parameters).GetAwaiter().GetResult());
 }