turbot/azure

steampipe plugin install azuresteampipe plugin install azure
On This Page
Get Involved

Table: azure_cosmosdb_mongo_database

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.

Examples

Basic info

select
name,
autoscale_settings_max_throughput,
throughput,
account_name,
region,
resource_group
from
azure_cosmosdb_mongo_database;

Database count by cosmosdb account name

select
account_name,
count(name) as database_count
from
azure_cosmosdb_mongo_database
group by
account_name;

.inspect azure_cosmosdb_mongo_database

Azure Cosmos DB Mongo Database

NameTypeDescription
account_nametextThe friendly name that identifies the database account in which the database is created.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
autoscale_settings_max_throughputbigintContains maximum throughput, the resource can scale up to.
database_etagtextA system generated property representing the resource etag required for optimistic concurrency control.
database_idtextName of the Cosmos DB MongoDB database.
database_ridtextA system generated unique identifier for database.
database_tsbigintA system generated property that denotes the last updated timestamp of the resource.
idtextContains ID to identify a Mongo DB database uniquely.
nametextThe friendly name that identifies the Mongo DB database.
regiontextThe Azure region/location in which the resource is located.
resource_grouptextThe resource group which holds this resource.
subscription_idtextThe Azure Subscription ID in which the resource is located.
tagsjsonbA map of tags for the resource.
throughputbigintContains the value of the Cosmos DB resource throughput or autoscaleSettings.
titletextTitle of the resource.
typetextType of the resource.