Partager via


NetworkCloudL2NetworkResource.UpdateAsync Méthode

Définition

Mettre à jour les balises associées au réseau de couche 2 (L2) fourni.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • IdL2Networks_Update d’opération
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))

Paramètres

patch
NetworkCloudL2NetworkPatch

Corps de la demande.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à