Freigeben über


ActionGroupResource.UpdateAsync(ActionGroupPatch, CancellationToken) Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}
  • Vorgangs-IdActionGroups_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>> UpdateAsync (Azure.ResourceManager.Monitor.Models.ActionGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Monitor.Models.ActionGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>>
override this.UpdateAsync : Azure.ResourceManager.Monitor.Models.ActionGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>>
Public Overridable Function UpdateAsync (patch As ActionGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ActionGroupResource))

Parameter

patch
ActionGroupPatch

Für den Vorgang bereitgestellte Parameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: