Freigeben über


VpnGatewaysOperationsExtensions.BeginCreateOrUpdateAsync Methode

Definition

Erstellt ein Virtual WAN-VPN-Gateway, wenn es nicht vorhanden ist, andernfalls wird das vorhandene Gateway aktualisiert.

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

Parameter

operations
IVpnGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VpnGateway.

gatewayName
String

Der Name des Gateways.

vpnGatewayParameters
VpnGatewayInner

Parameter, die zum Erstellen oder Aktualisieren eines virtuellen WAN-VPN-Gateways bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: