GitHub repository: Azure-Samples/cosmosdb-dotnet-create-cosmosdb-and-configure-firewall
Primary language: C#
Description: Create a CosmosDB, configure it for high availability and create a firewall by limiting access to CosmosDB from an approved set of IP addresses using C#