Sdílet prostřednictvím


VirtualNetworkTapResource.UpdateAsync Method

Definition

Updates an VirtualNetworkTap tags.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}
  • Operation Id: VirtualNetworkTaps_UpdateTags
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualNetworkTapResource>> UpdateAsync (Azure.ResourceManager.Network.Models.NetworkTagsObject tapParameters, 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.VirtualNetworkTapResource>>
override this.UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualNetworkTapResource>>
Public Overridable Function UpdateAsync (tapParameters As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualNetworkTapResource))

Parameters

tapParameters
NetworkTagsObject

Parameters supplied to update VirtualNetworkTap tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tapParameters is null.

Applies to