From a17cc7025800600f1be26aedee139e354c10d4d1 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:02:37 -0800 Subject: [PATCH 01/26] Update ResourceHealth.json fixed s360 --- .../stable/2020-05-01/ResourceHealth.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json index c5756b42382e..7d442409fea9 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json @@ -367,6 +367,10 @@ "modelAsString": true } }, + "title": { + "type": "string", + "description": "Title description of the availability status." + }, "summary": { "type": "string", "description": "Summary description of the availability status." From 9da267bd82beaea2aa6493b38505272d206ea63a Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:04:37 -0800 Subject: [PATCH 02/26] Update AvailabilityStatus_GetByResource.json s360 --- .../2020-05-01/examples/AvailabilityStatus_GetByResource.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatus_GetByResource.json index ac6229e8e72d..7003a5e09f9d 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatus_GetByResource.json @@ -13,6 +13,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We're sorry, we couldn't automatically recover your virtual machine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From ef723354f2951f602f18c38f349bdd67a4b29798 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:05:00 -0800 Subject: [PATCH 03/26] Update AvailabilityStatuses_List.json s360 --- .../stable/2020-05-01/examples/AvailabilityStatuses_List.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_List.json index 14310d6c7d14..71ef82cc2614 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_List.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_List.json @@ -14,6 +14,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We're sorry, we couldn't automatically recover your virtual machine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From 8d6fad723fde40f063a00011b6dadc5fce6e9fb4 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:05:21 -0800 Subject: [PATCH 04/26] Update AvailabilityStatuses_ListByResourceGroup.json s360 --- .../examples/AvailabilityStatuses_ListByResourceGroup.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json index 69804124f6aa..2ae35b1a7531 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -16,6 +16,7 @@ "location": "eastus", "properties": { "availabilityState": "Available", + "title": "Available", "summary": "Vm is available", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From aa444cd9b9aae165a1203089ec46d28e6c029f67 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:05:55 -0800 Subject: [PATCH 05/26] Update AvailabilityStatuses_ListByResourceGroup.json s360 --- .../examples/AvailabilityStatuses_ListByResourceGroup.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json index 2ae35b1a7531..eb14caddf429 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -44,6 +44,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From 8cfdb313debde00ee2ef7df3962becef4fe39ba2 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:06:36 -0800 Subject: [PATCH 06/26] Update AvailabilityStatuses_ListBySubscriptionId.json s360 --- .../examples/AvailabilityStatuses_ListBySubscriptionId.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json index c5211db0a7b5..e3f943e7965c 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -15,6 +15,7 @@ "location": "eastus", "properties": { "availabilityState": "Available", + "title": "Available", "summary": "Vm is available", "reasonType": "Unplanned", "reasonChronicity": "Persistent", @@ -42,7 +43,8 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", - "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", + "title": "Unavailable", + "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", "detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", From 150f347507f47acf038be92e040094ac604010b9 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:07:20 -0800 Subject: [PATCH 07/26] Update AvailabilityStatus_GetByResource.json s360 --- .../examples/AvailabilityStatus_GetByResource.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatus_GetByResource.json index e2bc23a21f8c..09722df6a782 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatus_GetByResource.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatus_GetByResource.json @@ -13,6 +13,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We're sorry, we couldn't automatically recover your virtual machine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From 2842c70c5d6653b02f52e8b37f202e30cafb74aa Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:07:54 -0800 Subject: [PATCH 08/26] Update AvailabilityStatuses_List.json s360 --- .../2020-05-01-preview/examples/AvailabilityStatuses_List.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_List.json index 0799319a7c41..33edae8b768b 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_List.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_List.json @@ -14,6 +14,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We're sorry, we couldn't automatically recover your virtual machine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", @@ -47,6 +48,7 @@ "location": "eastus", "properties": { "availabilityState": "Available", + "title": "Available", "summary": "This virtual machine is running normally", "reasonChronicity": "Persistent", "detailedStatus": "There aren’t any known Azure platform problems affecting this virtual machine", From ac61b872efa1d6fe6866fe770485bf5ce82c3f9a Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:08:26 -0800 Subject: [PATCH 09/26] Update AvailabilityStatuses_ListByResourceGroup.json s360 --- .../examples/AvailabilityStatuses_ListByResourceGroup.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json index 0a19201f146e..91c5e7aee5ea 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -17,6 +17,7 @@ "properties": { "availabilityState": "Available", "summary": "Vm is available", + "title": "Available", "reasonType": "Unplanned", "reasonChronicity": "Persistent", "detailedStatus": "We have not seen any issues with your virtual machine", @@ -43,6 +44,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From c59c2cf0ac70e82cf3c3e7c476ec6c72ff87abff Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:09:40 -0800 Subject: [PATCH 10/26] Update AvailabilityStatuses_ListByResourceGroup.json s360 --- .../examples/AvailabilityStatuses_ListByResourceGroup.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json index 91c5e7aee5ea..15bc725415a2 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -17,7 +17,7 @@ "properties": { "availabilityState": "Available", "summary": "Vm is available", - "title": "Available", + "title": "Available", "reasonType": "Unplanned", "reasonChronicity": "Persistent", "detailedStatus": "We have not seen any issues with your virtual machine", From 0c70566cd4c723bad5d8359cdd9cf45a2726b05b Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:10:16 -0800 Subject: [PATCH 11/26] Update AvailabilityStatuses_ListBySubscriptionId.json s360 --- .../examples/AvailabilityStatuses_ListBySubscriptionId.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json index 146e56a1e80b..2fcbd1bdc4da 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -15,6 +15,7 @@ "location": "eastus", "properties": { "availabilityState": "Available", + "title": "Available", "summary": "Vm is available", "reasonType": "Unplanned", "reasonChronicity": "Persistent", @@ -42,6 +43,7 @@ "location": "eastus", "properties": { "availabilityState": "Unavailable", + "title": "Unavailable", "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", From a0de17117759ed0d378a8dbc6f2df9e2bebabe4c Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:12:29 -0800 Subject: [PATCH 12/26] Update ResourceHealth.json s360 --- .../preview/2020-05-01-preview/ResourceHealth.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index 9e46d1060863..38e9e148b35a 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -569,6 +569,10 @@ "modelAsString": true } }, + "title": { + "type": "string", + "description": "Title description of the availability status." + }, "summary": { "type": "string", "description": "Summary description of the availability status." From 66cc4b9e4d74a881870dd1bed5a19ce19b7c9674 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Sun, 26 Dec 2021 23:08:09 -0800 Subject: [PATCH 13/26] Update ResourceHealth.json removing the "title" change in Line 370 - see if checks will be good --- .../stable/2020-05-01/ResourceHealth.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json index 7d442409fea9..c5756b42382e 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json @@ -367,10 +367,6 @@ "modelAsString": true } }, - "title": { - "type": "string", - "description": "Title description of the availability status." - }, "summary": { "type": "string", "description": "Summary description of the availability status." From e5148eb576c2c004e8b6d0837130117bce23d67b Mon Sep 17 00:00:00 2001 From: Sravan Rudrayagari Date: Tue, 28 Dec 2021 00:44:58 -0800 Subject: [PATCH 14/26] Prettie changes --- .../examples/AvailabilityStatuses_ListBySubscriptionId.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json index e3f943e7965c..1e67b4239c47 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -44,7 +44,7 @@ "properties": { "availabilityState": "Unavailable", "title": "Unavailable", - "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", + "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", "reasonType": "Unplanned", "reasonChronicity": "Persistent", "detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", From 4991f975b585800fc70c50c0c145b59319d26c1b Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 07:25:06 -0800 Subject: [PATCH 15/26] Update ResourceHealth.json fixing PR check Operations_List --- .../2020-05-01-preview/ResourceHealth.json | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index 38e9e148b35a..f193efd4f9c8 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -171,34 +171,6 @@ } } }, - "/providers/Microsoft.ResourceHealth/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists available operations for the resourcehealth resource provider", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The list of available operations for the resourcehealth resource provider", - "schema": { - "$ref": "#/definitions/operationListResult" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses": { "get": { "tags": [ From 061586db54a7dfc366bee8df62178bac79cf504d Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 07:40:40 -0800 Subject: [PATCH 16/26] Update ResourceHealth.json fixing PR checks --- .../2020-05-01-preview/ResourceHealth.json | 46 ------------------- 1 file changed, 46 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index f193efd4f9c8..6069f805c96e 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -267,52 +267,6 @@ } } }, - "operationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/operation" - }, - "description": "List of operations available in the resourcehealth resource provider." - } - }, - "required": [ - "value" - ], - "description": "Lists the operations response." - }, - "operation": { - "description": "Operation available in the resourcehealth resource provider.", - "properties": { - "name": { - "type": "string", - "description": "Name of the operation." - }, - "display": { - "type": "object", - "description": "Properties of the operation.", - "properties": { - "provider": { - "type": "string", - "description": "Provider name." - }, - "resource": { - "type": "string", - "description": "Resource name." - }, - "operation": { - "type": "string", - "description": "Operation name." - }, - "description": { - "type": "string", - "description": "Description of the operation." - } - } - } - } - }, "faq": { "type": "object", "description": "Frequently asked question for the service health event", From b4cc3e2009bab08ae40d261a4d2695aadd777051 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 09:06:40 -0800 Subject: [PATCH 17/26] Update ResourceHealth.json fix PR checks 9:06AM --- .../2020-05-01-preview/ResourceHealth.json | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index 6069f805c96e..e6ede583de83 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -170,6 +170,34 @@ } } } + }, + "/providers/Microsoft.ResourceHealth/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists available operations for the resourcehealth resource provider", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of available operations for the resourcehealth resource provider", + "schema": { + "$ref": "#/definitions/operationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } }, "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses": { "get": { From a655508e5c378d0610cc10c6ee74514d01a14384 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 09:12:51 -0800 Subject: [PATCH 18/26] Update ResourceHealth.json fix PR checks --- .../2020-05-01-preview/ResourceHealth.json | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index e6ede583de83..660b84985827 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -313,23 +313,6 @@ } } }, - "impact": { - "type": "object", - "description": "Azure service impacted by the service health event.", - "properties": { - "impactedService": { - "type": "string", - "description": "Impacted service name." - }, - "impactedRegions": { - "type": "array", - "description": "List regions impacted by the service health event.", - "items": { - "$ref": "#/definitions/impactedServiceRegion" - } - } - } - }, "impactedServiceRegion": { "type": "object", "description": "Azure region impacted by the service health event.", @@ -362,13 +345,6 @@ "type": "string", "description": "It provides the Timestamp for when the last update for the service health event.", "format": "date-time" - }, - "updates": { - "type": "array", - "description": "List of updates for given service health event.", - "items": { - "$ref": "#/definitions/update" - } } } }, From 652ec5b18ac1bc82e9a6aaf66cb9256ed7721bf3 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 09:24:51 -0800 Subject: [PATCH 19/26] Update ResourceHealth.json fixed spaces --- .../preview/2020-05-01-preview/ResourceHealth.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index 660b84985827..e81ded69ad07 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -171,7 +171,7 @@ } } }, - "/providers/Microsoft.ResourceHealth/operations": { + "/providers/Microsoft.ResourceHealth/operations": { "get": { "tags": [ "Operations" From bf739f264c472a7abe35d1c8184bdc61f4eb6574 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 10:01:16 -0800 Subject: [PATCH 20/26] Update ResourceHealth.json fixed ResourceHealth.json --- .../2020-05-01-preview/ResourceHealth.json | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index e81ded69ad07..38e9e148b35a 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -295,6 +295,52 @@ } } }, + "operationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/operation" + }, + "description": "List of operations available in the resourcehealth resource provider." + } + }, + "required": [ + "value" + ], + "description": "Lists the operations response." + }, + "operation": { + "description": "Operation available in the resourcehealth resource provider.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." + }, + "display": { + "type": "object", + "description": "Properties of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Provider name." + }, + "resource": { + "type": "string", + "description": "Resource name." + }, + "operation": { + "type": "string", + "description": "Operation name." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + } + } + }, "faq": { "type": "object", "description": "Frequently asked question for the service health event", @@ -313,6 +359,23 @@ } } }, + "impact": { + "type": "object", + "description": "Azure service impacted by the service health event.", + "properties": { + "impactedService": { + "type": "string", + "description": "Impacted service name." + }, + "impactedRegions": { + "type": "array", + "description": "List regions impacted by the service health event.", + "items": { + "$ref": "#/definitions/impactedServiceRegion" + } + } + } + }, "impactedServiceRegion": { "type": "object", "description": "Azure region impacted by the service health event.", @@ -345,6 +408,13 @@ "type": "string", "description": "It provides the Timestamp for when the last update for the service health event.", "format": "date-time" + }, + "updates": { + "type": "array", + "description": "List of updates for given service health event.", + "items": { + "$ref": "#/definitions/update" + } } } }, From ed210923ed59cf9af1b6b6c99bba60b1b22d3c26 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 10:16:10 -0800 Subject: [PATCH 21/26] Create Operations_List.json fixed PR checks --- .../examples/Operations_List.json | 154 ++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..8e3680f88484 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json @@ -0,0 +1,154 @@ +{ + "value": [ + { + "name": "Microsoft.ResourceHealth/Operations/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Operations", + "description": "Get the operations available for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/Notifications/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Notification", + "operation": "Receive notification", + "description": "Receives ARM notifications" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Statuses", + "description": "Gets the availability statuses for all resources in the specified scope" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Status", + "description": "Gets the availability status for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/events/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Events", + "operation": "Get Service Health Events", + "description": "Get Service Health Events for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/emergingissues/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Emerging Issues", + "operation": "Get Azure Emerging Issues", + "description": "Get Azure services' emerging issues" + } + }, + { + "name": "Microsoft.ResourceHealth/potentialoutages/read", + "display": { + "provider": "Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/impactedResources/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Impacted Resources", + "operation": "Get Impacted Resources", + "description": "Get Impacted Resources for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/register/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Registration", + "operation": "Register with the Provider", + "description": "Registers the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/unregister/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Unregistration", + "operation": "Unregister with the Provider", + "description": "Unregisters the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "HealthEvent Change", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Activated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Activated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Updated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Updated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Resolved/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Resolved", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/InProgress/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event InProgress", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Pending/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Pending", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/metadata/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Metadata", + "operation": "Read Metadata", + "description": "Gets Metadata" + } + } + ] +} From f949722c620830226af3a8321537d64e52175acb Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 10:19:06 -0800 Subject: [PATCH 22/26] Update ResourceHealth.json fixed PR checks --- .../preview/2020-05-01-preview/ResourceHealth.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index 38e9e148b35a..e05a23122f81 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -196,8 +196,14 @@ "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } } } + } }, "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses": { "get": { From 9847ead911834fc126490bcbfeb1d2a61afebbb5 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 10:22:38 -0800 Subject: [PATCH 23/26] Update ResourceHealth.json fixed PR checks --- .../preview/2020-05-01-preview/ResourceHealth.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index e05a23122f81..6eaa80651705 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -197,12 +197,11 @@ } } }, - "x-ms-examples": { + "x-ms-examples": { "Operations_List": { "$ref": "./examples/Operations_List.json" } - } - } + } } }, "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses": { From bf795351a5e6847109a9fc2ea75eb838e4e9b711 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Tue, 28 Dec 2021 10:41:18 -0800 Subject: [PATCH 24/26] Update ResourceHealth.json trying to fix --- .../preview/2020-05-01-preview/ResourceHealth.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index 6eaa80651705..df6aa99b1006 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -198,7 +198,7 @@ } }, "x-ms-examples": { - "Operations_List": { + "GetHealthHistoryByResource": { "$ref": "./examples/Operations_List.json" } } From dceda4a6359aff633c4c8932b264b1668f0695e1 Mon Sep 17 00:00:00 2001 From: Sravan Rudrayagari Date: Tue, 28 Dec 2021 12:20:54 -0800 Subject: [PATCH 25/26] Prettie changes 2 files --- .../2020-05-01-preview/ResourceHealth.json | 2 +- .../examples/Operations_List.json | 304 +++++++++--------- 2 files changed, 153 insertions(+), 153 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json index df6aa99b1006..0ca00f7e91ff 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/ResourceHealth.json @@ -201,7 +201,7 @@ "GetHealthHistoryByResource": { "$ref": "./examples/Operations_List.json" } - } + } } }, "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses": { diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json index 8e3680f88484..b8dc66fc9e3d 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json @@ -1,154 +1,154 @@ { - "value": [ - { - "name": "Microsoft.ResourceHealth/Operations/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "Get Operations", - "description": "Get the operations available for the Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.ResourceHealth/Notifications/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Notification", - "operation": "Receive notification", - "description": "Receives ARM notifications" - } - }, - { - "name": "Microsoft.ResourceHealth/AvailabilityStatuses/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "Get Availability Statuses", - "description": "Gets the availability statuses for all resources in the specified scope" - } - }, - { - "name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "Get Availability Status", - "description": "Gets the availability status for the specified resource" - } - }, - { - "name": "Microsoft.ResourceHealth/events/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Events", - "operation": "Get Service Health Events", - "description": "Get Service Health Events for given subscription" - } - }, - { - "name": "Microsoft.ResourceHealth/emergingissues/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Emerging Issues", - "operation": "Get Azure Emerging Issues", - "description": "Get Azure services' emerging issues" - } - }, - { - "name": "Microsoft.ResourceHealth/potentialoutages/read", - "display": { - "provider": "Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.ResourceHealth/impactedResources/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Impacted Resources", - "operation": "Get Impacted Resources", - "description": "Get Impacted Resources for given subscription" - } - }, - { - "name": "Microsoft.ResourceHealth/register/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Registration", - "operation": "Register with the Provider", - "description": "Registers the subscription for the Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.ResourceHealth/unregister/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Unregistration", - "operation": "Unregister with the Provider", - "description": "Unregisters the subscription for the Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "HealthEvent Change", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Activated/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Activated", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Updated/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Updated", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Resolved/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Resolved", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/InProgress/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event InProgress", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Pending/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Pending", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.ResourceHealth/metadata/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Metadata", - "operation": "Read Metadata", - "description": "Gets Metadata" - } - } - ] + "value": [ + { + "name": "Microsoft.ResourceHealth/Operations/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Operations", + "description": "Get the operations available for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/Notifications/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Notification", + "operation": "Receive notification", + "description": "Receives ARM notifications" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Statuses", + "description": "Gets the availability statuses for all resources in the specified scope" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Status", + "description": "Gets the availability status for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/events/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Events", + "operation": "Get Service Health Events", + "description": "Get Service Health Events for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/emergingissues/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Emerging Issues", + "operation": "Get Azure Emerging Issues", + "description": "Get Azure services' emerging issues" + } + }, + { + "name": "Microsoft.ResourceHealth/potentialoutages/read", + "display": { + "provider": "Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/impactedResources/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Impacted Resources", + "operation": "Get Impacted Resources", + "description": "Get Impacted Resources for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/register/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Registration", + "operation": "Register with the Provider", + "description": "Registers the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/unregister/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Unregistration", + "operation": "Unregister with the Provider", + "description": "Unregisters the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "HealthEvent Change", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Activated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Activated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Updated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Updated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Resolved/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Resolved", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/InProgress/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event InProgress", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Pending/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Pending", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/metadata/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Metadata", + "operation": "Read Metadata", + "description": "Gets Metadata" + } + } + ] } From 5e44d4768d5b195851f1c2ee90daef9242672dd4 Mon Sep 17 00:00:00 2001 From: srrudray <53835817+srrudray@users.noreply.github.com> Date: Wed, 29 Dec 2021 00:24:55 -0800 Subject: [PATCH 26/26] Update Operations_List.json fixed PR comment --- .../examples/Operations_List.json | 309 +++++++++--------- 1 file changed, 159 insertions(+), 150 deletions(-) diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json index b8dc66fc9e3d..759828c58c0a 100644 --- a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json @@ -1,154 +1,163 @@ { - "value": [ - { - "name": "Microsoft.ResourceHealth/Operations/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "Get Operations", - "description": "Get the operations available for the Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.ResourceHealth/Notifications/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Notification", - "operation": "Receive notification", - "description": "Receives ARM notifications" - } - }, - { - "name": "Microsoft.ResourceHealth/AvailabilityStatuses/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "Get Availability Statuses", - "description": "Gets the availability statuses for all resources in the specified scope" - } - }, - { - "name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "Get Availability Status", - "description": "Gets the availability status for the specified resource" - } - }, - { - "name": "Microsoft.ResourceHealth/events/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Events", - "operation": "Get Service Health Events", - "description": "Get Service Health Events for given subscription" - } - }, - { - "name": "Microsoft.ResourceHealth/emergingissues/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Emerging Issues", - "operation": "Get Azure Emerging Issues", - "description": "Get Azure services' emerging issues" - } - }, - { - "name": "Microsoft.ResourceHealth/potentialoutages/read", - "display": { - "provider": "Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.ResourceHealth/impactedResources/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Impacted Resources", - "operation": "Get Impacted Resources", - "description": "Get Impacted Resources for given subscription" - } - }, - { - "name": "Microsoft.ResourceHealth/register/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Registration", - "operation": "Register with the Provider", - "description": "Registers the subscription for the Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.ResourceHealth/unregister/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Unregistration", - "operation": "Unregister with the Provider", - "description": "Unregisters the subscription for the Microsoft ResourceHealth" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Availability Status", - "operation": "HealthEvent Change", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Activated/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Activated", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Updated/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Updated", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Resolved/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Resolved", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/InProgress/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event InProgress", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.Resourcehealth/healthevent/Pending/action", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Health Event", - "operation": "Health Event Pending", - "description": "Denotes the change in health state for the specified resource" - } - }, - { - "name": "Microsoft.ResourceHealth/metadata/read", - "display": { - "provider": "Microsoft ResourceHealth", - "resource": "Metadata", - "operation": "Read Metadata", - "description": "Gets Metadata" + "parameters": { + "api-version": "2020-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ResourceHealth/Operations/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Operations", + "description": "Get the operations available for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/Notifications/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Notification", + "operation": "Receive notification", + "description": "Receives ARM notifications" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Statuses", + "description": "Gets the availability statuses for all resources in the specified scope" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Status", + "description": "Gets the availability status for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/events/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Events", + "operation": "Get Service Health Events", + "description": "Get Service Health Events for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/emergingissues/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Emerging Issues", + "operation": "Get Azure Emerging Issues", + "description": "Get Azure services' emerging issues" + } + }, + { + "name": "Microsoft.ResourceHealth/potentialoutages/read", + "display": { + "provider": "Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/impactedResources/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Impacted Resources", + "operation": "Get Impacted Resources", + "description": "Get Impacted Resources for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/register/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Registration", + "operation": "Register with the Provider", + "description": "Registers the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/unregister/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Unregistration", + "operation": "Unregister with the Provider", + "description": "Unregisters the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "HealthEvent Change", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Activated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Activated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Updated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Updated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Resolved/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Resolved", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/InProgress/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event InProgress", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Pending/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Pending", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/metadata/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Metadata", + "operation": "Read Metadata", + "description": "Gets Metadata" + } + } + ] } } - ] + } }