Compartilhar via


ServiceAlertResource.GetHistory(CancellationToken) Método

Definição

Obtenha o histórico de um alerta, que captura todas as alterações de condição do monitor (Disparadas/Resolvidas) e alterações de estado de alerta (Nova/Confirmada/Fechada).

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a