Skip to main content

event

Creates, updates, deletes, gets or lists an event resource.

Overview

Nameevent
TypeResource
Idazure.resource_health.event

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
additionalInformationobjectAdditional information.
articleobjectArticle of event.
billingIdstringBilling identifier information.
currencyTypestringBilling currency type information. Example: USD, CAD.
descriptionstringContains the communication message for the event, that could include summary, root cause and other details. Use fetchEventDetails endpoint to get description of sensitive events.
durationintegerduration in seconds.
enableChatWithUsbooleanTells if we want to enable or disable Microsoft Support for this event.
enableMicrosoftSupportbooleanTells if we want to enable or disable Microsoft Support for this event.
eventLevelstringLevel of event. Known values are: "Critical", "Error", "Warning", and "Informational". (Critical, Error, Warning, Informational)
eventSourcestringSource of event. Known values are: "ResourceHealth" and "ServiceHealth". (ResourceHealth, ServiceHealth)
eventSubTypestringSub-type of event. Known values are: "Retirement", "ForeignExchangeRateChange", "Underbilling", "Overbilling", "PriceChanges", "TaxChanges", "MeterIDChanges", and "UnauthorizedPartyAbuse". (Retirement, ForeignExchangeRateChange, Underbilling, Overbilling, PriceChanges, TaxChanges, MeterIDChanges, UnauthorizedPartyAbuse)
eventTagsarrayA list of metadata tags associated with the event. Possible values include: -Action Recommended: Action may be required by you to avoid possible disruptions or mitigate risks for your services. It is recommended to evaluate these actions and the potential impact on your services. * False Positive: After investigation, we've determined your service is healthy and service issues did not impact your services as originally communicated. * Preliminary PIR: For our largest, most impactful service issues a Preliminary Post Incident Review (PIR) is published generally within 72 hours of mitigation, to summarize what we have learned so far from the still-in-progress investigation. * Final PIR: For service issues, a Final Post Incident Review (PIR) may be published to provide additional details or learnings. Sometimes this requires us to complete an internal retrospective, generally within 14 days of mitigation.
eventTypestringType of event. Known values are: "ServiceIssue", "PlannedMaintenance", "HealthAdvisory", "RCA", "EmergingIssues", "SecurityAdvisory", and "Billing". (ServiceIssue, PlannedMaintenance, HealthAdvisory, RCA, EmergingIssues, SecurityAdvisory, Billing)
externalIncidentIdstringThe id of the Incident.
faqsarrayFrequently asked questions for the service health event.
headerstringHeader text of event.
hirStagestringStage for HIR Document.
impactarrayList services impacted by the service health event.
impactMitigationTimestring (date-time)It provides the Timestamp for when the health impacting event resolved.
impactStartTimestring (date-time)It provides the Timestamp for when the health impacting event started.
impactTypestringThe type of the impact.
isEventSensitivebooleanIf true the event may contains sensitive data. Use the post events/{trackingId}/fetchEventDetails endpoint to fetch sensitive data see https://learn.microsoft.com/en-us/azure/service-health/security-advisories-elevated-access _.
isHIRbooleanIt provides information if the event is High incident rate event or not.
lastUpdateTimestring (date-time)It provides the Timestamp for when the health impacting event was last updated.
levelstringLevel of insight. Known values are: "Critical" and "Warning". (Critical, Warning)
linksarrayUseful links of event.
newRatenumberBilling rate change information - new rate.
oldRatenumberBilling rate change information - old rate.
platformInitiatedbooleanIs true if the event is platform initiated.
priorityintegerPriority level of the event. Has value from 0 to 23. 0 is the highest priority. Service issue events have higher priority followed by planned maintenance and health advisory. Critical events have higher priority followed by error, warning and informational. Furthermore, active events have higher priority than resolved.
reasonstringThe reason for the Incident.
recommendedActionsobjectRecommended actions of event.
statusstringCurrent status of event. Known values are: "Active" and "Resolved". (Active, Resolved)
summarystringSummary text of event. Use fetchEventDetails endpoint to get summary of sensitive events.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
titlestringTitle text of event.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_subscription_id_and_tracking_idselectevent_tracking_id, subscription_id$filter, queryStartTimeService health event in the subscription by event tracking id.
get_by_tenant_id_and_tracking_idselectevent_tracking_id$filter, queryStartTimeService health event in the tenant by event tracking id.
fetch_details_by_subscription_id_and_tracking_idexecevent_tracking_id, subscription_idService health event details in the subscription by event tracking id. This can be used to fetch sensitive properties for Security Advisory events. Please see https://learn.microsoft.com/en-us/azure/service-health/security-advisories-elevated-access _.
fetch_billling_communication_details_by_subscription_id_and_tracking_idexecevent_tracking_id, subscription_idService health event details specific in the subscription by event tracking id. This can be used to fetch sensitive properties for Billing event type.
fetch_details_by_tenant_id_and_tracking_idexecevent_tracking_idService health event details in the tenant by event tracking id. This can be used to fetch sensitive properties for Security Advisory events. Please see https://learn.microsoft.com/en-us/azure/service-health/security-advisories-elevated-access _.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
event_tracking_idstringEvent Id which uniquely identifies ServiceHealth event. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN _. Default value is None.
queryStartTimestringSpecifies from when to return events (default is 3 days), based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020. Default value is None.

SELECT examples

Service health event in the subscription by event tracking id.

SELECT
id,
name,
additionalInformation,
article,
billingId,
currencyType,
description,
duration,
enableChatWithUs,
enableMicrosoftSupport,
eventLevel,
eventSource,
eventSubType,
eventTags,
eventType,
externalIncidentId,
faqs,
header,
hirStage,
impact,
impactMitigationTime,
impactStartTime,
impactType,
isEventSensitive,
isHIR,
lastUpdateTime,
level,
links,
newRate,
oldRate,
platformInitiated,
priority,
reason,
recommendedActions,
status,
summary,
systemData,
title,
type
FROM azure.resource_health.event
WHERE event_tracking_id = '{{ event_tracking_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND queryStartTime = '{{ queryStartTime }}'
;

Lifecycle Methods

Service health event details in the subscription by event tracking id. This can be used to fetch sensitive properties for Security Advisory events. Please see https://learn.microsoft.com/en-us/azure/service-health/security-advisories-elevated-access _.

EXEC azure.resource_health.event.fetch_details_by_subscription_id_and_tracking_id 
@event_tracking_id='{{ event_tracking_id }}' --required,
@subscription_id='{{ subscription_id }}' --required
;