Skip to content

Commit 0a11bac

Browse files
Merge pull request #252597 from seesharprun/cosmos-public-network-access
Cosmos DB | Update continuous backup with new `--public-network-access` settings
2 parents 5764a9c + 3bab778 commit 0a11bac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/restore-account-continuous-backup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,11 @@ az cosmosdb restore \
421421
--restore-timestamp 2020-07-13T16:03:41+0000 \
422422
--resource-group <MyResourceGroup> \
423423
--location "West US" \
424-
--enable-public-network False
424+
--public-network-access Disabled
425425
426426
```
427427

428-
If `--enable-public-network` is not set, restored account is accessible from public network. Please ensure to pass `False` to the `--enable-public-network` option to prevent public network access for restored account.
428+
If `--public-network-access` is not set, restored account is accessible from public network. Please ensure to pass `Disabled` to the `--public-network-access` option to prevent public network access for restored account.
429429

430430
> [!NOTE]
431431
> For restoring with public network access disabled, you'll need to install the cosmosdb-preview 0.23.0 of CLI extension by executing `az extension update --name cosmosdb-preview `. You would also require version 2.17.1 of the CLI.

0 commit comments

Comments
 (0)