SALES: 1-800-867-1380

Get Alert Rule Incident

Updated: April 3, 2014

The Get Alert Rule Incident operation retrieves information about an incident of an alert rule.

The Get Alert Rule Incident request may be specified as follows. Replace <subscription-id> with the subscription ID and <incident-id> with the identifier of the alert rule incident. You can obtain the identifier of an alert rule by using List Alert Rule Incidents.

 

Method Request URI

GET

https://management.core.windows.net/<subscription-id>/services/monitoring/alertincidents/<incident-id>

You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

 

Request Header Description

Accept

Required. Set this header to application/json.

x-ms-version

Required. Specifies the version of the operation to use for this request. This header must be set to 2013-10-01 or higher. For more information about versioning headers, see Service Management Versioning.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

 

Response Header Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

The format of the response body is as follows:


{
      "Id": "<identifier-of-alert-rule-incident>",
      "RuleId": "<identifier-of-alert-rule>",
      "IsActive": "<status-of-alert-rule-incident>",
      "ActivatedTime": "<time-of-alert-rule-activation>",
      "ResolvedTime": "<time-of-alert-rule-resolution>",
}

The following table describes the elements of the response body.

 

Element Name

Description

Id

Specifies the identifier for the alert rule incident.

RuleId

Specifies the identifier of the alert rule.

IsActive

Indicates whether the alert rule incident is active.

Possible values are:

  • true

  • false

  • null

This value is null if the alert rule incident is resolved.

ActivatedTime

Specifies the time that the alert rule incident was activated.

ResolvedTime

Specifies the time that the alert rule incident was resolved. This value can be null if the alert rule incident is active.

You can also use the Management Portal to see the alert rules that are defined. For more information, see How to: Receive Alert Notifications and Manage Alert Rules in Azure.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft