Ejemplo n.º 1
0
 /// <summary>
 /// Get a list of all load balancers.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='inlineCount'>
 /// OData inline count parameter.
 /// </param>
 public static IPage <LoadBalancer> List(this ILoadBalancersOperations operations, ODataQuery <LoadBalancer> odataQuery = default(ODataQuery <LoadBalancer>), string inlineCount = default(string))
 {
     return(operations.ListAsync(odataQuery, inlineCount).GetAwaiter().GetResult());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets all the load balancers in a resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 public static IPage <LoadBalancer> List(this ILoadBalancersOperations operations, string resourceGroupName)
 {
     return(operations.ListAsync(resourceGroupName).GetAwaiter().GetResult());
 }