create_cosmosdb_account {AzureCosmosR}R Documentation

Create Azure Cosmos DB account


Method for the AzureRMR::az_resource_group class.


    location = self$location,
    interface = c("sql", "cassandra", "mongo", "table", "graph"),
    serverless = FALSE,
    free_tier = FALSE,
    properties = list(),



This method creates a new Azure Cosmos DB account in the given resource group. Azure Cosmos DB is a globally distributed multi-model database that supports the document, graph, and key-value data models.

The ARM resource object provides methods for working in the management plane. For working in the data plane, AzureCosmosR provides a client framework that interfaces with the core (SQL) API. Other packages provide functionality for other APIs, such as AzureTableStor for table storage and mongolite for MongoDB.


An object of class az_cosmosdb representing the Cosmos DB account.

See Also

get_cosmosdb_account, delete_cosmosdb_account

For the SQL API client framework: cosmos_endpoint, cosmos_database, cosmos_container, query_documents

For the table storage API: AzureTableStor::table_endpoint

For the MongoDB API: cosmos_mongo_endpoint, mongolite::mongo

[Package AzureCosmosR version 1.0.0 Index]