Partilhar via


ScheduledQueryRuleResource.UpdateAsync Método

Definição

Atualizar uma regra de consulta agendada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}
  • IdScheduledQueryRules_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ScheduledQueryRuleResource>> UpdateAsync (Azure.ResourceManager.Monitor.Models.ScheduledQueryRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Monitor.Models.ScheduledQueryRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ScheduledQueryRuleResource>>
override this.UpdateAsync : Azure.ResourceManager.Monitor.Models.ScheduledQueryRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.ScheduledQueryRuleResource>>
Public Overridable Function UpdateAsync (patch As ScheduledQueryRulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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