PlagueHO / CosmosDB

PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.
http://dscottraynsford.com
MIT License
152 stars 46 forks source link

Enable BaseHostname to be specified manually #455

Closed PlagueHO closed 2 years ago

PlagueHO commented 2 years ago

It would be helpful if the 'New-CosmosDbContext' allowed you to set the BaseHostname explicitly. I know you accept an 'Environment' parameter, but there are times when we need to set BaseHostname to something other than the values you currently accept.

PlagueHO commented 2 years ago

This feature is already enabled: https://github.com/PlagueHO/CosmosDB/wiki#create-a-context-for-a-cosmos-db-with-a-custom-endpoint