LoadBalancerOutboundRulesOperationsExtensions.GetAsync(ILoadBalancerOutboundRulesOperations, String, String, String, CancellationToken) Method

Definition

Gets the specified load balancer outbound rule.

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

Parameters

operations
ILoadBalancerOutboundRulesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

loadBalancerName
System.String

The name of the load balancer.

outboundRuleName
System.String

The name of the outbound rule.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<OutboundRule>

Applies to