DocumentdbFunctions

Functions

Link copied to clipboard

Get the properties of a managed Cassandra cluster. API Version: 2021-03-01-preview.

suspend fun getCassandraCluster(clusterName: String, resourceGroupName: String): GetCassandraClusterResult
Link copied to clipboard

Get the properties of a managed Cassandra data center. API Version: 2021-03-01-preview.

suspend fun getCassandraDataCenter(clusterName: String, dataCenterName: String, resourceGroupName: String): GetCassandraDataCenterResult
Link copied to clipboard

Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. API Version: 2021-03-15.

suspend fun getCassandraResourceCassandraKeyspace(accountName: String, keyspaceName: String, resourceGroupName: String): GetCassandraResourceCassandraKeyspaceResult
Link copied to clipboard

Gets the Cassandra table under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getCassandraResourceCassandraTable(accountName: String, keyspaceName: String, resourceGroupName: String, tableName: String): GetCassandraResourceCassandraTableResult
Link copied to clipboard

Gets the Cassandra view under an existing Azure Cosmos DB database account. API Version: 2021-07-01-preview.

suspend fun getCassandraResourceCassandraView(accountName: String, keyspaceName: String, resourceGroupName: String, viewName: String): GetCassandraResourceCassandraViewResult
Link copied to clipboard

Retrieves the properties of an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getDatabaseAccount(accountName: String, resourceGroupName: String): GetDatabaseAccountResult
Link copied to clipboard

Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. API Version: 2021-07-01-preview.

suspend fun getGraphResourceGraph(accountName: String, graphName: String, resourceGroupName: String): GetGraphResourceGraphResult
Link copied to clipboard

Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. API Version: 2021-03-15.

suspend fun getGremlinResourceGremlinDatabase(accountName: String, databaseName: String, resourceGroupName: String): GetGremlinResourceGremlinDatabaseResult
Link copied to clipboard

Gets the Gremlin graph under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getGremlinResourceGremlinGraph(accountName: String, databaseName: String, graphName: String, resourceGroupName: String): GetGremlinResourceGremlinGraphResult
Link copied to clipboard

Gets the MongoDB collection under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getMongoDBResourceMongoDBCollection(accountName: String, collectionName: String, databaseName: String, resourceGroupName: String): GetMongoDBResourceMongoDBCollectionResult
Link copied to clipboard

Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. API Version: 2021-03-15.

suspend fun getMongoDBResourceMongoDBDatabase(accountName: String, databaseName: String, resourceGroupName: String): GetMongoDBResourceMongoDBDatabaseResult
Link copied to clipboard

Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. API Version: 2021-10-15-preview.

suspend fun getMongoDBResourceMongoRoleDefinition(accountName: String, mongoRoleDefinitionId: String, resourceGroupName: String): GetMongoDBResourceMongoRoleDefinitionResult
Link copied to clipboard

Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. API Version: 2021-10-15-preview.

suspend fun getMongoDBResourceMongoUserDefinition(accountName: String, mongoUserDefinitionId: String, resourceGroupName: String): GetMongoDBResourceMongoUserDefinitionResult
Link copied to clipboard

Gets the notebook workspace for a Cosmos DB account. API Version: 2021-03-15.

suspend fun getNotebookWorkspace(accountName: String, notebookWorkspaceName: String, resourceGroupName: String): GetNotebookWorkspaceResult
Link copied to clipboard

Gets a private endpoint connection. API Version: 2021-03-15.

suspend fun getPrivateEndpointConnection(accountName: String, privateEndpointConnectionName: String, resourceGroupName: String): GetPrivateEndpointConnectionResult
Link copied to clipboard

Gets the status of service. API Version: 2021-04-01-preview.

suspend fun getService(argument: suspend GetServicePlainArgsBuilder.() -> Unit): GetServiceResult
suspend fun getService(accountName: String, resourceGroupName: String, serviceName: String): GetServiceResult
Link copied to clipboard

Gets the SQL container under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getSqlResourceSqlContainer(accountName: String, containerName: String, databaseName: String, resourceGroupName: String): GetSqlResourceSqlContainerResult
Link copied to clipboard

Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. API Version: 2021-03-15.

suspend fun getSqlResourceSqlDatabase(accountName: String, databaseName: String, resourceGroupName: String): GetSqlResourceSqlDatabaseResult
Link copied to clipboard

Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. API Version: 2021-03-01-preview.

suspend fun getSqlResourceSqlRoleAssignment(accountName: String, resourceGroupName: String, roleAssignmentId: String): GetSqlResourceSqlRoleAssignmentResult
Link copied to clipboard

Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. API Version: 2021-03-01-preview.

suspend fun getSqlResourceSqlRoleDefinition(accountName: String, resourceGroupName: String, roleDefinitionId: String): GetSqlResourceSqlRoleDefinitionResult
Link copied to clipboard

Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getSqlResourceSqlStoredProcedure(accountName: String, containerName: String, databaseName: String, resourceGroupName: String, storedProcedureName: String): GetSqlResourceSqlStoredProcedureResult
Link copied to clipboard

Gets the SQL trigger under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getSqlResourceSqlTrigger(accountName: String, containerName: String, databaseName: String, resourceGroupName: String, triggerName: String): GetSqlResourceSqlTriggerResult
Link copied to clipboard

Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun getSqlResourceSqlUserDefinedFunction(accountName: String, containerName: String, databaseName: String, resourceGroupName: String, userDefinedFunctionName: String): GetSqlResourceSqlUserDefinedFunctionResult
Link copied to clipboard

Gets the Tables under an existing Azure Cosmos DB database account with the provided name. API Version: 2021-03-15.

suspend fun getTableResourceTable(accountName: String, resourceGroupName: String, tableName: String): GetTableResourceTableResult
Link copied to clipboard

Lists the access keys for the specified Azure Cosmos DB database account. API Version: 2021-03-15.

suspend fun listDatabaseAccountKeys(accountName: String, resourceGroupName: String): ListDatabaseAccountKeysResult