Udostępnij za pośrednictwem


HubVirtualNetworkConnectionsOperationsExtensions.CreateOrUpdate Method

Definition

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

public static Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection CreateOrUpdate (this Microsoft.Azure.Management.Network.IHubVirtualNetworkConnectionsOperations operations, string resourceGroupName, string virtualHubName, string connectionName, Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection hubVirtualNetworkConnectionParameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.IHubVirtualNetworkConnectionsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection -> Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection
<Extension()>
Public Function CreateOrUpdate (operations As IHubVirtualNetworkConnectionsOperations, resourceGroupName As String, virtualHubName As String, connectionName As String, hubVirtualNetworkConnectionParameters As HubVirtualNetworkConnection) As HubVirtualNetworkConnection

Parameters

operations
IHubVirtualNetworkConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the HubVirtualNetworkConnection.

virtualHubName
String

The name of the VirtualHub.

connectionName
String

The name of the HubVirtualNetworkConnection.

hubVirtualNetworkConnectionParameters
HubVirtualNetworkConnection

Parameters supplied to create or update a hub virtual network connection.

Returns

Applies to