Events - List By Subscription Id

구독에서 서비스 상태 이벤트를 Lists.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events?api-version=2024-02-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events?api-version=2024-02-01&$filter={$filter}&queryStartTime={queryStartTime}

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

$filter
query

string

작업에 적용할 필터입니다. 자세한 내용은 다음을 참조하세요. https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN

queryStartTime
query

string

lastUpdateTime 속성을 기반으로 이벤트를 반환할 시기를 지정합니다. 예를 들어 queryStartTime = 2020/7/24 OR queryStartTime=7%2F24%2F2020

응답

Name 형식 Description
200 OK

events

구독의 현재 서비스 상태 이벤트 목록

Other Status Codes

ErrorResponse

DefaultErrorResponse

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

ListEventsBySubscriptionId

Sample Request

GET https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.ResourceHealth/events?api-version=2024-02-01&$filter=service eq 'Virtual Machines' or region eq 'West US'&queryStartTime=7/24/2020

Sample Response

{
  "value": [
    {
      "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ",
      "name": "BC_1-FXZ",
      "type": "/providers/Microsoft.ResourceHealth/events",
      "properties": {
        "eventType": "ServiceIssue",
        "eventSource": "ResourceHealth",
        "status": "Active",
        "title": "ACTIVE: Virtual machines in West US",
        "summary": "An outage alert is being investigated. More information will be provided as it is known.",
        "header": "Your service might have been impacted by an Azure service issue",
        "article": {
          "articleContent": "<html>An outage alert is being investigated. More information will be provided as it is known</html>"
        },
        "links": [
          {
            "type": "Hyperlink",
            "displayText": {
              "value": "Request RCA",
              "localizedValue": "Request RCA"
            },
            "extensionName": "Microsoft_Azure_Health",
            "bladeName": "RequestRCABlade",
            "parameters": {
              "trackingId": "BC_1-FXZ",
              "rcaRequested": "False"
            }
          },
          {
            "type": "Button",
            "displayText": {
              "value": "Sign up for updates",
              "localizedValue": "Sign up for updates"
            },
            "extensionName": "Microsoft_Azure_Health",
            "bladeName": "AzureHealthBrowseBlade",
            "parameters": {
              "trackingId": "BC_1-FXZ"
            }
          }
        ],
        "level": "Warning",
        "eventLevel": "Informational",
        "impactStartTime": "2018-11-07T00:00:00Z",
        "impactMitigationTime": "2018-11-08T00:00:00Z",
        "impact": [
          {
            "impactedService": "Virtual Machines",
            "impactedServiceGuid": "fd8065f5-ffd0-4756-8788-e6a11bf36257",
            "impactedRegions": [
              {
                "impactedRegion": "West US",
                "status": "Active",
                "impactedSubscriptions": [
                  "{subscriptionId}"
                ],
                "impactedTenants": [],
                "lastUpdateTime": "2017-12-05T21:05:00Z"
              }
            ]
          }
        ],
        "recommendedActions": {
          "message": "Recommended actions title",
          "actions": [
            {
              "groupId": 23243,
              "actionText": "action 1"
            },
            {
              "groupId": 23432,
              "actionText": "action 2"
            }
          ],
          "localeCode": "en"
        },
        "faqs": [
          {
            "question": "This is a question",
            "answer": "This is an answer",
            "localeCode": "en"
          }
        ],
        "isHIR": false,
        "enableMicrosoftSupport": true,
        "enableChatWithUs": false,
        "priority": 2,
        "lastUpdateTime": "2018-11-08T00:00:00Z",
        "hirStage": "resolved"
      }
    }
  ],
  "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}"
}

정의

Name Description
Actions

서비스 상태 이벤트에 권장되는 작업입니다.

AdditionalInformation

추가 정보

Article

이벤트의 문서입니다.

createdByType

리소스를 만든 ID의 형식입니다.

DisplayText

링크 텍스트를 표시합니다.

ErrorResponse

오류 세부 정보입니다.

event

서비스 상태 이벤트

EventLevelValues

이벤트 수준입니다.

events

이벤트 나열 작업 응답입니다.

EventSourceValues

이벤트의 원본입니다.

EventStatusValues

이벤트의 현재 상태.

EventTypeValues

이벤트 유형입니다.

faq

서비스 상태 이벤트에 대한 질문과 대답

impact

