diff --git a/src/command_modules/azure-cli-appservice/HISTORY.rst b/src/command_modules/azure-cli-appservice/HISTORY.rst index 724ae0b237d..146132a9606 100644 --- a/src/command_modules/azure-cli-appservice/HISTORY.rst +++ b/src/command_modules/azure-cli-appservice/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +0.2.4 ++++++ +* `webapp/functionapp identity show`: exception handling to exit with code 3 upon a missing resource for consistency + 0.2.3 +++++ * arm tag support on create commands diff --git a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py index db98a36698e..7f8a7b83cbd 100644 --- a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py +++ b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py @@ -79,7 +79,7 @@ def load_command_table(self, _): g.custom_command('browse', 'view_in_browser') g.custom_command('list-runtimes', 'list_runtimes') g.custom_command('identity assign', 'assign_identity') - g.custom_command('identity show', 'show_identity') + g.custom_show_command('identity show', 'show_identity') g.custom_command('identity remove', 'remove_identity') g.generic_update_command('update', getter_name='get_webapp', setter_name='set_webapp', custom_func_name='update_webapp', command_type=appservice_custom) @@ -183,7 +183,7 @@ def load_command_table(self, _): g.custom_command('restart', 'restart_webapp') g.custom_command('list-consumption-locations', 'list_consumption_locations') g.custom_command('identity assign', 'assign_identity') - g.custom_command('identity show', 'show_identity') + g.custom_show_command('identity show', 'show_identity') g.custom_command('identity remove', 'remove_identity') g.generic_update_command('update', setter_name='set_functionapp', setter_type=appservice_custom, command_type=webapp_sdk) diff --git a/src/command_modules/azure-cli-appservice/setup.py b/src/command_modules/azure-cli-appservice/setup.py index e56ce21ee5f..5191ca6c1c1 100644 --- a/src/command_modules/azure-cli-appservice/setup.py +++ b/src/command_modules/azure-cli-appservice/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "0.2.3" +VERSION = "0.2.4" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', diff --git a/src/command_modules/azure-cli-backup/HISTORY.rst b/src/command_modules/azure-cli-backup/HISTORY.rst index e18c3a6a753..41ef21641f5 100644 --- a/src/command_modules/azure-cli-backup/HISTORY.rst +++ b/src/command_modules/azure-cli-backup/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +1.2.1 ++++++ +* `backup vault backup-properties show`: exception handling to exit with code 3 upon a missing resource for consistency. + 1.2.0 +++++ * BREAKING CHANGE: 'show' commands log error message and fail with exit code of 3 upon a missing resource. diff --git a/src/command_modules/azure-cli-backup/azure/cli/command_modules/backup/commands.py b/src/command_modules/azure-cli-backup/azure/cli/command_modules/backup/commands.py index a0988accdc3..1948595d725 100644 --- a/src/command_modules/azure-cli-backup/azure/cli/command_modules/backup/commands.py +++ b/src/command_modules/azure-cli-backup/azure/cli/command_modules/backup/commands.py @@ -30,7 +30,7 @@ def load_command_table(self, _): g.custom_command('create', 'create_vault') g.show_command('show', 'get') g.custom_command('list', 'list_vaults') - g.command('backup-properties show', 'get', command_type=backup_storage_config_sdk) + g.show_command('backup-properties show', 'get', command_type=backup_storage_config_sdk) g.custom_command('backup-properties set', 'set_backup_properties', client_factory=backup_storage_configs_cf) g.custom_command('delete', 'delete_vault', confirmation=True) diff --git a/src/command_modules/azure-cli-backup/setup.py b/src/command_modules/azure-cli-backup/setup.py index b73416ce991..35335fad6c3 100644 --- a/src/command_modules/azure-cli-backup/setup.py +++ b/src/command_modules/azure-cli-backup/setup.py @@ -13,7 +13,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "1.2.0" +VERSION = "1.2.1" # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers diff --git a/src/command_modules/azure-cli-network/HISTORY.rst b/src/command_modules/azure-cli-network/HISTORY.rst index 776ba4de38b..97a0f42fd11 100644 --- a/src/command_modules/azure-cli-network/HISTORY.rst +++ b/src/command_modules/azure-cli-network/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +2.2.4 ++++++ +* `network application-gateway ssl-policy predefined show`: exception handling to exit with code 3 upon a missing resource for consistency 2.2.3 +++++ diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py index 7d8bdb90d47..44547791346 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py @@ -285,7 +285,7 @@ def _make_singular(value): with self.command_group('network application-gateway ssl-policy', network_ag_sdk, min_api='2017-06-01') as g: g.command('list-options', 'list_available_ssl_options') g.command('predefined list', 'list_available_ssl_predefined_policies') - g.command('predefined show', 'get_ssl_predefined_policy') + g.show_command('predefined show', 'get_ssl_predefined_policy') with self.command_group('network application-gateway url-path-map rule') as g: g.custom_command('create', 'create_ag_url_path_map_rule', supports_no_wait=True, validator=process_ag_url_path_map_rule_create_namespace) diff --git a/src/command_modules/azure-cli-network/setup.py b/src/command_modules/azure-cli-network/setup.py index 91f249f6119..6bc84d8d5da 100644 --- a/src/command_modules/azure-cli-network/setup.py +++ b/src/command_modules/azure-cli-network/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.2.3" +VERSION = "2.2.4" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', diff --git a/src/command_modules/azure-cli-resource/HISTORY.rst b/src/command_modules/azure-cli-resource/HISTORY.rst index 2a47371ba9b..63d8ef76805 100644 --- a/src/command_modules/azure-cli-resource/HISTORY.rst +++ b/src/command_modules/azure-cli-resource/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +2.1.3 ++++++ +* `provider operation show`: exception handling to exit with code 3 upon a missing resource for consistency. 2.1.2 +++++ diff --git a/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/commands.py b/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/commands.py index 661421454d0..f77484509f0 100644 --- a/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/commands.py +++ b/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/commands.py @@ -188,7 +188,7 @@ def load_command_table(self, _): g.custom_command('register', 'register_provider') g.custom_command('unregister', 'unregister_provider') g.custom_command('operation list', 'list_provider_operations') - g.custom_command('operation show', 'show_provider_operations') + g.custom_show_command('operation show', 'show_provider_operations') # Resource feature commands with self.command_group('feature', resource_feature_sdk, client_factory=cf_features, resource_type=ResourceType.MGMT_RESOURCE_FEATURES) as g: diff --git a/src/command_modules/azure-cli-resource/setup.py b/src/command_modules/azure-cli-resource/setup.py index 24cc6bcdeec..18388fafec0 100644 --- a/src/command_modules/azure-cli-resource/setup.py +++ b/src/command_modules/azure-cli-resource/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.1.2" +VERSION = "2.1.3" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', diff --git a/src/command_modules/azure-cli-storage/HISTORY.rst b/src/command_modules/azure-cli-storage/HISTORY.rst index ffcc45791ee..c1ceb61ca98 100644 --- a/src/command_modules/azure-cli-storage/HISTORY.rst +++ b/src/command_modules/azure-cli-storage/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +2.2.1 ++++++ +* `storage share policy show`: exception handling to exit with code 3 upon a missing resource for consistency. 2.2.0 +++++ diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/commands.py b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/commands.py index 3ca85af0bf0..380b35a64a5 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/commands.py +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/commands.py @@ -223,7 +223,7 @@ def get_custom_sdk(custom_module, client_factory, resource_type=ResourceType.DAT g.storage_custom_command('policy create', 'create_acl_policy') g.storage_custom_command('policy delete', 'delete_acl_policy') - g.storage_custom_command('policy show', 'get_acl_policy') + g.storage_custom_command('policy show', 'get_acl_policy', exception_handler=show_exception_handler) g.storage_custom_command('policy list', 'list_acl_policies', table_transformer=transform_acl_list_output) g.storage_custom_command('policy update', 'set_acl_policy') diff --git a/src/command_modules/azure-cli-storage/setup.py b/src/command_modules/azure-cli-storage/setup.py index cabd0e7fbe4..ac359d8d4e8 100644 --- a/src/command_modules/azure-cli-storage/setup.py +++ b/src/command_modules/azure-cli-storage/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.2.0" +VERSION = "2.2.1" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', diff --git a/src/command_modules/azure-cli-vm/HISTORY.rst b/src/command_modules/azure-cli-vm/HISTORY.rst index d02b192f7ee..d5772f96849 100644 --- a/src/command_modules/azure-cli-vm/HISTORY.rst +++ b/src/command_modules/azure-cli-vm/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +2.2.2 +++++++ +* `vm/vmss identity show`: exception handling to exit with code 3 upon a missing resource for consistency + 2.2.1 ++++++ * vm list-skus: add a few common filters to make the command easier to use diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py index 8b673170569..8b49816e80f 100644 --- a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py +++ b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py @@ -158,7 +158,7 @@ def load_command_table(self, _): with self.command_group('vm', compute_vm_sdk) as g: g.custom_command('identity assign', 'assign_vm_identity', validator=process_assign_identity_namespace) g.custom_command('identity remove', 'remove_vm_identity', validator=process_remove_identity_namespace, min_api='2017-12-01') - g.custom_command('identity show', 'show_vm_identity') + g.custom_show_command('identity show', 'show_vm_identity') g.custom_command('capture', 'capture_vm') g.custom_command('create', 'create_vm', transform=transform_vm_create_output, supports_no_wait=True, table_transformer=deployment_validate_table_format, validator=process_vm_create_namespace, exception_handler=handle_template_based_exception) @@ -263,7 +263,7 @@ def load_command_table(self, _): with self.command_group('vmss', compute_vmss_sdk, operation_group='virtual_machine_scale_sets') as g: g.custom_command('identity assign', 'assign_vmss_identity', validator=process_assign_identity_namespace) g.custom_command('identity remove', 'remove_vmss_identity', validator=process_remove_identity_namespace, min_api='2017-12-01') - g.custom_command('identity show', 'show_vmss_identity') + g.custom_show_command('identity show', 'show_vmss_identity') g.custom_command('create', 'create_vmss', transform=DeploymentOutputLongRunningOperation(self.cli_ctx, 'Starting vmss create'), supports_no_wait=True, table_transformer=deployment_validate_table_format, validator=process_vmss_create_namespace, exception_handler=handle_template_based_exception) g.custom_command('deallocate', 'deallocate_vmss', supports_no_wait=True) g.command('delete', 'delete', supports_no_wait=True) diff --git a/src/command_modules/azure-cli-vm/setup.py b/src/command_modules/azure-cli-vm/setup.py index be9cc0b54d1..ac1b1d80a26 100644 --- a/src/command_modules/azure-cli-vm/setup.py +++ b/src/command_modules/azure-cli-vm/setup.py @@ -15,7 +15,7 @@ cmdclass = {} -VERSION = "2.2.1" +VERSION = "2.2.2" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable',