diff --git a/HISTORY.rst b/HISTORY.rst index dd8632d..10e18cc 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,4 +3,8 @@ Release History 0.0.2 (2020-11-17) ++++++++++++++++++ -- fix the delete command so that it won't error out when called if the user has the correct permissions \ No newline at end of file +- fix the delete command so that it won't error out when called if the user has the correct permissions + +1.0.0 (2021-11-11) +++++++++++++++++++ +- point list/update operations to new GA API version diff --git a/azext_baremetalinfrastructure/modules_sdk/operations/_azure_bare_metal_instances_operations.py b/azext_baremetalinfrastructure/modules_sdk/operations/_azure_bare_metal_instances_operations.py index 92554b3..c151004 100644 --- a/azext_baremetalinfrastructure/modules_sdk/operations/_azure_bare_metal_instances_operations.py +++ b/azext_baremetalinfrastructure/modules_sdk/operations/_azure_bare_metal_instances_operations.py @@ -382,7 +382,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-06-preview" + api_version = "2021-08-09" accept = "application/json" def prepare_request(next_link=None): @@ -453,7 +453,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-06-preview" + api_version = "2021-08-09" accept = "application/json" def prepare_request(next_link=None): @@ -531,7 +531,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-06-preview" + api_version = "2021-08-09" accept = "application/json" # Construct URL @@ -705,7 +705,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-06-preview" + api_version = "2021-08-09" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/setup.py b/setup.py index 6c9f550..c11ffd0 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.0.2" +VERSION = "1.0.0" CLASSIFIERS = [ 'Development Status :: 4 - Beta',