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)
Creates a Cosmos container.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties)
Creates a Cosmos container.
|
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)
Creates a Cosmos container with custom throughput properties.
|
CosmosContainerResponse |
CosmosDatabase.createContainer(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties)
Creates a Cosmos container with custom throughput setting.
|
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.
|
Mono<CosmosContainerResponse> |
CosmosAsyncDatabase.createContainerIfNotExists(CosmosContainerProperties containerProperties)
Creates a Cosmos container if it does not exist on the service.
|
CosmosContainerResponse |
CosmosDatabase.createContainerIfNotExists(CosmosContainerProperties containerProperties)
Create container if one matching the id in the properties object does not exist.
|
Mono<CosmosContainerResponse> |
CosmosAsyncDatabase.createContainerIfNotExists(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties)
Creates a Cosmos container if it does not exist on the service.
|
CosmosContainerResponse |
CosmosDatabase.createContainerIfNotExists(CosmosContainerProperties containerProperties,
ThroughputProperties throughputProperties)
Creates a Cosmos container if one matching the id in the properties object does not exist.
|
CosmosContainerResponse |
CosmosContainer.replace(CosmosContainerProperties containerProperties)
Replaces the current container properties.
|
Mono<CosmosContainerResponse> |
CosmosAsyncContainer.replace(CosmosContainerProperties containerProperties)
Replaces the current container's properties.
|
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 |
---|---|
CosmosContainerProperties |
CosmosContainerResponse.getProperties()
Gets the container properties
|
CosmosContainerProperties |
CosmosContainerProperties.setAnalyticalStoreTimeToLiveInSeconds(Integer timeToLive)
Sets the analytical store time to live in seconds for items in a container from the Azure Cosmos DB service.
|
CosmosContainerProperties |
CosmosContainerProperties.setChangeFeedPolicy(ChangeFeedPolicy value)
Sets the changeFeedPolicy for this container in the Azure Cosmos DB service.
|
CosmosContainerProperties |
CosmosContainerProperties.setClientEncryptionPolicy(ClientEncryptionPolicy value)
Sets the ClientEncryptionPolicy that is used for encrypting item fields
|
CosmosContainerProperties |
CosmosContainerProperties.setConflictResolutionPolicy(ConflictResolutionPolicy value)
Sets the conflictResolutionPolicy that is used for resolving conflicting writes
on items in different regions, in a container in the Azure Cosmos DB service.
|
CosmosContainerProperties |
CosmosContainerProperties.setDefaultTimeToLiveInSeconds(Integer timeToLive)
Sets the container's default time-to-live value.
|
CosmosContainerProperties |
CosmosContainerProperties.setId(String id)
Sets the name of the resource.
|
CosmosContainerProperties |
CosmosContainerProperties.setIndexingPolicy(IndexingPolicy indexingPolicy)
Sets the container's indexing policy
|
CosmosContainerProperties |
CosmosContainerProperties.setPartitionKeyDefinition(PartitionKeyDefinition partitionKeyDefinition)
Sets the containers's partition key definition.
|
CosmosContainerProperties |
CosmosContainerProperties.setUniqueKeyPolicy(UniqueKeyPolicy uniqueKeyPolicy)
Sets the Containers unique key policy
|
Copyright © 2021 Microsoft Corporation. All rights reserved.