forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.ResourceHealth to add ve…
…rsion stable/2022-10-01 (Azure#22721) * Adds base for updating Microsoft.ResourceHealth from version preview/2022-10-01-preview to version 2022-10-01 * Updates readme * Updates API version in new specs and examples * added missing api * Revert "added missing api" This reverts commit 111d6ca. * added missing api * added error message suppression to readme * prettier fix * added missing fields for s360 items * updated description * spelling fix * added missing properties to all stable api versions * Revert "added missing properties to all stable api versions" This reverts commit 220764b. * fixes from pr for resourcehealth.json file * updated child avialbility example uri * added suppression for _ActionUrl * added suppression for _ActionUrl * added suppression for _ActionUrl * added suppression for _ActionUrl * added suppression for _ActionUrl * added suppression for _ActionUrl * linter wrnings * update readme for .net sdk * update readme for .net sdk * update readme for sdks * trying suppression for actionurl.comment * added suppression for _ActionUrl
- Loading branch information
1 parent
1002eff
commit f3621ef
Showing
27 changed files
with
6,227 additions
and
6 deletions.
There are no files selected for viewing
2,314 changes: 2,314 additions & 0 deletions
2,314
...rcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json
Large diffs are not rendered by default.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
...Microsoft.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatus_GetByResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parameters": { | ||
"resourceUri": "resourceUri", | ||
"api-version": "2022-10-01", | ||
"$expand": "recommendedactions" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines /rhctestenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Unavailable", | ||
"title": "Unavailable", | ||
"summary": "We're sorry, we couldn't automatically recover your virtual machine", | ||
"reasonType": "Unplanned", | ||
"context": "Platform Initiated", | ||
"category": "Unplanned", | ||
"reasonChronicity": "Persistent", | ||
"detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine", | ||
"occuredTime": "2016-03-29T09:12:00Z", | ||
"reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
"rootCauseAttributionTime": "2016-03-29T09:13:00Z", | ||
"resolutionETA": "2016-03-29T09:37:00Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtual machine, open the resource blade and click Start", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resource blade" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...anager/Microsoft.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatuses_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"parameters": { | ||
"resourceUri": "resourceUri", | ||
"api-version": "2022-10-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Unavailable", | ||
"title": "Unavailable", | ||
"summary": "We're sorry, we couldn't automatically recover your virtual machine", | ||
"reasonType": "Unplanned", | ||
"context": "Platform Initiated", | ||
"category": "Unplanned", | ||
"reasonChronicity": "Persistent", | ||
"detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine", | ||
"occuredTime": "2016-03-29T09:12:00Z", | ||
"reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
"rootCauseAttributionTime": "2016-03-29T09:13:00Z", | ||
"resolutionETA": "2016-03-29T09:37:00Z", | ||
"serviceImpactingEvents": [ | ||
{ | ||
"eventStartTime": "2016-05-02T19:23:13.7115125Z", | ||
"eventStatusLastModifiedTime": "2016-05-02T19:27:04.9543491Z", | ||
"correlationId": "b56d0180-2d6c-4f7b-b750-c1eca681874c", | ||
"status": { | ||
"value": "Resolved" | ||
}, | ||
"incidentProperties": { | ||
"title": "Virtual Machines - West Europe [West Europe]", | ||
"service": "Virtual Machines", | ||
"region": "East US", | ||
"incidentType": "outage" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/2016-03-28+16%3a23%3a00Z", | ||
"name": "2016-03-28+16%3a23%3a00Z", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"summary": "This virtual machine is running normally", | ||
"reasonChronicity": "Persistent", | ||
"detailedStatus": "There aren’t any known Azure platform problems affecting this virtual machine", | ||
"occuredTime": "2016-03-28T16:23:00Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
...t.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatuses_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroupName", | ||
"api-version": "2022-10-01", | ||
"$expand": "recommendedactions" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"title": "Available", | ||
"summary": "Vm is available", | ||
"reasonType": "Unplanned", | ||
"context": "Platform Initiated", | ||
"category": "Unplanned", | ||
"reasonChronicity": "Persistent", | ||
"detailedStatus": "We have not seen any issues with your virtual machine", | ||
"occuredTime": "2016-03-29T09:12:00Z", | ||
"reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
"recentlyResolved": { | ||
"unavailableOccuredTime": "2017-02-28T00:48:00Z", | ||
"resolvedTime": "2017-02-28T00:49:00Z", | ||
"unavailableSummary": "We are sorry your SQL database is unavailable" | ||
}, | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtualmachine, open the resource blade and click Start", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resourceblade" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Unavailable", | ||
"title": "Unavailable", | ||
"summary": "We are sorry, we couldn't automatically recovery our virtualmachine", | ||
"reasonType": "Unplanned", | ||
"reasonChronicity": "Persistent", | ||
"detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", | ||
"occuredTime": "2016-03-29T09:12:00Z", | ||
"reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
"rootCauseAttributionTime": "2016-03-29T09:13:00Z", | ||
"resolutionETA": "2016-03-29T09:37:00Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtualmachine, open the resource blade", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resourceblade" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contactsupport" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
....ResourceHealth/stable/2022-10-01/examples/AvailabilityStatuses_ListBySubscriptionId.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"api-version": "2022-10-01", | ||
"$expand": "recommendedactions" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"title": "Available", | ||
"summary": "Vm is available", | ||
"reasonType": "Unplanned", | ||
"reasonChronicity": "Persistent", | ||
"context": "Platform Initiated", | ||
"category": "Unplanned", | ||
"detailedStatus": "We have not seen any issues with your virtual machine", | ||
"occuredTime": "2016-03-29T09:12:00Z", | ||
"reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
"recentlyResolved": { | ||
"unavailableOccuredTime": "2017-02-28T00:48:00Z", | ||
"resolvedTime": "2017-02-28T00:49:00Z", | ||
"unavailableSummary": "We are sorry your SQL database is unavailable" | ||
}, | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtualmachine, open the resource blade and click Start", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resourceblade" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "eastus", | ||
"properties": { | ||
"availabilityState": "Unavailable", | ||
"title": "Unavailable", | ||
"summary": "We are sorry, we couldn't automatically recovery our virtualmachine", | ||
"reasonType": "Unplanned", | ||
"reasonChronicity": "Persistent", | ||
"detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", | ||
"occuredTime": "2016-03-29T09:12:00Z", | ||
"reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
"rootCauseAttributionTime": "2016-03-29T09:13:00Z", | ||
"resolutionETA": "2016-03-29T09:37:00Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtualmachine, open the resource blade", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resourceblade" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contactsupport" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...soft.ResourceHealth/stable/2022-10-01/examples/ChildAvailabilityStatus_GetByResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"resourceUri": "subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4", | ||
"api-version": "2022-10-01", | ||
"$expand": "recommendedactions" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/child/availabilityStatuses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"summary": "There aren't any known Azure platform problems affecting this virtual machine", | ||
"detailedStatus": "", | ||
"reasonType": "", | ||
"occuredTime": "2018-11-30T23:37:44Z", | ||
"reasonChronicity": "Persistent", | ||
"reportedTime": "2018-12-04T01:19:11.955255Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtual machine, open the resource blade and click Start", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resource blade" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.