# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/azure/azure.document_db_database_account.dataset.md

---
title: Cosmos Database Database Account
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Cosmos Database Database Account
---

# Cosmos Database Database Account

This table represents the Cosmos Database Database Account resource from Microsoft Azure.

```
azure.document_db_database_account
```

## Fields

| Title                                   | ID   | Type          | Data Type                                                                                                                                                                                                                                                         | Description |
| --------------------------------------- | ---- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                    | core | string        |
| analytical_storage_configuration        | core | json          | Analytical storage specific properties.                                                                                                                                                                                                                           |
| api_properties                          | core | json          | API specific properties.                                                                                                                                                                                                                                          |
| backup_policy                           | core | json          | The object representing the policy for taking backups on an account.                                                                                                                                                                                              |
| capabilities                            | core | json          | List of Cosmos DB capabilities for the account                                                                                                                                                                                                                    |
| capacity                                | core | json          | The object that represents all properties related to capacity enforcement on an account.                                                                                                                                                                          |
| connector_offer                         | core | string        | The cassandra connector offer type for the Cosmos DB database C* account.                                                                                                                                                                                         |
| consistency_policy                      | core | json          | The consistency policy for the Cosmos DB database account.                                                                                                                                                                                                        |
| cors                                    | core | json          | The CORS policy for the Cosmos DB database account.                                                                                                                                                                                                               |
| create_mode                             | core | string        | Enum to indicate the mode of account creation.                                                                                                                                                                                                                    |
| customer_managed_key_status             | core | string        | Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.                                                                                                                |
| database_account_offer_type             | core | string        | The offer type for the Cosmos DB database account. Default value: Standard.                                                                                                                                                                                       |
| default_identity                        | core | string        | The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.                                        |
| disable_key_based_metadata_write_access | core | bool          | Disable write operations on metadata resources (databases, containers, throughput) via account keys                                                                                                                                                               |
| disable_local_auth                      | core | bool          | Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.                                                                                                                                                           |
| document_endpoint                       | core | string        | The connection endpoint for the Cosmos DB database account.                                                                                                                                                                                                       |
| enable_analytical_storage               | core | bool          | Flag to indicate whether to enable storage analytics.                                                                                                                                                                                                             |
| enable_automatic_failover               | core | bool          | Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. |
| enable_burst_capacity                   | core | bool          | Flag to indicate enabling/disabling of Burst Capacity feature on the account                                                                                                                                                                                      |
| enable_cassandra_connector              | core | bool          | Enables the cassandra connector on the Cosmos DB C* account                                                                                                                                                                                                       |
| enable_free_tier                        | core | bool          | Flag to indicate whether Free Tier is enabled.                                                                                                                                                                                                                    |
| enable_multiple_write_locations         | core | bool          | Enables the account to write in multiple locations                                                                                                                                                                                                                |
| enable_partition_merge                  | core | bool          | Flag to indicate enabling/disabling of Partition Merge feature on the account                                                                                                                                                                                     |
| failover_policies                       | core | json          | An array that contains the regions ordered by their failover priorities.                                                                                                                                                                                          |
| id                                      | core | string        | The unique resource identifier of the ARM resource.                                                                                                                                                                                                               |
| identity                                | core | json          |
| instance_id                             | core | string        | A unique identifier assigned to the database account                                                                                                                                                                                                              |
| ip_rules                                | core | json          | List of IpRules.                                                                                                                                                                                                                                                  |
| is_virtual_network_filter_enabled       | core | bool          | Flag to indicate whether to enable/disable Virtual Network ACL rules.                                                                                                                                                                                             |
| key_vault_key_uri                       | core | string        | The URI of the key vault                                                                                                                                                                                                                                          |
| keys_metadata                           | core | json          | The object that represents the metadata for the Account Keys of the Cosmos DB account.                                                                                                                                                                            |
| kind                                    | core | string        | Indicates the type of database account. This can only be set at database account creation.                                                                                                                                                                        |
| location                                | core | string        | The location of the resource group to which the resource belongs.                                                                                                                                                                                                 |
| locations                               | core | json          | An array that contains all of the locations enabled for the Cosmos DB account.                                                                                                                                                                                    |
| minimal_tls_version                     | core | string        | Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.                                                                                                                                         |
| name                                    | core | string        | The name of the ARM resource.                                                                                                                                                                                                                                     |
| network_acl_bypass                      | core | string        | Indicates what services are allowed to bypass firewall checks.                                                                                                                                                                                                    |
| network_acl_bypass_resource_ids         | core | array<string> | An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.                                                                                                                                                                         |
| private_endpoint_connections            | core | json          | List of Private Endpoint Connections configured for the Cosmos DB account.                                                                                                                                                                                        |
| provisioning_state                      | core | string        |
| public_network_access                   | core | string        | Whether requests from Public Network are allowed                                                                                                                                                                                                                  |
| read_locations                          | core | json          | An array that contains of the read locations enabled for the Cosmos DB account.                                                                                                                                                                                   |
| resource_group                          | core | string        |
| restore_parameters                      | core | json          | Parameters to indicate the information about the restore.                                                                                                                                                                                                         |
| subscription_id                         | core | string        |
| subscription_name                       | core | string        |
| system_data                             | core | json          | The system meta data relating to this resource.                                                                                                                                                                                                                   |
| tags                                    | core | hstore_csv    |
| type                                    | core | string        | The type of Azure resource.                                                                                                                                                                                                                                       |
| virtual_network_rules                   | core | json          | List of Virtual Network ACL rules configured for the Cosmos DB account.                                                                                                                                                                                           |
| write_locations                         | core | json          | An array that contains the write location for the Cosmos DB account.                                                                                                                                                                                              |