Cosmosdb Functions
object CosmosdbFunctions
Functions
Link copied to clipboard
Use this data source to access information about an existing CosmosDB (formally DocumentDB) Account.
Link copied to clipboard
Use this data source to access information about an existing Cosmos DB Mongo Database.
suspend fun getMongoDatabase(argument: suspend GetMongoDatabasePlainArgsBuilder.() -> Unit): GetMongoDatabaseResult
suspend fun getMongoDatabase(accountName: String, name: String, resourceGroupName: String): GetMongoDatabaseResult
Link copied to clipboard
suspend fun getRestorableDatabaseAccounts(argument: GetRestorableDatabaseAccountsPlainArgs): GetRestorableDatabaseAccountsResult
Use this data source to access information about Cosmos DB Restorable Database Accounts.
suspend fun getRestorableDatabaseAccounts(argument: suspend GetRestorableDatabaseAccountsPlainArgsBuilder.() -> Unit): GetRestorableDatabaseAccountsResult
suspend fun getRestorableDatabaseAccounts(location: String, name: String): GetRestorableDatabaseAccountsResult
Link copied to clipboard
Use this data source to access information about an existing CosmosDB SQL Database.
suspend fun getSqlDatabase(argument: suspend GetSqlDatabasePlainArgsBuilder.() -> Unit): GetSqlDatabaseResult
suspend fun getSqlDatabase(accountName: String, name: String, resourceGroupName: String): GetSqlDatabaseResult
Link copied to clipboard
suspend fun getSqlRoleDefinition(argument: GetSqlRoleDefinitionPlainArgs): GetSqlRoleDefinitionResult
Use this data source to access information about an existing Cosmos DB SQL Role Definition.
suspend fun getSqlRoleDefinition(argument: suspend GetSqlRoleDefinitionPlainArgsBuilder.() -> Unit): GetSqlRoleDefinitionResult
suspend fun getSqlRoleDefinition(accountName: String, resourceGroupName: String, roleDefinitionId: String): GetSqlRoleDefinitionResult