Aracılığıyla paylaş


InboundNatRulesOperationsExtensions.ListAsync Method

Definition

Gets all the inbound NAT rules in a load balancer.

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

Parameters

operations
IInboundNatRulesOperations

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