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/2018-07-01 (#13817)

* Updated api-version

* Removed systemData

* Updated api-version

* Updated the example
  • Loading branch information
averyrob authored Apr 14, 2021
1 parent 40d1022 commit d1e8233
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
{
"$ref": "#/parameters/FilterParameter"
},
{
"$ref": "#/parameters/QueryStartTimeParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
Expand Down Expand Up @@ -1356,7 +1359,15 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN",
"description": "A valid odata query to limit the events returned. The logical operators and, or, equal, not equal, and top are supported. For example, $filter=Properties/EventType eq 'ServiceIssue' or Properties/EventType eq 'PlannedMaintenance' OR %24filter=Properties%2FEventType%20eq%20%27ServiceIssue%27%20or%20Properties%2FEventType%20eq%20%27PlannedMaintenance%27",
"x-ms-parameter-location": "method"
},
"QueryStartTimeParameter": {
"name": "queryStartTime",
"in": "query",
"required": false,
"type": "string",
"description": "Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020",
"x-ms-parameter-location": "method"
},
"ExpandParameter": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"subscriptionId": "subscriptionId",
"api-version": "2018-07-01-preview",
"$filter": "service eq 'Virtual Machines' or region eq 'West US'"
"$filter": "service eq 'Virtual Machines' or region eq 'West US'",
"queryStartTime": "7/24/2020"
},
"responses": {
"200": {
Expand Down

0 comments on commit d1e8233

Please sign in to comment.