Sdílet prostřednictvím


AlertsOperationsExtensions.GetHistory(IAlertsOperations, String) Method

Definition

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

public static Microsoft.Azure.Management.AlertsManagement.Models.AlertModification GetHistory (this Microsoft.Azure.Management.AlertsManagement.IAlertsOperations operations, string alertId);
static member GetHistory : Microsoft.Azure.Management.AlertsManagement.IAlertsOperations * string -> Microsoft.Azure.Management.AlertsManagement.Models.AlertModification
<Extension()>
Public Function GetHistory (operations As IAlertsOperations, alertId As String) As AlertModification

Parameters

operations
IAlertsOperations

The operations group for this extension method.

alertId
String

Unique ID of an alert instance.

Returns

Applies to