Get Azure Cosmos DB endpoint

Run the following command to store the Cosmos DB endpoint in an environment variable.

export ENDPOINT=$(az cosmosdb list --resource-group {RESOURCE_GROUP} --output tsv --query [0].documentEndpoint)

Comments

Leave a Comment

All fields are required. Your email address will not be published.