Partilhar via


ScheduledQueryRuleResource.Update Método

Definição

Atualize uma regra de consulta agendada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}
  • Operação 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)

Parâmetros

patch
ScheduledQueryRulePatch

Os parâmetros da regra a ser atualizada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a