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