Compartir a través de


VirtualHubBgpConnectionOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Crea un recurso VirtualHubBgpConnection si no existe, actualiza el objeto VirtualHubBgpConnection existente.

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

Parámetros

operations
IVirtualHubBgpConnectionOperations

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

resourceGroupName
String

Nombre del grupo de recursos de VirtualHub.

virtualHubName
String

Nombre de VirtualHub.

connectionName
String

El nombre de la conexión

parameters
BgpConnection

Parámetros de la conexión Bgp.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a