Skip to content

Commit ca475e1

Browse files
committed
deprecate storage redundancy
1 parent ae40daa commit ca475e1

File tree

1 file changed

+4
-4
lines changed
  • src/azure-cli/azure/cli/command_modules/mysql

1 file changed

+4
-4
lines changed

src/azure-cli/azure/cli/command_modules/mysql/_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements, too-many-
372372
c.argument('public_access', arg_type=public_access_create_arg_type)
373373
c.argument('vnet', arg_type=vnet_arg_type)
374374
c.argument('vnet_address_prefix', arg_type=vnet_address_prefix_arg_type)
375-
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type, default="LocalRedundancy")
375+
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type, default="LocalRedundancy", deprecate_info=c.deprecate(hide=True))
376376
c.argument('subnet', arg_type=subnet_arg_type)
377377
c.argument('subnet_address_prefix', arg_type=subnet_address_prefix_arg_type)
378378
c.argument('private_dns_zone_arguments', private_dns_zone_arguments_arg_type)
@@ -431,7 +431,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements, too-many-
431431
c.argument('vnet_address_prefix', arg_type=vnet_address_prefix_arg_type)
432432
c.argument('subnet', arg_type=subnet_arg_type)
433433
c.argument('subnet_address_prefix', arg_type=subnet_address_prefix_arg_type)
434-
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type)
434+
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type, deprecate_info=c.deprecate(hide=True))
435435
c.argument('private_dns_zone_arguments', private_dns_zone_arguments_arg_type)
436436
c.argument('zone', arg_type=zone_arg_type)
437437
c.argument('tags', tags_type)
@@ -464,7 +464,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements, too-many-
464464
c.argument('storage_gb', arg_type=storage_gb_arg_type)
465465
c.argument('auto_grow', arg_type=auto_grow_arg_type)
466466
c.argument('accelerated_logs', arg_type=accelerated_logs_arg_type)
467-
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type)
467+
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type, deprecate_info=c.deprecate(hide=True))
468468
c.argument('backup_retention', arg_type=mysql_backup_retention_arg_type)
469469
c.argument('geo_redundant_backup', arg_type=geo_redundant_backup_arg_type)
470470
c.argument('public_access', options_list=['--public-access'], arg_type=get_enum_type(['Enabled', 'Disabled']), help='Determines the public access. ')
@@ -594,7 +594,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements, too-many-
594594
c.argument('sku_name', arg_type=sku_name_arg_type)
595595
c.argument('storage_gb', arg_type=storage_gb_arg_type)
596596
c.argument('iops', arg_type=iops_arg_type)
597-
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type, default="LocalRedundancy")
597+
c.argument('storage_redundancy', arg_type=storage_redundancy_arg_type, default="LocalRedundancy", deprecate_info=c.deprecate(hide=True))
598598
c.argument('faster_provisioning', arg_type=faster_provisioning_arg_type)
599599
c.argument('database_port', arg_type=database_port_arg_type)
600600
c.argument('backup_retention', arg_type=mysql_backup_retention_arg_type)

0 commit comments

Comments
 (0)