Compartilhar via


VirtualHubBgpConnectionOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria um recurso VirtualHubBgpConnection se ele não existir, atualiza o 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

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

resourceGroupName
String

O nome do grupo de recursos do VirtualHub.

virtualHubName
String

O nome do VirtualHub.

connectionName
String

o nome da conexão.

parameters
BgpConnection

Parâmetros da conexão Bgp.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a