Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
carjackson-msft committed Feb 28, 2024
1 parent 3f493c7 commit e53c8c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cosmosdb-preview/azext_cosmosdb_preview/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def load_arguments(self, _):
c.argument('tables_to_restore', nargs='+', action=CreateTableRestoreResource, is_preview=True)
c.argument('assign_identity', nargs='*', help="Assign system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity.")
c.argument('default_identity', help="The primary identity to access key vault in CMK related features. e.g. 'FirstPartyIdentity', 'SystemAssignedIdentity' and more.")
c.argument('enable_public_network', options_list=['--enable-public-network', '-e'], arg_type=get_three_state_flag(), help="Enable or disable public network access to server.", is_preview=True)
c.argument('public_network_access', options_list=['--public-network-access', '-p'], arg_type=get_enum_type(['ENABLED', 'DISABLED']), help="Sets public network access in server to either Enabled or Disabled.")
c.argument('source_backup_location', help="This is the location of the source account where backups are located. Provide this value if the source and target are in different locations.", is_preview=True)
c.argument('disable_ttl', options_list=['--disable-ttl', '-dt'], arg_type=get_three_state_flag(), help="Enable or disable restoring with ttl disabled.", is_preview=True)

Expand Down
4 changes: 2 additions & 2 deletions src/cosmosdb-preview/azext_cosmosdb_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ def cli_cosmosdb_restore(cmd,
databases_to_restore=None,
gremlin_databases_to_restore=None,
tables_to_restore=None,
enable_public_network=None,
public_network_access=None,
source_backup_location=None,
disable_ttl=None):
restorable_database_accounts_client = cf_restorable_database_accounts(cmd.cli_ctx, [])
Expand Down Expand Up @@ -1120,7 +1120,7 @@ def cli_cosmosdb_restore(cmd,
gremlin_databases_to_restore=gremlin_databases_to_restore,
tables_to_restore=tables_to_restore,
arm_location=target_restorable_account.location,
public_network_access=enable_public_network,
public_network_access=public_network_access,
source_backup_location=source_backup_location,
disable_ttl=disable_ttl)

Expand Down

0 comments on commit e53c8c6

Please sign in to comment.