Freigeben über


ActionGroupResource.Update(ActionGroupPatch, CancellationToken) Methode

Definition

Updates die Tags einer vorhandenen Aktionsgruppe. Um andere Felder zu aktualisieren, verwenden Sie die CreateOrUpdate-Methode.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}
  • Vorgang IdActionGroups_Update
public virtual Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource> Update (Azure.ResourceManager.Monitor.Models.ActionGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Monitor.Models.ActionGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>
override this.Update : Azure.ResourceManager.Monitor.Models.ActionGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.ActionGroupResource>
Public Overridable Function Update (patch As ActionGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As 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: