Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
Mono<CosmosContainerResponse> |
CosmosAsyncDatabase.createContainer(CosmosContainerProperties containerProperties,
CosmosContainerRequestOptions options)
Creates a Cosmos container.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties,
CosmosContainerRequestOptions options)
Creates a Cosmos container while passing additional request options.
|
Mono<CosmosContainerResponse> |
CosmosAsyncDatabase.createContainer(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties,
CosmosContainerRequestOptions options)
Creates a container.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties,
CosmosContainerRequestOptions options)
Creates a Cosmos container.
|
CosmosContainerResponse |
CosmosContainer.delete(CosmosContainerRequestOptions options)
Deletes the current Cosmos container while specifying additional options such as If-Match.
|
Mono<CosmosContainerResponse> |
CosmosAsyncContainer.delete(CosmosContainerRequestOptions options)
Deletes the container
|
CosmosContainerResponse |
CosmosContainer.read(CosmosContainerRequestOptions options)
Reads the current container while specifying additional options such as If-Match.
|
Mono<CosmosContainerResponse> |
CosmosAsyncContainer.read(CosmosContainerRequestOptions options)
Reads the current container while specifying additional options such as If-Match.
|
CosmosContainerResponse |
CosmosContainer.replace(CosmosContainerProperties containerProperties,
CosmosContainerRequestOptions options)
Replaces the current container properties while specifying additional options such as If-Match.
|
Mono<CosmosContainerResponse> |
CosmosAsyncContainer.replace(CosmosContainerProperties containerProperties,
CosmosContainerRequestOptions options)
Replaces the current container properties while using non-default request options.
|
Modifier and Type | Method and Description |
---|---|
CosmosContainerRequestOptions |
CosmosContainerRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
CosmosContainerRequestOptions |
CosmosContainerRequestOptions.setIfNoneMatchETag(String ifNoneMatchETag)
Sets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
CosmosContainerRequestOptions |
CosmosContainerRequestOptions.setQuotaInfoEnabled(boolean quotaInfoEnabled)
Sets the quotaInfoEnabled setting for cosmos container read requests in the Azure Cosmos DB database service.
|
CosmosContainerRequestOptions |
CosmosContainerRequestOptions.setSessionToken(String sessionToken)
Sets the token for use with session consistency.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.