Partilhar via


ServiceAlertResource.GetHistoryAsync(CancellationToken) Método

Definição

Obtenha o histórico de um alerta, que captura todas as alterações de condição de monitor (Acionadas/Resolvidas) e alterações de estado de alerta (New/Acknowledged/Closed).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history
  • Operação IdAlerts_GetHistory
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertModification>> GetHistoryAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHistoryAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertModification>>
override this.GetHistoryAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertModification>>
Public Overridable Function GetHistoryAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceAlertModification))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a