Skip to main content

mongodb_databases

Overview

Namemongodb_databases
TypeResource
Idazure.cosmos_db.mongodb_databases

Fields

NameDatatypeDescription
idstringThe unique resource identifier of the ARM resource.
namestringThe name of the ARM resource.
identityobjectIdentity for the resource.
locationstringThe location of the resource group to which the resource belongs.
propertiesobjectThe properties of an Azure Cosmos DB MongoDB database
tagsobjectTags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
typestringThe type of Azure resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, databaseName, resourceGroupName, subscriptionIdGets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.
listSELECTaccountName, resourceGroupName, subscriptionIdLists the MongoDB databases under an existing Azure Cosmos DB database account.
deleteDELETEaccountName, databaseName, resourceGroupName, subscriptionIdDeletes an existing Azure Cosmos DB MongoDB database.
_listEXECaccountName, resourceGroupName, subscriptionIdLists the MongoDB databases under an existing Azure Cosmos DB database account.
create_updateEXECaccountName, databaseName, resourceGroupName, subscriptionId, data__propertiesCreate or updates Azure Cosmos DB MongoDB database