次の方法で共有


Insights - Create

インサイトリソースを作成してください。これは管理者専用の操作です

PUT https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Impact/workloadImpacts/{workloadImpactName}/insights/{insightName}?api-version=2026-01-01-preview

URI パラメーター

名前 / 必須 説明
insightName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9.]*[a-zA-Z0-9]{3,180}$

洞察の名前

subscriptionId
path True

string (uuid)

ターゲット サブスクリプションの ID。 値は UUID である必要があります。

workloadImpactName
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

InsightProperties

このリソースのリソース固有のプロパティ。

応答

名前 説明
200 OK

Insight

リソース「Insight」更新操作成功

201 Created

Insight

リソース『Insight』作成作業成功

Other Status Codes

ErrorResponse

予期しないエラー応答。

セキュリティ

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

インサイトの詳細(タイトル、説明など)

createdByType

リソースを作成した ID の種類。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

ImpactDetails

分析情報が生成された影響の詳細。

Insight

インサイトリソース

InsightProperties

インパクトカテゴリーの性質。

ProvisioningState

リソースのプロビジョニング状態。

systemData

リソースの作成と最後の変更に関連するメタデータ。

Content

インサイトの詳細(タイトル、説明など)

名前 説明
description

string

分析情報の説明

title

string

分析情報のタイトル

createdByType

リソースを作成した ID の種類。

説明
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

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

InsightProperties

このリソースのリソース固有のプロパティ。

systemData

systemData

create By と modifiedBy の情報を含む Azure Resource Manager メタデータ。

type

string

リソースの型。 例えば「Microsoft。Compute/virtualMachines」または「Microsoft」などです。ストレージ/ストレージアカウント」

InsightProperties

インパクトカテゴリーの性質。

名前 説明
additionalDetails

object

分析情報の追加の詳細。

category

string

分析情報のカテゴリ。

content

Content

分析情報のタイトル & 説明が含まれています

eventId

string

この分析情報と関連付けられたイベントの識別子。 これは、同じイベントの分析情報を集計するために使用できます。

eventTime

string (date-time)

影響を関連付けたイベントの時刻。

groupId

string

同様の分析情報をグループ化するために使用できる識別子。

impact

ImpactDetails

分析情報が生成された影響の詳細。

insightUniqueId

string

分析情報の一意の ID。

provisioningState

ProvisioningState

リソース プロビジョニングの状態。

status

string

分析情報の状態。 例: 解決済み、修復済み、その他。

ProvisioningState

リソースのプロビジョニング状態。

説明
Succeeded

プロビジョニング成功

Failed

プロビジョニングに失敗しました

Canceled

プロビジョニングのキャンセル

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string (date-time)

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string (date-time)

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。