Partager via


InboundNatRulesOperationsExtensions.BeginCreateOrUpdateAsync Méthode

Définition

Crée ou met à jour une règle nat entrante d’équilibreur de charge.

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)

Paramètres

operations
IInboundNatRulesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

loadBalancerName
String

Le nom de l’équilibreur de charge.

inboundNatRuleName
String

Nom de la règle nat entrante.

inboundNatRuleParameters
InboundNatRuleInner

Paramètres fournis à l’opération de création ou de mise à jour de règle nat entrante.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à