Freigeben über


IActionGroupsOperations.UpdateWithHttpMessagesAsync Methode

Definition

Updates die Tags einer vorhandenen Aktionsgruppe. Verwenden Sie zum Aktualisieren anderer Felder die CreateOrUpdate-Methode.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource>> UpdateWithHttpMessagesAsync (string resourceGroupName, string actionGroupName, Microsoft.Azure.Management.Monitor.Models.ActionGroupPatchBody actionGroupPatch, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Monitor.Models.ActionGroupPatchBody * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, actionGroupName As String, actionGroupPatch As ActionGroupPatchBody, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ActionGroupResource))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.

actionGroupName
String

Der Name der Aktionsgruppe.

actionGroupPatch
ActionGroupPatchBody

Für den Vorgang bereitgestellte Parameter.

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: