HubVirtualNetworkConnectionsOperationsExtensions.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET