Share via


NetworkVirtualApplianceConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkVirtualApplianceConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, Microsoft.Azure.Management.Network.Models.NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.INetworkVirtualApplianceConnectionsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.NetworkVirtualApplianceConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkVirtualApplianceConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As INetworkVirtualApplianceConnectionsOperations, resourceGroupName As String, networkVirtualApplianceName As String, connectionName As String, networkVirtualApplianceConnectionParameters As NetworkVirtualApplianceConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkVirtualApplianceConnection)

Parameters

operations
INetworkVirtualApplianceConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkVirtualApplianceName
String

The name of the Network Virtual Appliance.

connectionName
String

The name of the NVA connection.

networkVirtualApplianceConnectionParameters
NetworkVirtualApplianceConnection
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to