Share via


NetworkCloudL2NetworkResource.UpdateAsync Method

Definition

Update tags associated with the provided layer 2 (L2) network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkResource>> UpdateAsync (Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL2NetworkPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL2NetworkPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkResource>>
override this.UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL2NetworkPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL2NetworkResource>>
Public Overridable Function UpdateAsync (patch As NetworkCloudL2NetworkPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudL2NetworkResource))

Parameters

patch
NetworkCloudL2NetworkPatch

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to