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.Models.VpnServerConfiguration> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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

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
VpnServerConfiguration

Parámetros proporcionados para crear o actualizar VpnServerConfiguration.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a