Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
Modifier and Type | Method and Description |
---|---|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties)
Creates a Cosmos container.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties,
CosmosContainerRequestOptions options)
Creates a Cosmos container while passing additional request options.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties)
Creates a Cosmos container with custom throughput setting.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties,
CosmosContainerRequestOptions options)
Creates a Cosmos container.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(String id,
String partitionKeyPath)
Create a Cosmos container.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(String id,
String partitionKeyPath,
ThroughputProperties throughputProperties)
Create a Cosmos container.
|
CosmosContainerResponse |
CosmosDatabase.createContainerIfNotExists(CosmosContainerProperties containerProperties)
Create container if one matching the id in the properties object does not exist.
|
CosmosContainerResponse |
CosmosDatabase.createContainerIfNotExists(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties)
Creates a Cosmos container if one matching the id in the properties object does not exist.
|
CosmosContainerResponse |
CosmosDatabase.createContainerIfNotExists(String id,
String partitionKeyPath)
Creates a Cosmos container if one matching the id does not exist.
|
CosmosContainerResponse |
CosmosDatabase.createContainerIfNotExists(String id,
String partitionKeyPath,
ThroughputProperties throughputProperties)
Creates a Cosmos container if one matching the id does not exist.
|
CosmosContainerResponse |
CosmosContainer.delete()
Deletes the current cosmos container.
|
CosmosContainerResponse |
CosmosContainer.delete(CosmosContainerRequestOptions options)
Deletes the current Cosmos container while specifying additional options such as If-Match.
|
CosmosContainerResponse |
CosmosContainer.read()
Reads the current container.
|
CosmosContainerResponse |
CosmosContainer.read(CosmosContainerRequestOptions options)
Reads the current container while specifying additional options such as If-Match.
|
CosmosContainerResponse |
CosmosContainer.replace(CosmosContainerProperties containerProperties)
Replaces the current container properties.
|
CosmosContainerResponse |
CosmosContainer.replace(CosmosContainerProperties containerProperties,
CosmosContainerRequestOptions options)
Replaces the current container properties while specifying additional options such as If-Match.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.