/// <summary>
 /// Returns a list of all fabric locations.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static IPage <FabricLocation> List(this IFabricLocationsOperations operations, string resourceGroupName, ODataQuery <FabricLocation> odataQuery = default(ODataQuery <FabricLocation>))
 {
     return(operations.ListAsync(resourceGroupName, odataQuery).GetAwaiter().GetResult());
 }