다음을 통해 공유


VirtualHubsOperationsExtensions.CreateOrUpdate Method

Definition

Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.

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

Parameters

operations
IVirtualHubsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

virtualHubParameters
VirtualHub

Parameters supplied to create or update VirtualHub.

Returns

Applies to