Skip to content

Commit 7f17ec5

Browse files
Added EmergingIssues API paths from 2018-07-01. (#21954)
* Added EmergingIssues API paths from 2018-07-01. * Fix LintDiff error - x-ms-identifiers * Fix LintDiff error - MissingTypeObject * Changed resource definition from v1 to v3.
1 parent 1031999 commit 7f17ec5

File tree

3 files changed

+394
-0
lines changed

3 files changed

+394
-0
lines changed

specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,78 @@
804804
}
805805
}
806806
}
807+
},
808+
"/providers/Microsoft.ResourceHealth/emergingIssues": {
809+
"get": {
810+
"tags": [
811+
"EmergingIssues"
812+
],
813+
"operationId": "EmergingIssues_List",
814+
"description": "Lists Azure services' emerging issues.",
815+
"parameters": [
816+
{
817+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
818+
}
819+
],
820+
"responses": {
821+
"200": {
822+
"description": "The body contains a list of azure emerging issues.",
823+
"schema": {
824+
"$ref": "#/definitions/emergingIssueListResult"
825+
}
826+
},
827+
"default": {
828+
"description": "DefaultErrorResponse",
829+
"schema": {
830+
"$ref": "#/definitions/ErrorResponse"
831+
}
832+
}
833+
},
834+
"x-ms-examples": {
835+
"GetEmergingIssues": {
836+
"$ref": "./examples/EmergingIssues_List.json"
837+
}
838+
},
839+
"x-ms-pageable": {
840+
"nextLinkName": "nextLink"
841+
}
842+
}
843+
},
844+
"/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}": {
845+
"get": {
846+
"tags": [
847+
"EmergingIssues"
848+
],
849+
"operationId": "EmergingIssues_Get",
850+
"description": "Gets Azure services' emerging issues.",
851+
"parameters": [
852+
{
853+
"$ref": "#/parameters/IssueNameParameter"
854+
},
855+
{
856+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
857+
}
858+
],
859+
"responses": {
860+
"200": {
861+
"description": "The body contains properties of azure emerging issues, which includes a list of status banner and status active events.",
862+
"schema": {
863+
"$ref": "#/definitions/emergingIssuesGetResult"
864+
}
865+
},
866+
"default": {
867+
"description": "DefaultErrorResponse",
868+
"schema": {
869+
"$ref": "#/definitions/ErrorResponse"
870+
}
871+
}
872+
},
873+
"x-ms-examples": {
874+
"GetEmergingIssues": {
875+
"$ref": "./examples/EmergingIssues_Get.json"
876+
}
877+
}
878+
}
807879
}
808880
},
809881
"definitions": {
@@ -1666,6 +1738,156 @@
16661738
}
16671739
}
16681740
},
1741+
"emergingIssueListResult": {
1742+
"description": "The list of emerging issues.",
1743+
"type": "object",
1744+
"properties": {
1745+
"value": {
1746+
"description": "The list of emerging issues.",
1747+
"type": "array",
1748+
"items": {
1749+
"$ref": "#/definitions/emergingIssuesGetResult"
1750+
}
1751+
},
1752+
"nextLink": {
1753+
"description": "The link used to get the next page of emerging issues.",
1754+
"type": "string"
1755+
}
1756+
}
1757+
},
1758+
"emergingIssuesGetResult": {
1759+
"description": "The Get EmergingIssues operation response.",
1760+
"type": "object",
1761+
"properties": {
1762+
"properties": {
1763+
"$ref": "#/definitions/emergingIssue",
1764+
"description": "The emerging issue entity properties.",
1765+
"x-ms-client-flatten": true
1766+
}
1767+
},
1768+
"allOf": [
1769+
{
1770+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
1771+
}
1772+
]
1773+
},
1774+
"emergingIssue": {
1775+
"type": "object",
1776+
"description": "On-going emerging issue from azure status.",
1777+
"properties": {
1778+
"refreshTimestamp": {
1779+
"type": "string",
1780+
"description": "Timestamp for when last time refreshed for ongoing emerging issue.",
1781+
"format": "date-time"
1782+
},
1783+
"statusBanners": {
1784+
"type": "array",
1785+
"items": {
1786+
"$ref": "#/definitions/statusBanner"
1787+
},
1788+
"description": "The list of emerging issues of banner type.",
1789+
"x-ms-identifiers": []
1790+
},
1791+
"statusActiveEvents": {
1792+
"type": "array",
1793+
"items": {
1794+
"$ref": "#/definitions/statusActiveEvent"
1795+
},
1796+
"description": "The list of emerging issues of active event type.",
1797+
"x-ms-identifiers": []
1798+
}
1799+
}
1800+
},
1801+
"statusActiveEvent": {
1802+
"type": "object",
1803+
"description": "Active event type of emerging issue.",
1804+
"properties": {
1805+
"title": {
1806+
"type": "string",
1807+
"description": "The active event title."
1808+
},
1809+
"description": {
1810+
"type": "string",
1811+
"description": "The details of active event."
1812+
},
1813+
"trackingId": {
1814+
"type": "string",
1815+
"description": "The tracking id of this active event."
1816+
},
1817+
"startTime": {
1818+
"type": "string",
1819+
"description": "The impact start time on this active event.",
1820+
"format": "date-time"
1821+
},
1822+
"cloud": {
1823+
"type": "string",
1824+
"description": "The cloud type of this active event."
1825+
},
1826+
"severity": {
1827+
"type": "string",
1828+
"description": "The severity level of this active event.",
1829+
"enum": [
1830+
"Information",
1831+
"Warning",
1832+
"Error"
1833+
],
1834+
"x-ms-enum": {
1835+
"name": "SeverityValues",
1836+
"modelAsString": true
1837+
}
1838+
},
1839+
"stage": {
1840+
"type": "string",
1841+
"description": "The stage of this active event.",
1842+
"enum": [
1843+
"Active",
1844+
"Resolve",
1845+
"Archived"
1846+
],
1847+
"x-ms-enum": {
1848+
"name": "StageValues",
1849+
"modelAsString": true
1850+
}
1851+
},
1852+
"published": {
1853+
"type": "boolean",
1854+
"description": "The boolean value of this active event if published or not."
1855+
},
1856+
"lastModifiedTime": {
1857+
"type": "string",
1858+
"description": "The last time modified on this banner.",
1859+
"format": "date-time"
1860+
},
1861+
"impacts": {
1862+
"type": "array",
1863+
"items": {
1864+
"$ref": "#/definitions/emergingIssueImpact"
1865+
},
1866+
"description": "The list of emerging issues impacts."
1867+
}
1868+
}
1869+
},
1870+
"emergingIssueImpact": {
1871+
"type": "object",
1872+
"description": "Object of the emerging issue impact on services and regions.",
1873+
"properties": {
1874+
"id": {
1875+
"type": "string",
1876+
"description": "The impacted service id."
1877+
},
1878+
"name": {
1879+
"type": "string",
1880+
"description": "The impacted service name."
1881+
},
1882+
"regions": {
1883+
"type": "array",
1884+
"items": {
1885+
"$ref": "#/definitions/impactedRegion"
1886+
},
1887+
"description": "The list of impacted regions for corresponding emerging issues."
1888+
}
1889+
}
1890+
},
16691891
"ErrorResponse": {
16701892
"description": "Error details.",
16711893
"type": "object",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"parameters": {
3+
"issueName": "default",
4+
"api-version": "2022-10-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "/providers/Microsoft.ResourceHealth/emergingissues/default",
10+
"type": "/providers/Microsoft.ResourceHealth/emergingissues",
11+
"name": "default",
12+
"properties": {
13+
"refreshTimestamp": "2019-12-17T09:12:00Z",
14+
"statusBanners": [
15+
{
16+
"title": "Automatic updates to the dial tone page from ACM - banner",
17+
"message": "Testing backup site",
18+
"cloud": "Public",
19+
"lastModifiedTime": "2019-12-15T08:04:00Z"
20+
},
21+
{
22+
"title": "Storage - West Europe",
23+
"message": "<span style=\"color: #323237; font-family: &quot;Segoe UI&quot;, SegoeUI, &quot;Segoe WP&quot;, Tahoma, Arial, sans-serif; font-size: 16px; background-color: #ffffff\">A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.</span>",
24+
"cloud": "Public",
25+
"lastModifiedTime": "2019-12-15T10:15:00Z"
26+
}
27+
],
28+
"statusActiveEvents": [
29+
{
30+
"title": "Automatic updates to the dial tone page from ACM - SHD event",
31+
"description": "Virtual Machines case",
32+
"trackingId": "KTTK-TZ8",
33+
"startTime": "2019-12-15T08:06:00Z",
34+
"cloud": "Public",
35+
"severity": "Information",
36+
"stage": "Active",
37+
"impacts": [
38+
{
39+
"id": "virtual-machines",
40+
"name": "Virtual Machines",
41+
"regions": [
42+
{
43+
"id": "us-central",
44+
"name": "Central US"
45+
},
46+
{
47+
"id": "us-east",
48+
"name": "East US"
49+
}
50+
]
51+
}
52+
],
53+
"published": true,
54+
"lastModifiedTime": "2019-12-15T08:10:00Z"
55+
},
56+
{
57+
"title": "Azure SQL Database - West Europe",
58+
"description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.",
59+
"trackingId": "4KHK-LS8",
60+
"startTime": "2019-12-16T05:11:00Z",
61+
"cloud": "Public",
62+
"severity": "Error",
63+
"stage": "Active",
64+
"impacts": [
65+
{
66+
"id": "sql-database",
67+
"name": "SQL Database",
68+
"regions": [
69+
{
70+
"id": "europe-west",
71+
"name": "West Europe"
72+
}
73+
]
74+
}
75+
],
76+
"published": true,
77+
"lastModifiedTime": "2019-12-16T05:11:00Z"
78+
}
79+
]
80+
}
81+
}
82+
}
83+
}
84+
}

0 commit comments

Comments
 (0)