File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/azure-cli/azure/cli/command_modules/sql Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 18341834examples:
18351835 - name: Update a server. (autogenerated)
18361836 text: az sql server update --admin-password myadminpassword --name MyAzureSQLServer --resource-group MyResourceGroup
1837- - name: Enable soft delete protection with 7-day retention.
1837+ - name: Enable soft delete protection with default ( 7-day) retention.
18381838 text: az sql server update --name MyAzureSQLServer --resource-group MyResourceGroup --enable-soft-delete
18391839 - name: Modify soft delete retention period.
18401840 text: az sql server update --name MyAzureSQLServer --resource-group MyResourceGroup --enable-soft-delete --soft-delete-retention-days 5
Original file line number Diff line number Diff line change @@ -1920,7 +1920,9 @@ def _configure_security_policy_storage_params(arg_ctx):
19201920
19211921 c .argument ('soft_delete_retention_days' ,
19221922 options_list = ['--soft-delete-retention-days' , '--sdrd' ],
1923- help = 'Specify the number of days to retain soft deleted server' ,
1923+ help = 'Specify the number of days to retain soft deleted server. During this period, '
1924+ 'the server can be restored to an active state with az sql server restore. '
1925+ 'After this period has elapsed, the server is hard deleted and can not be restored.' ,
19241926 validator = validate_soft_delete_parameters )
19251927
19261928 with self .argument_context ('sql server create' ) as c :
@@ -2319,7 +2321,7 @@ def _configure_security_policy_storage_params(arg_ctx):
23192321 with self .argument_context ('sql server deleted-server list' ) as c :
23202322 c .argument ('location' , arg_type = get_location_type (self .cli_ctx ),
23212323 required = True ,
2322- help = 'Location to list deleted servers from .' )
2324+ help = 'List deleted servers in this location .' )
23232325
23242326 ###############################################
23252327 # sql managed instance #
You can’t perform that action at this time.
0 commit comments