Policy: Azure > Cosmos DB > Database Account > Firewall > Virtual Networks > Approved > Subnets
Configure database accounts to allow access only from specific subnets. The allowed subnets may belong to a virtual network in the same subscription, or those in a different subscription, including subscriptions belonging to a different Azure Active Directory tenant. Add your approved subnets through this policy.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- Azure > Cosmos DB > Database Account > Firewall
- Azure > Cosmos DB > Database Account > Firewall > Virtual Networks
- Azure > Cosmos DB > Database Account > Firewall > Virtual Networks > Approved
Policy Specification
Schema Type |
|
---|---|
Default |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceApproved
- tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksApprovedSubnets
- turbot graphql policy-type --id "tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksApprovedSubnets"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksApprovedSubnets"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI