Skip to content

Commit ab1f7f1

Browse files
authored
ResourceHealth - Swagger - AVAILABILITYSTATUSES API - 2020-05-01 Stable & Preview API versions (#15502)
* Add files via upload Stable - 2020-05-01 API version AvailabilityStatusesAPI * Add files via upload Preview - 2020-05-01 API version AvailabilityStatusesAPI * Update readme.md fixing the readme file * Update readme.md adding stable 202-05-01 API version * Update ResourceHealth.json fixed the PR checks for ResourceHealth.json Stable 2020-05-01 API version * Delete ResourceHealth.json.bak deleting .bak file * Update ResourceHealth.json fixed preview resourcehealth.json * Update ResourceHealth.json fixing the typo occurredTime * Update ResourceHealth.json fixing typo occurredTime * Update ResourceHealth.json fix PR errors * Update ResourceHealth.json fix PR checks * Update ResourceHealth.json fixing semantic validation * Update ResourceHealth.json fixing semantic validation for stable 2020-05-01 API * Update custom-words.txt fixing Swagger SpellCheck failure * Update ResourceHealth.json fixed Swagger PrettierCheck changes * Update ResourceHealth.json fixed Swagger PrettierCheck failure * Update ResourceHealth.json fixed Swagger LintDiff * Update ResourceHealth.json fixing Swagger LintDiff * Update ResourceHealth.json fix Swagger LintDiff failures * Update readme.md fixing swagger checks * Update ResourceHealth.json fixed eventid issue * Update ResourceHealth.json fixed eventId param * Update ResourceHealth.json fixing the Swagger PrettierCheck * Update ResourceHealth.json correcting the REsourceHealth.json file * Add files via upload uplaoding local files * Add files via upload fix swagger prettier * Add files via upload fix swagger pretttier issue - preview examples * Add files via upload fix prettier changes * Add files via upload fix swagger prettier changes * Update readme.md fixing Swagger Avocado failures * Update ResourceHealth.json fixing the ErrorResponse obj * Update ResourceHealth.json fix ErrorResponse * Update ResourceHealth.json adding operations API * Update ResourceHealth.json adding operations API * Update ResourceHealth.json removing EventIdParameter * Update readme.md fix .md file issue * Update ResourceHealth.json added operationsList * Update ResourceHealth.json added operationsList * Add files via upload fixing swagger prettier checks * Add files via upload fixing swagger prettier checks * Update ResourceHealth.json fixing semantic validation * Update ResourceHealth.json fixing semantic validation * Create ResourceHealth.json fixing the preview folder name * Delete specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview directory delete temp * Rename specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01/ResourceHealth.json to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json renaming the folder name * Rename specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01/examples/AvailabilityStatus_GetByResource.json to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatus_GetByResource.json rename * Rename specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01/examples/AvailabilityStatuses_List.json to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_List.json rename * Rename specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json rename * Rename specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json rename * Update readme.md fixing 2020-05-01-preivew paths * Update custom-words.txt reverting back occured typo * Update AvailabilityStatus_GetByResource.json fix typo * Update AvailabilityStatuses_List.json fix typo * Update AvailabilityStatuses_ListByResourceGroup.json fix typo * Update AvailabilityStatuses_ListBySubscriptionId.json fix typo * Update AvailabilityStatus_GetByResource.json fix typo * Update AvailabilityStatus_GetByResource.json fix typo * Update AvailabilityStatuses_List.json fix typo * Update AvailabilityStatuses_ListByResourceGroup.json fix typo * Update AvailabilityStatuses_ListBySubscriptionId.json fix typo * Update ResourceHealth.json fix typo * Update ResourceHealth.json fix typo * Update AvailabilityStatuses_ListByResourceGroup.json fix typo * Update AvailabilityStatuses_List.json fix typo * Update AvailabilityStatuses_ListBySubscriptionId.json fix typo * Update AvailabilityStatuses_List.json fixed typo * Update AvailabilityStatuses_ListByResourceGroup.json fix typo * Update AvailabilityStatuses_ListBySubscriptionId.json fixed typo
1 parent 2cd7c6e commit ab1f7f1

File tree

11 files changed

+2089
-0
lines changed

11 files changed

+2089
-0
lines changed

specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json

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

0 commit comments

Comments
 (0)