-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Adding the specs for GA version of Events API #7134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
83f4f73
Adding the specs for GA version of events api
srinathgrs be2f1ba
Updating readme with 2018-07-01
srinathgrs 4784d7a
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs b040d18
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 69d9c71
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 3ea3e3c
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 4c8558e
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 62e3af4
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs e71d592
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 7b87ebe
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 6ce42dc
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs ade9b4b
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs 230d8cd
Update specification/resourcehealth/resource-manager/Microsoft.Resour…
srinathgrs ba44496
Removing impacted resources
srinathgrs 9f3d058
Correcting the version
srinathgrs 10ffd47
Removing unused example files
srinathgrs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,239 changes: 1,239 additions & 0 deletions
1,239
...rcehealth/resource-manager/Microsoft.ResourceHealth/stable/2018-07-01/ResourceHealth.json
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
...Microsoft.ResourceHealth/stable/2018-07-01/examples/AvailabilityStatus_GetByResource.json
This file contains hidden or 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,40 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceUri": "resourceUri", | ||
| "api-version": "2015-01-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", | ||
| "summary": "We're sorry, we couldn't automatically recover your virtual machine", | ||
| "reasonType": "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" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
60 changes: 60 additions & 0 deletions
60
...anager/Microsoft.ResourceHealth/stable/2018-07-01/examples/AvailabilityStatuses_List.json
This file contains hidden or 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,60 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceUri": "resourceUri", | ||
| "api-version": "2015-01-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", | ||
| "summary": "We're sorry, we couldn't automatically recover your virtual machine", | ||
| "reasonType": "Unplanned", | ||
| "reasonChronicity": "Persistent", | ||
| "detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine", | ||
| "occuredTime": "2016-03-29T09:12:00Z", | ||
|
srinathgrs marked this conversation as resolved.
Outdated
|
||
| "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" | ||
|
srinathgrs marked this conversation as resolved.
Outdated
|
||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
73 changes: 73 additions & 0 deletions
73
...t.ResourceHealth/stable/2018-07-01/examples/AvailabilityStatuses_ListByResourceGroup.json
This file contains hidden or 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,73 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscriptionId", | ||
| "resourceGroupName": "resourceGroupName", | ||
| "api-version": "2015-01-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", | ||
| "summary": "Vm is available", | ||
| "reasonType": "Unplanned", | ||
| "reasonChronicity": "Persistent", | ||
| "detailedStatus": "We have not seen any issues with your virtual machine", | ||
| "occuredTime": "2016-03-29T09:12:00Z", | ||
|
srinathgrs marked this conversation as resolved.
Outdated
|
||
| "reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
| "recentlyResolved": { | ||
| "unavailableOccurredTime": "2017-02-28T00:48:00Z", | ||
| "resolvedTime": "2017-02-28T00:49:00Z", | ||
| "unavailabilitySummary": "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", | ||
| "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", | ||
| "reasonType": "Unplanned", | ||
| "reasonChronicity": "Persistent", | ||
| "detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", | ||
| "occuredTime": "2016-03-29T09:12:00Z", | ||
|
srinathgrs marked this conversation as resolved.
Outdated
|
||
| "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}" | ||
| } | ||
| } | ||
| } | ||
| } | ||
72 changes: 72 additions & 0 deletions
72
....ResourceHealth/stable/2018-07-01/examples/AvailabilityStatuses_ListBySubscriptionId.json
This file contains hidden or 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,72 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subscriptionId", | ||
| "api-version": "2015-01-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", | ||
| "summary": "Vm is available", | ||
| "reasonType": "Unplanned", | ||
| "reasonChronicity": "Persistent", | ||
| "detailedStatus": "We have not seen any issues with your virtual machine", | ||
| "occuredTime": "2016-03-29T09:12:00Z", | ||
|
srinathgrs marked this conversation as resolved.
Outdated
|
||
| "reportedTime": "2016-05-04T14:11:29.7598931Z", | ||
| "recentlyResolved": { | ||
| "unavailableOccurredTime": "2017-02-28T00:48:00Z", | ||
| "resolvedTime": "2017-02-28T00:49:00Z", | ||
| "unavailabilitySummary": "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", | ||
| "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", | ||
| "reasonType": "Unplanned", | ||
| "reasonChronicity": "Persistent", | ||
| "detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", | ||
| "occuredTime": "2016-03-29T09:12:00Z", | ||
|
srinathgrs marked this conversation as resolved.
Outdated
|
||
| "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}" | ||
| } | ||
| } | ||
| } | ||
| } | ||
104 changes: 104 additions & 0 deletions
104
...ager/Microsoft.ResourceHealth/stable/2018-07-01/examples/Events_ListBySingleResource.json
This file contains hidden or 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,104 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceUri": "subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.Compute/virtualMachines/rhctestenvV1PI", | ||
| "api-version": "2018-07-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ", | ||
| "name": "BC_1-FXZ", | ||
| "type": "/providers/Microsoft.ResourceHealth/events", | ||
| "properties": { | ||
| "eventType": "ServiceIssue", | ||
| "eventSource": "ResourceHealth", | ||
| "status": "Active", | ||
| "title": "ACTIVE: Virtual machines in West US", | ||
| "summary": "An outage alert is being investigated. More information will be provided as it is known.", | ||
| "header": "Your service might have been impacted by an Azure service issue", | ||
| "article": { | ||
| "articleContent": "<html>An outage alert is being investigated. More information will be provided as it is known</html>" | ||
| }, | ||
| "links": [ | ||
| { | ||
| "type": "Hyperlink", | ||
| "displayText": { | ||
| "value": "Request RCA", | ||
| "localizedValue": "Request RCA" | ||
| }, | ||
| "extensionName": "Microsoft_Azure_Health", | ||
| "bladeName": "RequestRCABlade", | ||
| "parameters": { | ||
| "trackingId": "BC_1-FXZ", | ||
| "rcaRequested": "False" | ||
| } | ||
| }, | ||
| { | ||
| "type": "Button", | ||
| "displayText": { | ||
| "value": "Sign up for updates", | ||
| "localizedValue": "Sign up for updates" | ||
| }, | ||
| "extensionName": "Microsoft_Azure_Health", | ||
| "bladeName": "AzureHealthBrowseBlade", | ||
| "parameters": { | ||
| "trackingId": "BC_1-FXZ" | ||
| } | ||
| } | ||
| ], | ||
| "level": "Warning", | ||
| "eventLevel": "Informational", | ||
| "impactStartTime": "2018-11-07T00:00:00Z", | ||
| "impactMitigationTime": "2018-11-08T00:00:00Z", | ||
| "impact": [ | ||
| { | ||
| "impactedService": "Virtual Machines", | ||
| "impactedRegions": [ | ||
| { | ||
| "impactedRegion": "West US", | ||
| "status": "Active", | ||
| "impactedSubscriptions": [ | ||
| "{subscriptionId}" | ||
| ], | ||
| "lastUpdateTime": "2017-12-05T21:05:00Z" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "recommendedActions": { | ||
| "message": "Recommended actions title", | ||
| "actions": [ | ||
| { | ||
| "groupId": 23243, | ||
| "actionText": "action 1" | ||
| }, | ||
| { | ||
| "groupId": 23432, | ||
| "actionText": "action 2" | ||
| } | ||
| ], | ||
| "localeCode": "en" | ||
| }, | ||
| "faqs": [ | ||
| { | ||
| "question": "This is a question", | ||
| "answer": "This is an answer", | ||
| "localeCode": "en" | ||
| } | ||
| ], | ||
| "isHIR": false, | ||
| "enableMicrosoftSupport": true, | ||
| "enableChatWithUs": false, | ||
| "priority": 2, | ||
| "lastUpdateTime": "2018-11-08T00:00:00Z", | ||
| "hirStage": "active" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.