Compartir a través de


VpnServerConfigurationsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crea un recurso VpnServerConfiguration si no existe, actualiza la vpnServerConfiguration existente.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VpnServerConfigurationInner> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos de VpnServerConfiguration.

vpnServerConfigurationName
String

Nombre de vpnServerConfiguration que se va a crear o actualizar.

vpnServerConfigurationParameters
VpnServerConfigurationInner

Parámetros proporcionados para crear o actualizar VpnServerConfiguration.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a