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
Azure#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 and 00Kai0 committed Oct 12, 2020
1 parent f47999e commit dce451c
Showing 18 changed files with 47 additions and 47 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2017-03-30",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2017-12-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2018-04-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2018-06-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2018-10-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2019-03-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "{subscriptionId}",
"api-version": "2019-07-01",
"$expand": "virtualMachines\\$ref"
"$expand": "instanceView"
},
"responses": {
"200": {
Original file line number Diff line number Diff line change
@@ -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": {
@@ -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"
Loading

0 comments on commit dce451c

Please sign in to comment.