cosmos
Cosmos DB Account
DatabasesAzure
General
General information about the service.
Description
Globally distributed, multi-model database service.
Namespace and Entity
Microsoft.DocumentDB/databaseAccountsReferences
Chat
Powered by AITalk to this service to learn more about it.
Suggested questions:
Naming
The conventions, rules, and restrictions for naming this service.
Naming Convention
cosmos-Length
3-44
Valid Characters
Alphanumerics, hyphens, underscores.
Scope
resource group
Code
Deploy your infrastructure as code using your preferred tooling.
Official Documentation
terraform
1resource "azurerm_cosmosdb_account" "main" {2 name = "cosmos-${var.project}-${var.environment}"3 location = azurerm_resource_group.main.location4 resource_group_name = azurerm_resource_group.main.name5 offer_type = "Standard"6 kind = "GlobalDocumentDB"78 enable_automatic_failover = true910 consistency_policy {11 consistency_level = "Session"12 max_interval_in_seconds = 513 max_staleness_prefix = 10014 }1516 geo_location {17 location = azurerm_resource_group.main.location18 failover_priority = 019 }2021 geo_location {22 location = "westeurope"23 failover_priority = 124 }2526 backup {27 type = "Periodic"28 interval_in_minutes = 24029 retention_in_hours = 830 }3132 tags = var.tags33}
Utilities
Utilities to support app deployment or configuration.
Private Endpoints
Details to successfully deploy private endpoints on Azure.
Sub-Resource Names
SqlMongoDBCassandraGremlinTablePrivate DNS Zone Names
privatelink.documents.azure.comprivatelink.mongo.cosmos.azure.comPublic DNS Zone Forwarders
documents.azure.com