Freigeben über


IConnectionMonitorsOperations.UpdateTagsWithHttpMessagesAsync Methode

Definition

Aktualisieren sie Tags des angegebenen Verbindungsmonitors.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.ConnectionMonitorResultInner>> UpdateTagsWithHttpMessagesAsync (string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTagsWithHttpMessagesAsync : string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.ConnectionMonitorResultInner>>
Public Function UpdateTagsWithHttpMessagesAsync (resourceGroupName As String, networkWatcherName As String, connectionMonitorName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ConnectionMonitorResultInner))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe.

networkWatcherName
String

Der Name des Network Watchers.

connectionMonitorName
String

Der Name des Verbindungsmonitors.

tags
IDictionary<String,String>

Ressourcentags.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: