From 4bb0218a58622aa8c07c151b50c248642e51c5c1 Mon Sep 17 00:00:00 2001 From: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> Date: Tue, 10 Mar 2020 16:37:46 +0800 Subject: [PATCH] release compute for mgmt (#10164) * release compute for mgmt * changelog and version * no breaking changes * grammer Co-authored-by: qiaozha --- sdk/compute/azure-mgmt-compute/CHANGELOG.md | 10 ++++++++++ .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../operations/_virtual_machine_images_operations.py | 10 +++++----- .../azure-mgmt-compute/azure/mgmt/compute/version.py | 2 +- 12 files changed, 61 insertions(+), 51 deletions(-) diff --git a/sdk/compute/azure-mgmt-compute/CHANGELOG.md b/sdk/compute/azure-mgmt-compute/CHANGELOG.md index dcbbee154781..699eee7aba49 100644 --- a/sdk/compute/azure-mgmt-compute/CHANGELOG.md +++ b/sdk/compute/azure-mgmt-compute/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 11.1.0 (2020-03-09) + +**Features** + +- Operation VirtualMachineImagesOperations.list has a new parameter $expand + +**Bugfixes** + +- remove not-working $filter in Operation VirtualMachineImagesOperations.list + ## 11.0.0 (2020-02-27) **Features** diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/operations/_virtual_machine_images_operations.py index 0da5efc30e1e..b279548d86cb 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/operations/_virtual_machine_images_operations.py index de506c154650..0ed06f5e9e19 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/operations/_virtual_machine_images_operations.py index c0652a323c5d..a2825293e114 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/operations/_virtual_machine_images_operations.py @@ -111,7 +111,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -123,8 +123,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -153,8 +153,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/_virtual_machine_images_operations.py index e6a3b7fb53ca..349f328131da 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/_virtual_machine_images_operations.py index 88a74a51a7b6..afbc65cc5797 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/_virtual_machine_images_operations.py index 901b84febc70..778b93b6186b 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_images_operations.py index e41bcec0b625..3b3eba787f20 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_images_operations.py index 299c8d324e16..f72f33703892 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_images_operations.py index ee9133a1af9a..922a625dda17 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_images_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_images_operations.py index 18f7b5a0e5ad..2439aad3a409 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_images_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_images_operations.py @@ -110,7 +110,7 @@ def get( get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'} def list( - self, location, publisher_name, offer, skus, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): + self, location, publisher_name, offer, skus, expand=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config): """Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -122,8 +122,8 @@ def list( :type offer: str :param skus: A valid image SKU. :type skus: str - :param filter: The filter to apply on the operation. - :type filter: str + :param expand: The expand expression to apply on the operation. + :type expand: str :param top: :type top: int :param orderby: @@ -152,8 +152,8 @@ def list( # Construct parameters query_parameters = {} - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') if top is not None: query_parameters['$top'] = self._serialize.query("top", top, 'int') if orderby is not None: diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/version.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/version.py index 51807851aa5a..fb2d4315df5a 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/version.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "11.0.0" +VERSION = "11.1.0"