Udostępnij za pośrednictwem


NetworkVirtualAppliancesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the specified Network Virtual Appliance.

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

Parameters

operations
INetworkVirtualAppliancesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkVirtualApplianceName
String

The name of Network Virtual Appliance.

parameters
NetworkVirtualAppliance

Parameters supplied to the create or update Network Virtual Appliance.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to