Skip to content

Commit 83b64f6

Browse files
authored
[SQL] az db ltr-backup/ltr-policy: Remove preview tag for time-based immutability (#32297)
1 parent 5555e58 commit 83b64f6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,15 +1337,13 @@ def _configure_security_policy_storage_params(arg_ctx):
13371337
c.argument('time_based_immutability',
13381338
options_list=['--make-backups-immutable', '--tb-immutability'],
13391339
help='Whether to enable time based immutability on the LTR backups. '
1340-
'Possible values are: \'True\', \'False\', \'Enabled\', \'Disabled\'.',
1341-
is_preview=True)
1340+
'Possible values are: \'True\', \'False\', \'Enabled\', \'Disabled\'.')
13421341

13431342
c.argument('time_based_immutability_mode',
13441343
options_list=['--tb-immutability-mode'],
13451344
help='The mode of time based immutability to be set on the LTR backups. '
13461345
'Possible values are: \'Locked\', \'Unlocked\'. '
1347-
'This is only valid if make-backups-immutable is enabled',
1348-
is_preview=True)
1346+
'This is only valid if make-backups-immutable is enabled')
13491347

13501348
c.argument('yes',
13511349
options_list=['--yes', '-y'],

src/azure-cli/azure/cli/command_modules/sql/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ def load_command_table(self, _):
348348
g.show_command('show', 'get')
349349
g.custom_command('list', 'list_long_term_retention_backups')
350350
g.command('delete', 'begin_delete', confirmation=True)
351-
g.custom_command('remove-time-based-immutability', 'remove_time_based_immutability', confirmation="Removing the time-based immutability has the effect of removing the immutability on the backup. The backup will continue to be available for the remainder of the configured duration as usual, without immutability. Are you sure you want to disable time-based immutability for the backup?", is_preview=True)
352-
g.custom_command('lock-time-based-immutability', 'lock_time_based_immutability', confirmation="Locking the time-based immutability enforces immutability for the duration of the configured retention. This action cannot be reversed. Are you sure you want to lock time-based immutability for the backup?", is_preview=True)
351+
g.custom_command('remove-time-based-immutability', 'remove_time_based_immutability', confirmation="Removing the time-based immutability has the effect of removing the immutability on the backup. The backup will continue to be available for the remainder of the configured duration as usual, without immutability. Are you sure you want to disable time-based immutability for the backup?")
352+
g.custom_command('lock-time-based-immutability', 'lock_time_based_immutability', confirmation="Locking the time-based immutability enforces immutability for the duration of the configured retention. This action cannot be reversed. Are you sure you want to lock time-based immutability for the backup?")
353353
g.custom_command('set-legal-hold-immutability', 'set_legal_hold_immutability', confirmation="When you enable Legal hold immutability on the backup, the backup will not be deleted until the legal hold is removed, even if the retention for the backup expires. Are you sure you want to enable legal hold for the backup?", is_preview=True)
354354
g.custom_command('remove-legal-hold-immutability', 'remove_legal_hold_immutability', confirmation="Are you sure you want to disable legal hold for the backup?", is_preview=True)
355355

0 commit comments

Comments
 (0)