Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.ResourceHealth to add ve…
Browse files Browse the repository at this point in the history
…rsion stable/2022-05-01 (#22916)

* make fixes for s360 items

* spelling fix

* added missing properties to all stable api versions

* fix model validation errors
  • Loading branch information
abhayohri authored Mar 30, 2023
1 parent e1c1afe commit f0e86b9
Show file tree
Hide file tree
Showing 22 changed files with 622 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{
"parameters": {
"api-version": "2015-01-01"
},
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,11 @@
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"GetOperationsList": {
"$ref": "./examples/Operations_List.json"
}
}
}
}
Expand Down Expand Up @@ -466,6 +471,18 @@
"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."
},
"articleId": {
"type": "string",
"description": "The Article Id"
},
"rootCauseAttributionTime": {
"type": "string",
"description": "When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received.",
Expand Down Expand Up @@ -551,6 +568,10 @@
"type": "string",
"description": "Link to the action"
},
"_ActionUrl.Comment": {
"type": "string",
"description": "the comment for the Action"
},
"actionUrlText": {
"type": "string",
"description": "Substring of action, it describes which text should host the action url."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceUri": "resourceUri",
"api-version": "2015-01-01",
"api-version": "2017-07-01",
"$expand": "recommendedactions"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceUri": "resourceUri",
"api-version": "2015-01-01"
"api-version": "2017-07-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroupName",
"api-version": "2015-01-01",
"api-version": "2017-07-01",
"$expand": "recommendedactions"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"api-version": "2015-01-01",
"api-version": "2017-07-01",
"$expand": "recommendedactions"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceUri": "resourceUri",
"api-version": "2015-01-01",
"api-version": "2017-07-01",
"$expand": "recommendedactions"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceUri": "resourceUri",
"api-version": "2015-01-01"
"api-version": "2017-07-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceUri": "resourceUri",
"api-version": "2015-01-01"
"api-version": "2017-07-01"
},
"responses": {
"200": {
Expand Down
Loading

0 comments on commit f0e86b9

Please sign in to comment.