-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S360 - Swagger Correctness - Microsoft.ResourceHealth (#16920)
* Update ResourceHealth.json fixed s360 * Update AvailabilityStatus_GetByResource.json s360 * Update AvailabilityStatuses_List.json s360 * Update AvailabilityStatuses_ListByResourceGroup.json s360 * Update AvailabilityStatuses_ListByResourceGroup.json s360 * Update AvailabilityStatuses_ListBySubscriptionId.json s360 * Update AvailabilityStatus_GetByResource.json s360 * Update AvailabilityStatuses_List.json s360 * Update AvailabilityStatuses_ListByResourceGroup.json s360 * Update AvailabilityStatuses_ListByResourceGroup.json s360 * Update AvailabilityStatuses_ListBySubscriptionId.json s360 * Update ResourceHealth.json s360 * Update ResourceHealth.json removing the "title" change in Line 370 - see if checks will be good * Prettie changes * Update ResourceHealth.json fixing PR check Operations_List * Update ResourceHealth.json fixing PR checks * Update ResourceHealth.json fix PR checks 9:06AM * Update ResourceHealth.json fix PR checks * Update ResourceHealth.json fixed spaces * Update ResourceHealth.json fixed ResourceHealth.json * Create Operations_List.json fixed PR checks * Update ResourceHealth.json fixed PR checks * Update ResourceHealth.json fixed PR checks * Update ResourceHealth.json trying to fix * Prettie changes 2 files * Update Operations_List.json fixed PR comment
- Loading branch information
Showing
10 changed files
with
185 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
163 changes: 163 additions & 0 deletions
163
...manager/Microsoft.ResourceHealth/preview/2020-05-01-preview/examples/Operations_List.json
This file contains 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,163 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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