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, then select Review + create.
- Click
Create.