Partager via


ConnectionMonitorResource.UpdateAsync Méthode

Définition

Mettez à jour les étiquettes du moniteur de connexion spécifié.

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

Paramètres

networkTagsObject
NetworkTagsObject

Paramètres fournis pour mettre à jour les balises du moniteur de connexion.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

networkTagsObject a la valeur null.

S’applique à