Compartir a través de


HubVirtualNetworkConnectionsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crea una conexión de red virtual de concentrador si no existe, actualiza la existente.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IHubVirtualNetworkConnectionsOperations operations, string resourceGroupName, string virtualHubName, string connectionName, Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection hubVirtualNetworkConnectionParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IHubVirtualNetworkConnectionsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.HubVirtualNetworkConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IHubVirtualNetworkConnectionsOperations, resourceGroupName As String, virtualHubName As String, connectionName As String, hubVirtualNetworkConnectionParameters As HubVirtualNetworkConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HubVirtualNetworkConnection)

Parámetros

operations
IHubVirtualNetworkConnectionsOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos de HubVirtualNetworkConnection.

virtualHubName
String

Nombre de VirtualHub.

connectionName
String

Nombre de HubVirtualNetworkConnection.

hubVirtualNetworkConnectionParameters
HubVirtualNetworkConnection

Parámetros proporcionados para crear o actualizar una conexión de red virtual de concentrador.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a