Partilhar via


VpnServerConfigurationsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

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

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

Parâmetros

operations
IVpnServerConfigurationsOperations

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

resourceGroupName
String

O nome do grupo de recursos da VpnServerConfiguration.

vpnServerConfigurationName
String

O nome da VpnServerConfiguration que está sendo criada ou atualizada.

vpnServerConfigurationParameters
VpnServerConfigurationInner

Parâmetros fornecidos para criar ou atualizar VpnServerConfiguration.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a