Partager via


NetworkInterfaceResource.UpdateAsync Méthode

Définition

Mises à jour des balises d’interface réseau.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}
  • IdNetworkInterfaces_UpdateTags d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceResource>> UpdateAsync (Azure.ResourceManager.Network.Models.NetworkTagsObject networkTagsObject, 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.NetworkInterfaceResource>>
override this.UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceResource>>
Public Overridable Function UpdateAsync (networkTagsObject As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkInterfaceResource))

Paramètres

networkTagsObject
NetworkTagsObject

Paramètres fournis pour mettre à jour les balises d’interface réseau.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

networkTagsObject a la valeur null.

S’applique à