diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json index 804c01c8a889..6f0323509895 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json @@ -462,7 +462,7 @@ }, "level": { "type": "string", - "description": "Level of event.", + "description": "Level of insight.", "enum": [ "Critical", "Warning" @@ -472,6 +472,19 @@ "modelAsString": true } }, + "eventLevel": { + "type": "string", + "description": "Level of event.", + "enum": [ + "Critical", + "Warning", + "Informational" + ], + "x-ms-enum": { + "name": "EventLevelValues", + "modelAsString": true + } + }, "article": { "type": "object", "description": "Article of event.", @@ -538,6 +551,27 @@ "items": { "$ref": "#/definitions/faq" } + }, + "isHIR": { + "type": "boolean", + "description": "It provides information if the event is High incident rate event or not." + }, + "enableMicrosoftSupport": { + "type": "boolean", + "description": "Tells if we want to enable or disable Microsoft Support for this event." + }, + "enableChatWithUs": { + "type": "boolean", + "description": "Tells if we want to enable or disable Microsoft Support for this event." + }, + "priority": { + "type": "integer", + "description": "Priority level of the event." + }, + "lastUpdateTime": { + "type": "string", + "description": "It provides the Timestamp for when the health impacting event was last updated.", + "format": "date-time" } } } @@ -1094,4 +1128,4 @@ "description": "EventId for the Service health event" } } -} \ No newline at end of file +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySingleResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySingleResource.json index 39b04f525301..0033f6a6c542 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySingleResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySingleResource.json @@ -1,92 +1,98 @@ -{ - "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": "An outage alert is being investigated. More information will be provided as it is known" - }, - "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", - "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": { - "groupId": 2343, - "title": "Recommended actions title", - "actions": [ - "action 1", - "action 2" - ], - "localeCode": "en" - }, - "faqs": [ - { - "question": "This is a question", - "answer": "This is an answer", - "localeCode": "en" - } - ] - } - } - ], - "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" - } - } - } -} \ No newline at end of file +{ + "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": "An outage alert is being investigated. More information will be provided as it is known" + }, + "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": { + "groupId": 2343, + "title": "Recommended actions title", + "actions": [ + "action 1", + "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" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySubscriptionId.json index 1576d5ba2b77..f320566aad72 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/examples/Events_ListBySubscriptionId.json @@ -1,93 +1,99 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "api-version": "2018-07-01-preview", - "$filter": "service eq 'Virtual Machines' or region eq 'West US'" - }, - "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": "An outage alert is being investigated. More information will be provided as it is known" - }, - "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", - "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": { - "groupId": 2343, - "title": "Recommended actions title", - "actions": [ - "action 1", - "action 2" - ], - "localeCode": "en" - }, - "faqs": [ - { - "question": "This is a question", - "answer": "This is an answer", - "localeCode": "en" - } - ] - } - } - ], - "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" - } - } - } -} \ No newline at end of file +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2018-07-01-preview", + "$filter": "service eq 'Virtual Machines' or region eq 'West US'" + }, + "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": "An outage alert is being investigated. More information will be provided as it is known" + }, + "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": { + "groupId": 2343, + "title": "Recommended actions title", + "actions": [ + "action 1", + "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" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +}