Skip to content

Commit 74c9c87

Browse files
mkatkamjnlycklama
authored andcommitted
[Hub Generated] Review request for Microsoft.ResourceHealth to add version preview/2023-07-01-preview (#25447)
* Adds base for updating Microsoft.ResourceHealth from version stable/2022-10-01 to version 2023-07-01-preview * Updates readme * Updates API version in new specs and examples * Adding 2023-07-01-preview a) Adding maintenance related fields for events b) Adding maintenance related fields for impacted resources c) Adding subeventType for events * Added values to maintenance related fields for impacted resource examples, and added more info to the description of maintenance related fields for impacted resources * Corrected the values of resourceName and resourceGroup of impacted resources in the examples * Changing maintenanceStatus field to just status * Used prettier
1 parent 79e9586 commit 74c9c87

27 files changed

+6291
-4
lines changed

specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/ResourceHealth.json

Lines changed: 2362 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": "2023-07-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": "2023-07-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": "2023-07-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": "2023-07-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,38 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4",
4+
"api-version": "2023-07-01-preview",
5+
"$expand": "recommendedactions"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/child/availabilityStatuses/current",
11+
"name": "current",
12+
"type": "Microsoft.ResourceHealth/AvailabilityStatuses",
13+
"location": "southcentralus",
14+
"properties": {
15+
"availabilityState": "Available",
16+
"summary": "There aren't any known Azure platform problems affecting this virtual machine",
17+
"detailedStatus": "",
18+
"reasonType": "",
19+
"occuredTime": "2018-11-30T23:37:44Z",
20+
"reasonChronicity": "Persistent",
21+
"reportedTime": "2018-12-04T01:19:11.955255Z",
22+
"recommendedActions": [
23+
{
24+
"action": "To start this virtual machine, open the resource blade and click Start",
25+
"actionUrl": "<#ResourceBlade>",
26+
"actionUrlText": "resource blade"
27+
},
28+
{
29+
"action": "If you are experiencing problems you believe are caused by Azure, contact support",
30+
"actionUrl": "<#SupportCase>",
31+
"actionUrlText": "contact support"
32+
}
33+
]
34+
}
35+
}
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)