Compartilhar via


HubVirtualNetworkConnectionsOperationsExtensions.CreateOrUpdate Método

Definição

Cria uma conexão de rede virtual de hub se ela não existir, atualiza a existente.

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

Parâmetros

operations
IHubVirtualNetworkConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do HubVirtualNetworkConnection.

virtualHubName
String

O nome do VirtualHub.

connectionName
String

O nome do HubVirtualNetworkConnection.

hubVirtualNetworkConnectionParameters
HubVirtualNetworkConnection

Parâmetros fornecidos para criar ou atualizar uma conexão de rede virtual do hub.

Retornos

Aplica-se a