서비스 상태 이벤트의 영향을 받는 Azure 서비스입니다.

impactedServiceRegion

서비스 상태 이벤트의 영향을 받는 Azure 지역입니다.

LevelValues

인사이트 수준입니다.

link

서비스 상태 이벤트에 대한 유용한 링크입니다.

LinkTypeValues

링크 유형입니다.

RecommendedActions

이벤트의 권장 작업입니다.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

update

서비스 상태 이벤트에 대한 업데이트입니다.

Actions

서비스 상태 이벤트에 권장되는 작업입니다.

Name 형식 Description
actionText

string

권장 작업 텍스트

groupId

integer

서비스 상태 이벤트에 권장되는 작업 그룹 ID입니다.

AdditionalInformation

추가 정보

Name 형식 Description
message

string

추가 정보 메시지

Article

이벤트의 문서입니다.

Name 형식 Description
articleContent

string

이벤트의 아티클 콘텐츠입니다.

articleId

string

문서 ID

parameters

object

매개 변수 이름 및 값의 맵을 제공합니다.

createdByType

리소스를 만든 ID의 형식입니다.

Name 형식 Description
Application

string

Key

string

ManagedIdentity

string

User

string

DisplayText

링크 텍스트를 표시합니다.

Name 형식 Description
localizedValue

string

링크의 지역화된 표시 텍스트입니다.

value

string

링크 텍스트를 표시합니다.

ErrorResponse

오류 세부 정보입니다.

Name 형식 Description
code

string

오류 코드입니다.

details

string

오류 세부 정보입니다.

message

string

오류 메시지입니다.

event

서비스 상태 이벤트

Name 형식 Description
id

string

리소스에 대한 정규화된 리소스 ID입니다. 예 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

리소스의 이름입니다.

properties.additionalInformation

AdditionalInformation

추가 정보

properties.article

Article

이벤트의 문서입니다.

properties.description

string

요약, 근본 원인 및 기타 세부 정보를 포함할 수 있는 이벤트에 대한 통신 메시지를 포함합니다.

properties.duration

integer

기간(초)

properties.enableChatWithUs

boolean

이 이벤트에 대해 Microsoft 지원 사용하거나 사용하지 않도록 설정할지 여부를 알려줍니다.

properties.enableMicrosoftSupport

boolean

이 이벤트에 대해 Microsoft 지원 사용하거나 사용하지 않도록 설정할지 여부를 알려줍니다.

properties.eventLevel

EventLevelValues

이벤트 수준입니다.

properties.eventSource

EventSourceValues

이벤트의 원본입니다.

properties.eventType

EventTypeValues

이벤트 유형입니다.

properties.externalIncidentId

string

인시던트 ID

properties.faqs

faq[]

서비스 상태 이벤트에 대한 질문과 대답입니다.

properties.header

string

이벤트의 헤더 텍스트입니다.

properties.hirStage

string

HIR 문서 단계

properties.impact

impact[]

서비스 상태 이벤트의 영향을 받는 서비스를 나열합니다.

properties.impactMitigationTime

string

상태에 영향을 주는 이벤트가 해결된 경우에 대한 타임스탬프를 제공합니다.

properties.impactStartTime

string

상태에 영향을 주는 이벤트가 시작된 시기에 대한 타임스탬프를 제공합니다.

properties.impactType

string

영향의 유형

properties.isHIR

boolean

이벤트가 높은 인시던트 비율 이벤트인지 여부에 대한 정보를 제공합니다.

properties.lastUpdateTime

string

상태에 영향을 주는 이벤트가 마지막으로 업데이트된 시기에 대한 타임스탬프를 제공합니다.

properties.level

LevelValues

인사이트 수준입니다.

properties.links

link[]

이벤트의 유용한 링크입니다.

properties.platformInitiated

boolean

이벤트가 플랫폼 시작인 경우 true입니다.

properties.priority

integer

이벤트의 우선 순위 수준입니다. 값이 0에서 23까지입니다. 0이 가장 높은 우선 순위입니다. 서비스 문제 이벤트에는 우선 순위가 더 높고 계획된 유지 관리 및 상태 권고가 뒤따릅니다. 중요한 이벤트에는 우선 순위가 더 높고 오류, 경고 및 정보가 뒤따릅니다. 또한 활성 이벤트는 해결된 것보다 우선 순위가 높습니다.

properties.reason

string

인시던트에 대한 이유

