You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copy the content for privateIPAddress and FQDN matching the Azure Cosmos account
256
+
az resource show --ids $networkInterfaceId --api-version 2019-04-01 -o json
257
+
258
+
#Create DNS records
259
+
az network private-dns record-set a create --name recordSet1 --zone-name privatelink.documents.azure.com --resource-group $ResourceGroupName
260
+
az network private-dns record-set a add-record --record-set-name recordSet2 --zone-name privatelink.documents.azure.com --resource-group $ResourceGroupName -a <Private IP Address>
261
+
```
262
+
235
263
## Create a private endpoint by using a Resource Manager template
236
264
237
265
You can set up Private Link by creating a private endpoint in a virtual network subnet. You achieve this by using an Azure Resource Manager template.
0 commit comments