Freigeben über


ScheduledQueryRuleResource.Update Methode

Definition

Aktualisieren einer geplanten Abfrageregel.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}
  • Vorgangs-IdScheduledQueryRules_Update
public virtual Azure.Response<Azure.ResourceManager.Monitor.ScheduledQueryRuleResource> Update (Azure.ResourceManager.Monitor.Models.ScheduledQueryRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Monitor.Models.ScheduledQueryRulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.ScheduledQueryRuleResource>
override this.Update : Azure.ResourceManager.Monitor.Models.ScheduledQueryRulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.ScheduledQueryRuleResource>
Public Overridable Function Update (patch As ScheduledQueryRulePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScheduledQueryRuleResource)

Parameter

patch
ScheduledQueryRulePatch

Die Parameter der zu aktualisierenden Regel.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: