你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedVirtualNetworksOperationsExtensions.CreateOrUpdateAsync 方法

定义

创建或更新托管虚拟网络。

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)

参数

operations
IManagedVirtualNetworksOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称。

factoryName
String

工厂名称。

managedVirtualNetworkName
String

托管虚拟网络名称

managedVirtualNetwork
ManagedVirtualNetworkResource

托管虚拟网络资源定义。

ifMatch
String

托管虚拟网络实体的 ETag。 应仅为 update 指定,它应与现有实体匹配,或者对于无条件更新,可为 * 。

cancellationToken
CancellationToken

取消标记。

返回

适用于