Share via


VpnServerConfigurationResource.UpdateAsync Method

Definition

Updates VpnServerConfiguration tags.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_UpdateTags
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource>> UpdateAsync (Azure.ResourceManager.Network.Models.NetworkTagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource>>
override this.UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource>>
Public Overridable Function UpdateAsync (vpnServerConfigurationParameters As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VpnServerConfigurationResource))

Parameters

vpnServerConfigurationParameters
NetworkTagsObject

Parameters supplied to update VpnServerConfiguration tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vpnServerConfigurationParameters is null.

Applies to