Compartilhar via


VpnServerConfigurationsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Criará um recurso VpnServerConfiguration se ele não existir, atualizará o VpnServerConfiguration existente.

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

Parâmetros

operations
IVpnServerConfigurationsOperations

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

resourceGroupName
String

O nome do grupo de recursos do VpnServerConfiguration.

vpnServerConfigurationName
String

O nome do VpnServerConfiguration que está sendo criado ou atualizado.

vpnServerConfigurationParameters
VpnServerConfiguration

Parâmetros fornecidos para criar ou atualizar VpnServerConfiguration.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a