-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 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]>
- Loading branch information
1 parent
cbd9b7a
commit b64c343
Showing
24 changed files
with
5,739 additions
and
1 deletion.
There are no files selected for viewing
2,155 changes: 2,155 additions & 0 deletions
2,155
.../resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json
Large diffs are not rendered by default.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
....ResourceHealth/preview/2022-10-01-preview/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-preview", | ||
"$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
...crosoft.ResourceHealth/preview/2022-10-01-preview/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-preview" | ||
}, | ||
"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
...eHealth/preview/2022-10-01-preview/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-preview", | ||
"$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
...Health/preview/2022-10-01-preview/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-preview", | ||
"$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}" | ||
} | ||
} | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
...ager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_Get.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,84 @@ | ||
{ | ||
"parameters": { | ||
"issueName": "default", | ||
"api-version": "2022-10-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.ResourceHealth/emergingissues/default", | ||
"type": "/providers/Microsoft.ResourceHealth/emergingissues", | ||
"name": "default", | ||
"properties": { | ||
"refreshTimestamp": "2019-12-17T09:12:00Z", | ||
"statusBanners": [ | ||
{ | ||
"title": "Automatic updates to the dial tone page from ACM - banner", | ||
"message": "Testing backup site", | ||
"cloud": "Public", | ||
"lastModifiedTime": "2019-12-15T08:04:00Z" | ||
}, | ||
{ | ||
"title": "Storage - West Europe", | ||
"message": "<span style=\"color: #323237; font-family: "Segoe UI", SegoeUI, "Segoe WP", 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>", | ||
"cloud": "Public", | ||
"lastModifiedTime": "2019-12-15T10:15:00Z" | ||
} | ||
], | ||
"statusActiveEvents": [ | ||
{ | ||
"title": "Automatic updates to the dial tone page from ACM - SHD event", | ||
"description": "Virtual Machines case", | ||
"trackingId": "KTTK-TZ8", | ||
"startTime": "2019-12-15T08:06:00Z", | ||
"cloud": "Public", | ||
"severity": "Information", | ||
"stage": "Active", | ||
"impacts": [ | ||
{ | ||
"id": "virtual-machines", | ||
"name": "Virtual Machines", | ||
"regions": [ | ||
{ | ||
"id": "us-central", | ||
"name": "Central US" | ||
}, | ||
{ | ||
"id": "us-east", | ||
"name": "East US" | ||
} | ||
] | ||
} | ||
], | ||
"published": true, | ||
"lastModifiedTime": "2019-12-15T08:10:00Z" | ||
}, | ||
{ | ||
"title": "Azure SQL Database - West Europe", | ||
"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.", | ||
"trackingId": "4KHK-LS8", | ||
"startTime": "2019-12-16T05:11:00Z", | ||
"cloud": "Public", | ||
"severity": "Error", | ||
"stage": "Active", | ||
"impacts": [ | ||
{ | ||
"id": "sql-database", | ||
"name": "SQL Database", | ||
"regions": [ | ||
{ | ||
"id": "europe-west", | ||
"name": "West Europe" | ||
} | ||
] | ||
} | ||
], | ||
"published": true, | ||
"lastModifiedTime": "2019-12-16T05:11:00Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.