Insights - Create
インサイトリソースを作成してください。これは管理者専用の操作です
PUT https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Impact/workloadImpacts/{workloadImpactName}/insights/{insightName}?api-version=2026-01-01-preview
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
insight
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9.]*[a-zA-Z0-9]{3,180}$ |
洞察の名前 |
|
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
|
workload
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9-:]*[a-zA-Z0-9]{3,120}$ |
workloadImpactリソース |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
要求本文
| 名前 | 型 | 説明 |
|---|---|---|
| properties |
このリソースのリソース固有のプロパティ。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
リソース「Insight」更新操作成功 |
|
| 201 Created |
リソース『Insight』作成作業成功 |
|
| Other Status Codes |
予期しないエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 Flow.
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| user_impersonation | ユーザー アカウントを偽装する |
例
Creating an insight
要求のサンプル
PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Impact/workloadImpacts/impactid22/insights/insightId12?api-version=2026-01-01-preview
{
"properties": {
"content": {
"title": "Impact Has been correlated to an outage",
"description": "At 2018-11-08T00:00:00Z UTC, your services dependent on these resources <link href=”…”>VM1</link> may have experienced an issue. <br/><div>We have identified an outage that affected these resources(s). You can look at outage information on <link href=\"https:// portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues/trackingId/NL2W-VCZ\">NL2W-VCZ</link> link.<div>"
},
"category": "repair",
"status": "resolved",
"eventTime": "2023-06-15T04:00:00.009223Z",
"insightUniqueId": "00000000-0000-0000-0000-000000000000",
"impact": {
"impactedResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-rg/providers/Microsoft.Sql/sqlserver/dbservername",
"startTime": "2023-06-15T01:00:00.009223Z",
"impactId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22"
}
}
}
応答のサンプル
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22/insights/insightId12",
"name": "insightId12",
"type": "Microsoft.Impact/insights",
"properties": {
"eventTime": "2023-06-15T04:00:00.009223Z",
"content": {
"title": "Impact Has been correlated to an outage",
"description": "At 2018-11-08T00:00:00Z UTC, your services dependent on these resources <link href=”…”>VM1</link> may have experienced an issue. <br/><div>We have identified an outage that affected these resources(s). You can look at outage information on <link href=\"https:// portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues/trackingId/NL2W-VCZ\">NL2W-VCZ</link> link.<div>"
},
"category": "repair",
"status": "resolved",
"insightUniqueId": "00000000-0000-0000-0000-000000000000",
"impact": {
"impactedResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-rg/providers/Microsoft.Sql/sqlserver/dbservername",
"startTime": "2023-06-15T01:00:00.009223Z",
"impactId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22"
}
}
}
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22/insights/insightId12",
"name": "insightId12",
"type": "Microsoft.Impact/insights",
"properties": {
"eventTime": "2023-06-15T04:00:00.009223Z",
"content": {
"title": "Impact Has been correlated to an outage",
"description": "At 2018-11-08T00:00:00Z UTC, your services dependent on these resources <link href=”…”>VM1</link> may have experienced an issue. <br/><div>We have identified an outage that affected these resources(s). You can look at outage information on <link href=\"https:// portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues/trackingId/NL2W-VCZ\">NL2W-VCZ</link> link.<div>"
},
"category": "repair",
"status": "resolved",
"insightUniqueId": "00000000-0000-0000-0000-000000000000",
"impact": {
"impactedResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-rg/providers/Microsoft.Sql/sqlserver/dbservername",
"startTime": "2023-06-15T01:00:00.009223Z",
"impactId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22"
}
}
}
定義
| 名前 | 説明 |
|---|---|
| Content |
インサイトの詳細(タイトル、説明など) |
|
created |
リソースを作成した ID の種類。 |
|
Error |
リソース管理エラーの追加情報。 |
|
Error |
エラーの詳細。 |
|
Error |
エラー応答 |
|
Impact |
分析情報が生成された影響の詳細。 |
| Insight |
インサイトリソース |
|
Insight |
インパクトカテゴリーの性質。 |
|
Provisioning |
リソースのプロビジョニング状態。 |
|
system |
リソースの作成と最後の変更に関連するメタデータ。 |
Content
インサイトの詳細(タイトル、説明など)
| 名前 | 型 | 説明 |
|---|---|---|
| description |
string |
分析情報の説明 |
| title |
string |
分析情報のタイトル |
createdByType
リソースを作成した ID の種類。
| 値 | 説明 |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
| 名前 | 型 | 説明 |
|---|---|---|
| info |
object |
追加情報。 |
| type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalInfo |
エラーの追加情報。 |
|
| code |
string |
エラー コード。 |
| details |
エラーの詳細。 |
|
| message |
string |
エラー メッセージ。 |
| target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
ImpactDetails
分析情報が生成された影響の詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| endTime |
string (date-time) |
報告された影響に応じて影響が終了した時刻。 |
| impactId |
string |
Azure Id のインパクト。 |
| impactedResourceId |
string |
影響を受けるAzureリソースの一覧。 |
| startTime |
string (date-time) |
報告された影響に従って影響が開始された時刻。 |
Insight
インサイトリソース
| 名前 | 型 | 説明 |
|---|---|---|
| id |
string (arm-id) |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
リソースの名前 |
| properties |
このリソースのリソース固有のプロパティ。 |
|
| systemData |
create By と modifiedBy の情報を含む Azure Resource Manager メタデータ。 |
|
| type |
string |
リソースの型。 例えば「Microsoft。Compute/virtualMachines」または「Microsoft」などです。ストレージ/ストレージアカウント」 |
InsightProperties
インパクトカテゴリーの性質。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalDetails |
object |
分析情報の追加の詳細。 |
| category |
string |
分析情報のカテゴリ。 |
| content |
分析情報のタイトル & 説明が含まれています |
|
| eventId |
string |
この分析情報と関連付けられたイベントの識別子。 これは、同じイベントの分析情報を集計するために使用できます。 |
| eventTime |
string (date-time) |
影響を関連付けたイベントの時刻。 |
| groupId |
string |
同様の分析情報をグループ化するために使用できる識別子。 |
| impact |
分析情報が生成された影響の詳細。 |
|
| insightUniqueId |
string |
分析情報の一意の ID。 |
| provisioningState |
リソース プロビジョニングの状態。 |
|
| status |
string |
分析情報の状態。 例: 解決済み、修復済み、その他。 |
ProvisioningState
リソースのプロビジョニング状態。
| 値 | 説明 |
|---|---|
| Succeeded |
プロビジョニング成功 |
| Failed |
プロビジョニングに失敗しました |
| Canceled |
プロビジョニングのキャンセル |
systemData
リソースの作成と最後の変更に関連するメタデータ。
| 名前 | 型 | 説明 |
|---|---|---|
| createdAt |
string (date-time) |
リソース作成のタイムスタンプ (UTC)。 |
| createdBy |
string |
リソースを作成した ID。 |
| createdByType |
リソースを作成した ID の種類。 |
|
| lastModifiedAt |
string (date-time) |
リソースの最終変更のタイムスタンプ (UTC) |
| lastModifiedBy |
string |
リソースを最後に変更した ID。 |
| lastModifiedByType |
リソースを最後に変更した ID の種類。 |