Bagikan melalui


LoadBalancerOutboundRulesOperationsExtensions.ListAsync Method

Definition

Gets all the outbound rules in a load balancer.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.OutboundRuleInner>> ListAsync (this Microsoft.Azure.Management.Network.Fluent.ILoadBalancerOutboundRulesOperations operations, string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.Fluent.ILoadBalancerOutboundRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.OutboundRuleInner>>
<Extension()>
Public Function ListAsync (operations As ILoadBalancerOutboundRulesOperations, resourceGroupName As String, loadBalancerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OutboundRuleInner))

Parameters

operations
ILoadBalancerOutboundRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

loadBalancerName
String

The name of the load balancer.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to