Alert Rule Incidents - Get

アラート ルールに関連付けられているインシデントを取得します

GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}/incidents/{incidentName}?api-version=2016-03-01

URI パラメーター

名前 / 必須 説明
incidentName
path True

string

取得するインシデントの名前。

resourceGroupName
path True

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

ruleName
path True

string

ルールの名前です。

subscriptionId
path True

string

ターゲット サブスクリプションの ID。

api-version
query True

string

この操作に使用する API バージョン。

応答

名前 説明
200 OK

Incident

1 つのアラート ルールに関連するインシデントに対する要求が成功しました

Other Status Codes

ErrorResponse

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントの借用

Get a single alert rule incident

要求のサンプル

GET https://management.azure.com/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourcegroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName/incidents/Website_started?api-version=2016-03-01

応答のサンプル

{
  "name": "Website_started",
  "ruleName": "myRuleName",
  "isActive": true,
  "activatedTime": "2017-09-13T15:45:26.9792776Z",
  "resolvedTime": "2017-09-13T22:14:28.9792776Z"
}

定義

名前 説明
ErrorResponse

エラー応答の形式について説明します。

Incident

アラート インシデントは、アラート ルールのアクティブ化状態を示します。

ErrorResponse

エラー応答の形式について説明します。

名前 説明
code

string

エラー コード

message

string

操作が失敗した理由を示すエラー メッセージ。

Incident

アラート インシデントは、アラート ルールのアクティブ化状態を示します。

名前 説明
activatedTime

string

インシデントがISO8601形式でアクティブ化された時刻。

isActive

boolean

インシデントがアクティブか解決かを示すブール値。

name

string

インシデント名。

resolvedTime

string

インシデントがISO8601形式で解決された時刻。 null の場合は、インシデントがまだアクティブであることを意味します。

ruleName

string

インシデントに関連付けられているルール名。