다음을 통해 공유


InboundNatRulesOperationsExtensions.GetAsync Method

Definition

Gets the specified load balancer inbound NAT rule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.InboundNatRule> GetAsync (this Microsoft.Azure.Management.Network.IInboundNatRulesOperations operations, string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IInboundNatRulesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.InboundNatRule>
<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 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.

inboundNatRuleName
String

The name of the inbound NAT rule.

expand
String

Expands referenced resources.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to