Partager via


ScheduledQueryRuleResource.Update Méthode

Définition

Mettre à jour une règle de requête planifiée.

  • Chemin de requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}
  • IdScheduledQueryRules_Update d’opération
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)

Paramètres

patch
ScheduledQueryRulePatch

Paramètres de la règle à mettre à jour.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à