diff --git a/src/azure-cli/azure/cli/command_modules/acs/_params.py b/src/azure-cli/azure/cli/command_modules/acs/_params.py index 260b7b76ad8..2a6e7730529 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_params.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_params.py @@ -719,24 +719,24 @@ def load_arguments(self, _): with self.argument_context('aks mesh upgrade start') as c: c.argument('revision', validator=validate_azure_service_mesh_revision, required=True) - with self.argument_context("aks approuting enable") as c: - c.argument("enable_kv", action="store_true") - c.argument("keyvault_id", options_list=["--attach-kv"]) + with self.argument_context('aks approuting enable') as c: + c.argument('enable_kv', action='store_true') + c.argument('keyvault_id', options_list=['--attach-kv']) - with self.argument_context("aks approuting update") as c: - c.argument("keyvault_id", options_list=["--attach-kv"]) - c.argument("enable_kv", action="store_true") + with self.argument_context('aks approuting update') as c: + c.argument('keyvault_id', options_list=['--attach-kv']) + c.argument('enable_kv', action='store_true') - with self.argument_context("aks approuting zone add") as c: - c.argument("dns_zone_resource_ids", options_list=["--ids"], required=True) - c.argument("attach_zones") + with self.argument_context('aks approuting zone add') as c: + c.argument('dns_zone_resource_ids', options_list=['--ids'], required=True) + c.argument('attach_zones') - with self.argument_context("aks approuting zone delete") as c: - c.argument("dns_zone_resource_ids", options_list=["--ids"], required=True) + with self.argument_context('aks approuting zone delete') as c: + c.argument('dns_zone_resource_ids', options_list=['--ids'], required=True) - with self.argument_context("aks approuting zone update") as c: - c.argument("dns_zone_resource_ids", options_list=["--ids"], required=True) - c.argument("attach_zones") + with self.argument_context('aks approuting zone update') as c: + c.argument('dns_zone_resource_ids', options_list=['--ids'], required=True) + c.argument('attach_zones') def _get_default_install_location(exe_name): diff --git a/src/azure-cli/azure/cli/command_modules/acs/commands.py b/src/azure-cli/azure/cli/command_modules/acs/commands.py index e289d862ef7..8a513950917 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/commands.py +++ b/src/azure-cli/azure/cli/command_modules/acs/commands.py @@ -237,17 +237,17 @@ def load_command_table(self, _): # AKS approuting commands with self.command_group( - "aks approuting", managed_clusters_sdk, client_factory=cf_managed_clusters + 'aks approuting', managed_clusters_sdk, client_factory=cf_managed_clusters ) as g: - g.custom_command("enable", "aks_approuting_enable") - g.custom_command("disable", "aks_approuting_disable", confirmation=True) - g.custom_command("update", "aks_approuting_update") + g.custom_command('enable', 'aks_approuting_enable') + g.custom_command('disable', 'aks_approuting_disable', confirmation=True) + g.custom_command('update', 'aks_approuting_update') # AKS approuting dns-zone commands with self.command_group( - "aks approuting zone", managed_clusters_sdk, client_factory=cf_managed_clusters + 'aks approuting zone', managed_clusters_sdk, client_factory=cf_managed_clusters ) as g: - g.custom_command("add", "aks_approuting_zone_add") - g.custom_command("delete", "aks_approuting_zone_delete", confirmation=True) - g.custom_command("update", "aks_approuting_zone_update") - g.custom_command("list", "aks_approuting_zone_list") + g.custom_command('add', 'aks_approuting_zone_add') + g.custom_command('delete', 'aks_approuting_zone_delete', confirmation=True) + g.custom_command('update', 'aks_approuting_zone_update') + g.custom_command('list', 'aks_approuting_zone_list')