diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json index 1e742bde18c7..71ad57d632e1 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json @@ -1411,6 +1411,14 @@ "type": "string", "description": "When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc." }, + "context": { + "type": "string", + "description": "When an event is created, it can either be triggered by a customer or the platform of the resource and this field will illustrate that. This field is connected to the category field in this object." + }, + "category": { + "type": "string", + "description": "When a context field is set to Platform, this field will reflect if the event was planned or unplanned. If the context field does not have a value of Platform, then this field will be ignored." + }, "rootCauseAttributionTime": { "type": "string", "description": "When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received.", diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json index 506ef61c38ee..9cfb21ffc9d2 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json @@ -16,6 +16,8 @@ "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", diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json index 09352793084d..4b0cec167de6 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json @@ -17,6 +17,8 @@ "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", diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json index c2552b16e4c2..1a15aac04be9 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -19,6 +19,8 @@ "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", diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json index b8fc4bf7a2a8..2f2cac809139 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -19,6 +19,8 @@ "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",