ServiceAlertResource.GetHistory(CancellationToken) Method

Definition

Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history
  • Operation Id: Alerts_GetHistory
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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to