Delen via


ManagedVirtualNetworksOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a managed Virtual Network.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.ManagedVirtualNetworkResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.IManagedVirtualNetworksOperations operations, string resourceGroupName, string factoryName, string managedVirtualNetworkName, Microsoft.Azure.Management.DataFactory.Models.ManagedVirtualNetworkResource managedVirtualNetwork, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.IManagedVirtualNetworksOperations * string * string * string * Microsoft.Azure.Management.DataFactory.Models.ManagedVirtualNetworkResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.ManagedVirtualNetworkResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IManagedVirtualNetworksOperations, resourceGroupName As String, factoryName As String, managedVirtualNetworkName As String, managedVirtualNetwork As ManagedVirtualNetworkResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedVirtualNetworkResource)

Parameters

operations
IManagedVirtualNetworksOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

managedVirtualNetworkName
String

Managed virtual network name

managedVirtualNetwork
ManagedVirtualNetworkResource

Managed Virtual Network resource definition.

ifMatch
String

ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to