Udostępnij za pośrednictwem


HubVnetConnectionBaseCmdlet.CreateOrUpdateHubVirtualNetworkConnection Method

Definition

public Microsoft.Azure.Commands.Network.Models.PSHubVirtualNetworkConnection CreateOrUpdateHubVirtualNetworkConnection (string resourceGroupName, string virtualHubName, string connectionName, Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection hubVirtualNetworkConnectionParameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
member this.CreateOrUpdateHubVirtualNetworkConnection : string * string * string * Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Azure.Commands.Network.Models.PSHubVirtualNetworkConnection
Public Function CreateOrUpdateHubVirtualNetworkConnection (resourceGroupName As String, virtualHubName As String, connectionName As String, hubVirtualNetworkConnectionParameters As HubVirtualNetworkConnection, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As PSHubVirtualNetworkConnection

Parameters

resourceGroupName
String
virtualHubName
String
connectionName
String
hubVirtualNetworkConnectionParameters
HubVirtualNetworkConnection
customHeaders
Dictionary<String,List<String>>

Returns

Applies to