InboundNatRulesOperationsExtensions.GetAsync(IInboundNatRulesOperations, String, String, String, String, CancellationToken) Method

Definition

Gets the specified load balancer inbound nat rule.

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

Parameters

operations
IInboundNatRulesOperations

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.

inboundNatRuleName
System.String

The name of the inbound nat rule.

expand
System.String

Expands referenced resources.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<InboundNatRuleInner>

Applies to