Skip to content

Commit cc72895

Browse files
committed
removed preview tags from long term and short term sql db backup commands
1 parent 2302cef commit cc72895

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ def load_command_table(self, _):
332332

333333
with self.command_group('sql db ltr-policy',
334334
database_long_term_retention_policies_operations,
335-
client_factory=get_sql_database_long_term_retention_policies_operations,
336-
is_preview=True) as g:
335+
client_factory=get_sql_database_long_term_retention_policies_operations) as g:
337336

338337
g.custom_command('set', 'update_long_term_retention')
339338
g.custom_show_command('show', 'get_long_term_retention')
@@ -344,17 +343,16 @@ def load_command_table(self, _):
344343

345344
with self.command_group('sql db ltr-backup',
346345
database_long_term_retention_backups_operations,
347-
client_factory=get_sql_database_long_term_retention_backups_operations,
348-
is_preview=True) as g:
346+
client_factory=get_sql_database_long_term_retention_backups_operations) as g:
349347

350348
g.show_command('show', 'get')
351349
g.custom_command('list', 'list_long_term_retention_backups')
352350
g.command('delete', 'begin_delete', confirmation=True)
353351

354352
with self.command_group('sql db ltr-backup',
355353
database_operations,
356-
client_factory=get_sql_databases_operations,
357-
is_preview=True) as g:
354+
client_factory=get_sql_databases_operations) as g:
355+
358356
g.custom_command(
359357
'restore',
360358
'restore_long_term_retention_backup',
@@ -385,8 +383,7 @@ def load_command_table(self, _):
385383

386384
with self.command_group('sql db str-policy',
387385
backup_short_term_retention_policies_operations,
388-
client_factory=get_sql_backup_short_term_retention_policies_operations,
389-
is_preview=True) as g:
386+
client_factory=get_sql_backup_short_term_retention_policies_operations) as g:
390387

391388
g.custom_command('set', 'update_short_term_retention', supports_no_wait=True)
392389
g.custom_show_command('show', 'get_short_term_retention')

0 commit comments

Comments
 (0)