properties.recommendedActions

RecommendedActions

이벤트의 권장 작업입니다.

properties.status

EventStatusValues

이벤트의 현재 상태.

properties.summary

string

이벤트의 요약 텍스트입니다.

properties.title

string

이벤트의 제목 텍스트입니다.

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

type

string

리소스 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

EventLevelValues

이벤트 수준입니다.

Name 형식 Description
Critical

string

Error

string

Informational

string

Warning

string

events

이벤트 나열 작업 응답입니다.

Name 형식 Description
nextLink

string

이벤트의 다음 페이지를 가져올 URI입니다. 이 URI를 사용하여 ListNext()를 호출하여 이벤트의 다음 페이지를 가져옵니다.

value

event[]

이벤트 목록입니다.

EventSourceValues

이벤트의 원본입니다.

Name 형식 Description
ResourceHealth

string

ServiceHealth

string

EventStatusValues

이벤트의 현재 상태.

Name 형식 Description
Active

string

Resolved

string

EventTypeValues

이벤트 유형입니다.

Name 형식 Description
EmergingIssues

string

HealthAdvisory

string

PlannedMaintenance

string

RCA

string

SecurityAdvisory

string

ServiceIssue

string

faq

서비스 상태 이벤트에 대한 질문과 대답

Name 형식 Description
answer

string

서비스 상태 이벤트에 대한 FAQ 답변입니다.

localeCode

string

서비스 상태 이벤트에 대한 FAQ 로캘입니다.

question

string

서비스 상태 이벤트에 대한 FAQ 질문입니다.

impact

서비스 상태 이벤트의 영향을 받는 Azure 서비스입니다.

Name 형식 Description
impactedRegions

impactedServiceRegion[]

서비스 상태 이벤트의 영향을 받는 지역을 나열합니다.

impactedService

string

영향을 받은 서비스 이름입니다.

impactedServiceGuid

string

영향을 받은 서비스 GUID입니다. 영향을 받은 서비스의 영구 식별자입니다.

impactedServiceRegion

서비스 상태 이벤트의 영향을 받는 Azure 지역입니다.

Name 형식 Description
impactedRegion

string

영향을 받은 지역 이름입니다.

impactedSubscriptions

string[]

서비스 상태 이벤트의 영향을 받는 구독을 나열합니다.

impactedTenants

string[]

서비스 상태 이벤트의 영향을 받는 테넌트를 나열합니다.

lastUpdateTime

string

서비스 상태 이벤트의 마지막 업데이트 시기에 대한 타임스탬프를 제공합니다.

status

EventStatusValues

지역에서 이벤트의 현재 상태.

updates

update[]

지정된 서비스 상태 이벤트에 대한 업데이트 목록입니다.

LevelValues

인사이트 수준입니다.

Name 형식 Description
Critical

string

Warning

string

서비스 상태 이벤트에 대한 유용한 링크입니다.

Name 형식 Description
bladeName

string

지정된 서비스 상태 이벤트에 대한 링크를 생성하는 포털 확장 블레이드의 이름을 제공합니다.

displayText

DisplayText

링크 텍스트를 표시합니다.

extensionName

string

지정된 서비스 상태 이벤트에 대한 링크를 생성하는 포털 확장의 이름을 제공합니다.

parameters

object

지정된 서비스 상태 이벤트에 대한 lik를 생성하기 위해 포털 확장 블레이드에 대한 매개 변수 이름 및 값의 맵을 제공합니다.

type

LinkTypeValues

링크 유형입니다.

LinkTypeValues

링크 유형입니다.

Name 형식 Description
Button

string

Hyperlink

string

RecommendedActions

이벤트의 권장 작업입니다.

Name 형식 Description
actions

Actions[]

서비스 상태 이벤트에 권장되는 작업입니다.

localeCode

string

서비스 상태 이벤트에 권장되는 작업 로캘입니다.

message

string

서비스 상태 이벤트에 권장되는 작업 제목입니다.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string

UTC(리소스 만들기)의 타임스탬프입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID 유형입니다.

update

서비스 상태 이벤트에 대한 업데이트입니다.

Name 형식 Description
summary

string

서비스 상태 이벤트에 대한 지정된 업데이트에 대한 요약 텍스트입니다.

updateDateTime

string

서비스 상태 이벤트에 대해 지정된 업데이트에 대한 타임스탬프를 제공합니다.