/// <summary>
 /// Lists all the VpnGateways in a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IPage <VpnGateway> List(this IVpnGatewaysOperations operations)
 {
     return(operations.ListAsync().GetAwaiter().GetResult());
 }