Skip to content

Commit

Permalink
Added the allowed values to $select, $expand and $filter queries unde… (
Browse files Browse the repository at this point in the history
#9585)

* Added the allowed values to $select, $expand and $filter queries under VMSS and to $select query for Avset

* Adding allowed values in the corresponding descriptions field

* changing the examples
  • Loading branch information
srcharug authored Jun 8, 2020
1 parent de01959 commit 535109d
Show file tree
Hide file tree
Showing 18 changed files with 47 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2460,21 +2460,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -2541,21 +2541,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -3562,21 +3562,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2017-03-30",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -3968,21 +3968,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2017-12-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -4079,21 +4079,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2018-04-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -4198,21 +4198,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2018-06-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -4201,21 +4201,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2018-10-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -4810,21 +4810,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2019-03-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -5316,21 +5316,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2019-07-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
Expand Down Expand Up @@ -5707,21 +5707,21 @@
"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply to the operation."
"description": "The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'."
},
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "The list parameters."
"description": "The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation."
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Loading

0 comments on commit 535109d

Please sign in to comment.