From e81112c89088e87ada7c3eb01ae29c96eb6cd444 Mon Sep 17 00:00:00 2001 From: xiowei Date: Fri, 14 Feb 2020 15:24:02 -0800 Subject: [PATCH 1/3] In ListVMImageVersion api, remove $filter. --- .../Microsoft.Compute/preview/2016-04-30-preview/compute.json | 4 ++-- .../Microsoft.Compute/stable/2015-06-15/compute.json | 4 ++-- .../Microsoft.Compute/stable/2016-03-30/compute.json | 4 ++-- .../Microsoft.Compute/stable/2017-03-30/compute.json | 4 ++-- .../Microsoft.Compute/stable/2017-12-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2018-04-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2018-06-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2018-10-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2019-03-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2019-07-01/compute.json | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json b/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json index 22d2518fce90..1e6ad4ef45e9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json @@ -785,11 +785,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json index f085ccef295c..674b252e95ca 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json @@ -711,11 +711,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json index 2633249aaa27..6cdbb3e9adaf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json @@ -792,11 +792,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index 3220166fd21f..c49489c42483 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -801,11 +801,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index c2a57fceccbe..19e8cae4ce15 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -872,11 +872,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json index 488a46c3bea0..c2c62bd60ef1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json @@ -1130,11 +1130,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json index 0e150b7de7f7..6b4ab59bf6d3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json @@ -1130,11 +1130,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index f793a723d513..837c4e8f1aea 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -1130,11 +1130,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 3a626b5f5f45..c0c86dee39bf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -1651,11 +1651,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json index eeb80123a696..a8623a21df40 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json @@ -1658,11 +1658,11 @@ "description": "A valid image SKU." }, { - "name": "$filter", + "name": "$expand", "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation." + "description": "The expand expression to apply on the operation." }, { "name": "$top", From 691acd2a379b4ed6ebd4ac849108f17df2f6f28a Mon Sep 17 00:00:00 2001 From: xiowei Date: Wed, 4 Mar 2020 17:56:58 -0800 Subject: [PATCH 2/3] removed the odata --- .../Microsoft.Compute/preview/2016-04-30-preview/compute.json | 3 +-- .../Microsoft.Compute/stable/2015-06-15/compute.json | 3 +-- .../Microsoft.Compute/stable/2016-03-30/compute.json | 3 +-- .../Microsoft.Compute/stable/2017-03-30/compute.json | 3 +-- .../Microsoft.Compute/stable/2017-12-01/compute.json | 3 +-- .../Microsoft.Compute/stable/2018-04-01/compute.json | 3 +-- .../Microsoft.Compute/stable/2018-06-01/compute.json | 3 +-- .../Microsoft.Compute/stable/2018-10-01/compute.json | 3 +-- .../Microsoft.Compute/stable/2019-03-01/compute.json | 3 +-- .../Microsoft.Compute/stable/2019-07-01/compute.json | 3 +-- 10 files changed, 10 insertions(+), 20 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json b/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json index 1e6ad4ef45e9..17e66dd47658 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json @@ -821,8 +821,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json index 674b252e95ca..ee0d12d60b78 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json @@ -392,8 +392,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineExtensionImage" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json index 6cdbb3e9adaf..6aad2238b4a0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2016-03-30/compute.json @@ -828,8 +828,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index c49489c42483..c7fac4e111ba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -837,8 +837,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index 19e8cae4ce15..b5ac7173a036 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -908,8 +908,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json index c2c62bd60ef1..63aa5067caf8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json @@ -1166,8 +1166,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json index 6b4ab59bf6d3..e7be3a3930dc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json @@ -1166,8 +1166,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index 837c4e8f1aea..c89b023b2579 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -1166,8 +1166,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index c0c86dee39bf..871d390b7f43 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -1687,8 +1687,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json index a8623a21df40..84387c9e29f6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json @@ -1694,8 +1694,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { From 21feff8909aa7134becb557b27837791b6aedd92 Mon Sep 17 00:00:00 2001 From: xiowei Date: Thu, 5 Mar 2020 18:03:02 -0800 Subject: [PATCH 3/3] fixed an issue. --- .../Microsoft.Compute/stable/2015-06-15/compute.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json index ee0d12d60b78..5204705be158 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2015-06-15/compute.json @@ -392,7 +392,8 @@ } } } - } + }, + "x-ms-odata": "#/definitions/VirtualMachineExtensionImage" } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": { @@ -746,8 +747,7 @@ } } } - }, - "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": {