/// <summary>
 /// Creates or updates a static or dynamic public IP address.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='publicIpAddressName'>
 /// The name of the public IP address.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the create or update public IP address operation.
 /// </param>
 public static PublicIPAddress BeginCreateOrUpdate(this IPublicIPAddressesOperations operations, string resourceGroupName, string publicIpAddressName, PublicIPAddress parameters)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).GetAwaiter().GetResult());
 }