Delen via


LoadBalancerLoadBalancingRulesOperationsExtensions.GetAsync Method

Definition

Gets the specified load balancer load balancing rule.

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

Parameters

operations
ILoadBalancerLoadBalancingRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

loadBalancerName
String

The name of the load balancer.

loadBalancingRuleName
String

The name of the load balancing rule.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to