Share via


InboundNatRulesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a load balancer inbound nat rule.

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

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.

inboundNatRuleParameters
InboundNatRuleInner

Parameters supplied to the create or update inbound nat rule operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to