Skip to content

Commit b64c343

Browse files
[Hub Generated] Review request for Microsoft.ResourceHealth to add version preview/2022-10-01-preview (#22479)
* Adds base for updating Microsoft.ResourceHealth from version preview/2022-05-01-preview to version 2022-10-01-preview * Updates readme * Updates API version in new specs and examples * Dev resourcehealth/abhsinghal/2022 10 01 preview (#21758) * Added ImpactedResources for Tenant. * Added new API listSecurityAdvisoryImpactedResources for Subscriptions and Tenants. * Added Tenant ImpactedResources, SecurityImpactedResources. * Changes to examples for Subscription ImpactedResources. * Added resourceName pattern for ImpactedResourceNameParameter. * Changes to example - SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId. Removed subscriptionId from unique resourceId. * added fetchEventDetails initial commit (#21896) * added fetchEventDetails initial commit * linter fixes * removed filterparam * re-add incorrectly deleted filter parameter * removed query start time parameter * 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. * Adding 2 new fields to AvailabilityStatuses response. (#22081) * Adding 2 new fields to AvailabilityStatuses response. * Modified availabilitystatuses examples, changes to descriptions. * Modified availabilitystatuses examples - 2 * Adds base for updating Microsoft.ResourceHealth from version preview/2022-05-01-preview to version 2022-10-01-preview * Updates readme * Updates API version in new specs and examples * fix merge conflicts between main and dev-resourcehealth-Microsoft.ResourceHealth-2022-10-01-preview * added the metadata api into swagger * ran prettier * fixed example file * added pattern for issueName * undo adding pattern and ran prettier --------- Co-authored-by: abhishek-corp <[email protected]>
1 parent cbd9b7a commit b64c343

24 files changed

+5739
-1
lines changed

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

Lines changed: 2155 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "resourceUri",
4+
"api-version": "2022-10-01-preview",
5+
"$expand": "recommendedactions"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines /rhctestenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current",
11+
"name": "current",
12+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
13+
"location": "eastus",
14+
"properties": {
15+
"availabilityState": "Unavailable",
16+
"title": "Unavailable",
17+
"summary": "We're sorry, we couldn't automatically recover your virtual machine",
18+
"reasonType": "Unplanned",
19+
"context": "Platform Initiated",
20+
"category": "Unplanned",
21+
"reasonChronicity": "Persistent",
22+
"detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine",
23+
"occuredTime": "2016-03-29T09:12:00Z",
24+
"reportedTime": "2016-05-04T14:11:29.7598931Z",
25+
"rootCauseAttributionTime": "2016-03-29T09:13:00Z",
26+
"resolutionETA": "2016-03-29T09:37:00Z",
27+
"recommendedActions": [
28+
{
29+
"action": "To start this virtual machine, open the resource blade and click Start",
30+
"actionUrl": "<#ResourceBlade>",
31+
"actionUrlText": "resource blade"
32+
},
33+
{
34+
"action": "If you are experiencing problems you believe are caused by Azure, contact support",
35+
"actionUrl": "<#SupportCase>",
36+
"actionUrlText": "contact support"
37+
}
38+
]
39+
}
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "resourceUri",
4+
"api-version": "2022-10-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current",
12+
"name": "current",
13+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
14+
"location": "eastus",
15+
"properties": {
16+
"availabilityState": "Unavailable",
17+
"title": "Unavailable",
18+
"summary": "We're sorry, we couldn't automatically recover your virtual machine",
19+
"reasonType": "Unplanned",
20+
"context": "Platform Initiated",
21+
"category": "Unplanned",
22+
"reasonChronicity": "Persistent",
23+
"detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine",
24+
"occuredTime": "2016-03-29T09:12:00Z",
25+
"reportedTime": "2016-05-04T14:11:29.7598931Z",
26+
"rootCauseAttributionTime": "2016-03-29T09:13:00Z",
27+
"resolutionETA": "2016-03-29T09:37:00Z",
28+
"serviceImpactingEvents": [
29+
{
30+
"eventStartTime": "2016-05-02T19:23:13.7115125Z",
31+
"eventStatusLastModifiedTime": "2016-05-02T19:27:04.9543491Z",
32+
"correlationId": "b56d0180-2d6c-4f7b-b750-c1eca681874c",
33+
"status": {
34+
"value": "Resolved"
35+
},
36+
"incidentProperties": {
37+
"title": "Virtual Machines - West Europe [West Europe]",
38+
"service": "Virtual Machines",
39+
"region": "East US",
40+
"incidentType": "outage"
41+
}
42+
}
43+
]
44+
}
45+
},
46+
{
47+
"id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/2016-03-28+16%3a23%3a00Z",
48+
"name": "2016-03-28+16%3a23%3a00Z",
49+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
50+
"location": "eastus",
51+
"properties": {
52+
"availabilityState": "Available",
53+
"summary": "This virtual machine is running normally",
54+
"reasonChronicity": "Persistent",
55+
"detailedStatus": "There aren’t any known Azure platform problems affecting this virtual machine",
56+
"occuredTime": "2016-03-28T16:23:00Z"
57+
}
58+
}
59+
]
60+
}
61+
}
62+
}
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subscriptionId",
4+
"resourceGroupName": "resourceGroupName",
5+
"api-version": "2022-10-01-preview",
6+
"$expand": "recommendedactions"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current",
14+
"name": "current",
15+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
16+
"location": "eastus",
17+
"properties": {
18+
"availabilityState": "Available",
19+
"title": "Available",
20+
"summary": "Vm is available",
21+
"reasonType": "Unplanned",
22+
"context": "Platform Initiated",
23+
"category": "Unplanned",
24+
"reasonChronicity": "Persistent",
25+
"detailedStatus": "We have not seen any issues with your virtual machine",
26+
"occuredTime": "2016-03-29T09:12:00Z",
27+
"reportedTime": "2016-05-04T14:11:29.7598931Z",
28+
"recentlyResolved": {
29+
"unavailableOccuredTime": "2017-02-28T00:48:00Z",
30+
"resolvedTime": "2017-02-28T00:49:00Z",
31+
"unavailableSummary": "We are sorry your SQL database is unavailable"
32+
},
33+
"recommendedActions": [
34+
{
35+
"action": "To start this virtualmachine, open the resource blade and click Start",
36+
"actionUrl": "<#ResourceBlade>",
37+
"actionUrlText": "resourceblade"
38+
}
39+
]
40+
}
41+
},
42+
{
43+
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current",
44+
"name": "current",
45+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
46+
"location": "eastus",
47+
"properties": {
48+
"availabilityState": "Unavailable",
49+
"title": "Unavailable",
50+
"summary": "We are sorry, we couldn't automatically recovery our virtualmachine",
51+
"reasonType": "Unplanned",
52+
"reasonChronicity": "Persistent",
53+
"detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine",
54+
"occuredTime": "2016-03-29T09:12:00Z",
55+
"reportedTime": "2016-05-04T14:11:29.7598931Z",
56+
"rootCauseAttributionTime": "2016-03-29T09:13:00Z",
57+
"resolutionETA": "2016-03-29T09:37:00Z",
58+
"recommendedActions": [
59+
{
60+
"action": "To start this virtualmachine, open the resource blade",
61+
"actionUrl": "<#ResourceBlade>",
62+
"actionUrlText": "resourceblade"
63+
},
64+
{
65+
"action": "If you are experiencing problems you believe are caused by Azure, contact support",
66+
"actionUrl": "<#SupportCase>",
67+
"actionUrlText": "contactsupport"
68+
}
69+
]
70+
}
71+
}
72+
],
73+
"nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}"
74+
}
75+
}
76+
}
77+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subscriptionId",
4+
"api-version": "2022-10-01-preview",
5+
"$expand": "recommendedactions"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current",
13+
"name": "current",
14+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
15+
"location": "eastus",
16+
"properties": {
17+
"availabilityState": "Available",
18+
"title": "Available",
19+
"summary": "Vm is available",
20+
"reasonType": "Unplanned",
21+
"reasonChronicity": "Persistent",
22+
"context": "Platform Initiated",
23+
"category": "Unplanned",
24+
"detailedStatus": "We have not seen any issues with your virtual machine",
25+
"occuredTime": "2016-03-29T09:12:00Z",
26+
"reportedTime": "2016-05-04T14:11:29.7598931Z",
27+
"recentlyResolved": {
28+
"unavailableOccuredTime": "2017-02-28T00:48:00Z",
29+
"resolvedTime": "2017-02-28T00:49:00Z",
30+
"unavailableSummary": "We are sorry your SQL database is unavailable"
31+
},
32+
"recommendedActions": [
33+
{
34+
"action": "To start this virtualmachine, open the resource blade and click Start",
35+
"actionUrl": "<#ResourceBlade>",
36+
"actionUrlText": "resourceblade"
37+
}
38+
]
39+
}
40+
},
41+
{
42+
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current",
43+
"name": "current",
44+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
45+
"location": "eastus",
46+
"properties": {
47+
"availabilityState": "Unavailable",
48+
"title": "Unavailable",
49+
"summary": "We are sorry, we couldn't automatically recovery our virtualmachine",
50+
"reasonType": "Unplanned",
51+
"reasonChronicity": "Persistent",
52+
"detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine",
53+
"occuredTime": "2016-03-29T09:12:00Z",
54+
"reportedTime": "2016-05-04T14:11:29.7598931Z",
55+
"rootCauseAttributionTime": "2016-03-29T09:13:00Z",
56+
"resolutionETA": "2016-03-29T09:37:00Z",
57+
"recommendedActions": [
58+
{
59+
"action": "To start this virtualmachine, open the resource blade",
60+
"actionUrl": "<#ResourceBlade>",
61+
"actionUrlText": "resourceblade"
62+
},
63+
{
64+
"action": "If you are experiencing problems you believe are caused by Azure, contact support",
65+
"actionUrl": "<#SupportCase>",
66+
"actionUrlText": "contactsupport"
67+
}
68+
]
69+
}
70+
}
71+
],
72+
"nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}"
73+
}
74+
}
75+
}
76+
}
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)