/// <summary>
 /// Creates or updates a virtual network gateway connection in the specified
 /// resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='virtualNetworkGatewayConnectionName'>
 /// The name of the virtual network gateway connection.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the create or update virtual network gateway
 /// connection operation.
 /// </param>
 public static VirtualNetworkGatewayConnection BeginCreateOrUpdate(this IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnection parameters)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).GetAwaiter().GetResult());
 }