-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S360 - Swagger Correctness - Microsoft.ResourceHealth #16920
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a17cc70
Update ResourceHealth.json
srrudray 9da267b
Update AvailabilityStatus_GetByResource.json
srrudray ef72335
Update AvailabilityStatuses_List.json
srrudray 8d6fad7
Update AvailabilityStatuses_ListByResourceGroup.json
srrudray aa444cd
Update AvailabilityStatuses_ListByResourceGroup.json
srrudray 8cfdb31
Update AvailabilityStatuses_ListBySubscriptionId.json
srrudray 150f347
Update AvailabilityStatus_GetByResource.json
srrudray 2842c70
Update AvailabilityStatuses_List.json
srrudray ac61b87
Update AvailabilityStatuses_ListByResourceGroup.json
srrudray c59c2cf
Update AvailabilityStatuses_ListByResourceGroup.json
srrudray 0c70566
Update AvailabilityStatuses_ListBySubscriptionId.json
srrudray a0de171
Update ResourceHealth.json
srrudray 66cc4b9
Update ResourceHealth.json
srrudray 8e0270d
Merge branch 'Azure:main' into sravan_nov30
srrudray e5148eb
Prettie changes
srrudray 4991f97
Update ResourceHealth.json
srrudray 032845c
Merge branch 'Azure:main' into sravan_nov30
srrudray 061586d
Update ResourceHealth.json
srrudray b4cc3e2
Update ResourceHealth.json
srrudray a655508
Update ResourceHealth.json
srrudray 652ec5b
Update ResourceHealth.json
srrudray bf739f2
Update ResourceHealth.json
srrudray ed21092
Create Operations_List.json
srrudray f949722
Update ResourceHealth.json
srrudray 9847ead
Update ResourceHealth.json
srrudray bf79535
Update ResourceHealth.json
srrudray dceda4a
Prettie changes 2 files
srrudray 5e44d47
Update Operations_List.json
srrudray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example format is wrong. Pls fix this example format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed it