Last active
May 21, 2024 18:23
-
-
Save henkin/b406e5a71002a26d5716e379d0f76714 to your computer and use it in GitHub Desktop.
azure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MYIP=1.2.3.4 | |
# add MYIP to list of allowed IPs for the Azure CosmosDB server s00354ncdbbridgedev using az cli | |
az cosmosdb firewall-rule create --name AllowMyIP --resource-group grp --account-name accoutn --start-ip-address $MYIP --end-ip-address $MYIP | |
az cosmosdb firewall-rule create --name AllowMyIP --resource-group grp --account-name accoubnt --start-ip-address 650.46.64.1 --end-ip-address 3.8.54.4 | |
# install the Azure CLI extension for Cosmos DB. | |
az extension add --name cosmosdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment