From Azure Portalβ
- Open the portal menu.
- Select the Azure Cosmos DB blade.
- Select the Azure Cosmos DB account.
- Select
Networking.
- Select
Private access.
- Click
+ Private Endpoint.
- Provide a Name.
- Click
Next.
- From the Resource type drop down, select
Microsoft.AzureCosmosDB/databaseAccounts.
- From the Resource drop down, select the Cosmos DB account.
- Click
Next.
- Provide appropriate Virtual Network details.
- Click
Next.
- Provide appropriate DNS details.
- Click
Next.
- Optionally provide Tags.
- Click
Next : Review + create.
- Click
Create.