CmdID / az / az cosmosdb / az cosmosdb network-rule
az cosmosdb network-rule add
Adds a virtual network rule to an existing Cosmos DB database account Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--ignore-missing-vnet-service-endpoint, --ignore-missing-endpointCreate firewall rule before the virtual network has vnet service endpoint enabled.--subnetName or ID of the subnet--virtual-network, --vnet-nameThe name of the VNET, which must be provided in conjunction with the name of the subnet