/// <summary> /// Lists all the Dedicated capacities for the given subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IEnumerable <DedicatedCapacity> List(this ICapacitiesOperations operations) { return(operations.ListAsync().GetAwaiter().GetResult()); }