CosmosdbFunctions

Functions

Link copied to clipboard

Use this data source to access information about an existing CosmosDB (formally DocumentDB) Account.

suspend fun getAccount(argument: suspend GetAccountPlainArgsBuilder.() -> Unit): GetAccountResult
suspend fun getAccount(name: String, resourceGroupName: String): GetAccountResult
Link copied to clipboard

Use this data source to access information about an existing Cosmos DB Mongo Database.

suspend fun getMongoDatabase(accountName: String, name: String, resourceGroupName: String): GetMongoDatabaseResult
Link copied to clipboard
Link copied to clipboard

Use this data source to access information about an existing CosmosDB SQL Database.

suspend fun getSqlDatabase(accountName: String, name: String, resourceGroupName: String): GetSqlDatabaseResult
Link copied to clipboard

Use this data source to access information about an existing Cosmos DB SQL Role Definition.

suspend fun getSqlRoleDefinition(accountName: String, resourceGroupName: String, roleDefinitionId: String): GetSqlRoleDefinitionResult