Uses of Annotation Type
com.azure.cosmos.util.Beta
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of Beta in com.azure.cosmos
Modifier and TypeClassDescriptionfinal class
The type Cosmos async clientEncryptionKey.class
The type Cosmos clientEncryptionKey.class
This configuration is used for throughput global control mode.class
Throughput global control config builder.final class
Throughput control group configuration.class
The throughput control group config builder.Modifier and TypeMethodDescriptionCosmosClientBuilder.authorizationTokenResolver
(CosmosAuthorizationTokenResolver cosmosAuthorizationTokenResolver) Sets the token resolverGlobalThroughputControlConfigBuilder.build()
Validate the throughput global control configuration and create a new throughput global control config item.ThroughputControlGroupConfigBuilder.build()
Validate the throughput configuration and create a new throughput control group config item.boolean
ThroughputControlGroupConfig.continueOnInitError()
Get whether request is allowed to continue on original request flow if throughput control controller failed on initialization.ThroughputControlGroupConfigBuilder.continueOnInitError
(boolean continueOnInitError) Set whether allow request to continue on original request flow if throughput control controller failed on initialization.CosmosAsyncDatabase.createClientEncryptionKey
(CosmosClientEncryptionKeyProperties keyProperties) Creates a client encryption key after subscription the operation will be performed.CosmosAsyncClient.createGlobalThroughputControlConfigBuilder
(String databaseId, String containerId) Create global throughput control config builder which will be used to buildGlobalThroughputControlConfig
.CosmosClient.createGlobalThroughputControlConfigBuilder
(String databaseId, String containerId) Create global throughput control config builder which will be used to buildGlobalThroughputControlConfig
.ThroughputControlGroupConfigBuilder.defaultControlGroup
(boolean aDefault) Set whether this throughput control group will be used by default.CosmosAsyncContainer.deleteAllItemsByPartitionKey
(PartitionKey partitionKey, CosmosItemRequestOptions options) Deletes all items in the Container with the specified partitionKey value.CosmosContainer.deleteAllItemsByPartitionKey
(PartitionKey partitionKey, CosmosItemRequestOptions options) Deletes all items in the Container with the specified partitionKey value.void
CosmosAsyncContainer.enableGlobalThroughputControlGroup
(ThroughputControlGroupConfig groupConfig, GlobalThroughputControlConfig globalControlConfig) Enable the throughput control group with global control mode.void
CosmosContainer.enableGlobalThroughputControlGroup
(ThroughputControlGroupConfig groupConfig, GlobalThroughputControlConfig globalControlConfig) Enable the throughput control group with global control mode.void
CosmosAsyncContainer.enableLocalThroughputControlGroup
(ThroughputControlGroupConfig groupConfig) Enable the throughput control group with local control mode.void
CosmosContainer.enableLocalThroughputControlGroup
(ThroughputControlGroupConfig groupConfig) Enable the throughput control group with local control mode.CosmosAsyncDatabase.getClientEncryptionKey
(String id) Gets a CosmosAsyncClientEncryptionKey object without making a service callCosmosDatabase.getClientEncryptionKey
(String id) Gets a CosmosClientEncryptionKey object without making a service callCosmosDiagnostics.getContactedRegionNames()
Regions contacted for this requestGlobalThroughputControlConfig.getControlItemExpireInterval()
Get the control item expire interval.GlobalThroughputControlConfig.getControlItemRenewInterval()
Get the control item renew interval.CosmosAsyncContainer.getFeedRanges()
Obtains a list ofFeedRange
that can be used to parallelize Feed operations.CosmosContainer.getFeedRanges()
Obtains a list ofFeedRange
that can be used to parallelize Feed operations.ThroughputControlGroupConfig.getGroupName()
Get the throughput control group name.CosmosAsyncClientEncryptionKey.getId()
Get the id of theCosmosAsyncClientEncryptionKey
CosmosClientEncryptionKey.getId()
Get the id of theCosmosClientEncryptionKey
CosmosDiagnostics.getRegionsContacted()
Deprecated.ThroughputControlGroupConfig.getTargetThroughput()
Get throughput control group target throughput.ThroughputControlGroupConfig.getTargetThroughputThreshold()
Get the throughput control group target throughput threshold.Set the throughput control group name.boolean
ThroughputControlGroupConfig.isDefault()
Get whether this throughput control group will be used by default.CosmosAsyncContainer.openConnectionsAndInitCaches()
Best effort to initializes the container by warming up the caches and connections for the current read region.void
CosmosContainer.openConnectionsAndInitCaches()
Initializes the container by warming up the caches and connections for the current read region.<T> CosmosPagedFlux<T>
CosmosAsyncContainer.queryChangeFeed
(CosmosChangeFeedRequestOptions options, Class<T> classType) Query for items in the change feed of the current container using theCosmosChangeFeedRequestOptions
.<T> CosmosPagedIterable<T>
CosmosContainer.queryChangeFeed
(CosmosChangeFeedRequestOptions options, Class<T> classType) Query for items in the change feed of the current container using theCosmosChangeFeedRequestOptions
.CosmosAsyncDatabase.queryClientEncryptionKeys
(SqlQuerySpec querySpec) Query for cosmos client encryption keys in a database.CosmosAsyncDatabase.queryClientEncryptionKeys
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for cosmos client encryption keys in a database.CosmosAsyncDatabase.queryClientEncryptionKeys
(String query) Query for cosmos client encryption keys in a database.CosmosAsyncDatabase.queryClientEncryptionKeys
(String query, CosmosQueryRequestOptions options) Query for cosmos client encryption keys in a database.CosmosAsyncClientEncryptionKey.read()
Reads a cosmos client encryption keyCosmosClientEncryptionKey.read()
Reads a cosmos client encryption keyCosmosAsyncDatabase.readAllClientEncryptionKeys()
Reads all cosmos client encryption keys in a database.CosmosAsyncDatabase.readAllClientEncryptionKeys
(CosmosQueryRequestOptions options) Reads all cosmos client encryption keys in a database.CosmosDatabase.readAllClientEncryptionKeys()
Reads all cosmos client encryption keys in a database.CosmosAsyncClientEncryptionKey.replace
(CosmosClientEncryptionKeyProperties keyProperties) Replace a cosmos client encryption key.GlobalThroughputControlConfigBuilder.setControlItemExpireInterval
(Duration controlItemExpireInterval) Set the control item expire interval.GlobalThroughputControlConfigBuilder.setControlItemRenewInterval
(Duration controlItemRenewInterval) Set the control item renew interval.ThroughputControlGroupConfigBuilder.setDefault
(boolean aDefault) Deprecated.ThroughputControlGroupConfigBuilder.setGroupName
(String groupName) Deprecated.ThroughputControlGroupConfigBuilder.setTargetThroughput
(int targetThroughput) Deprecated.ThroughputControlGroupConfigBuilder.setTargetThroughputThreshold
(double targetThroughputThreshold) Deprecated.ThroughputControlGroupConfigBuilder.targetThroughput
(int targetThroughput) Set the throughput control group target throughput.ThroughputControlGroupConfigBuilder.targetThroughputThreshold
(double targetThroughputThreshold) Set the throughput control group target throughput threshold. -
Uses of Beta in com.azure.cosmos.models
Modifier and TypeClassDescriptionfinal class
Represents the change feed policy configuration for the container in the Azure Cosmos DB service.final class
Path that needs encryption and the associated settings withinClientEncryptionPolicy
.final class
Client encryption policy.interface
This interface is for client side implementation, which can be used for initializing CosmosAsyncClient without passing master key, resource token and permission feed.
Each time the SDK create request for CosmosDB, authorization token is generated based on that request at client side which enables creation of one CosmosAsyncClient per application shared across various users with different resource permissions.final class
Encapsulates options that can be specified for an operation within a change feed request.final class
Details of an encryption key for use with the Azure Cosmos DB service.final class
The type Cosmos client encryption key response.final class
Metadata that can be used to wrap/unwrap a Data Encryption Key using a Customer Managed Key.interface
Represents a feed range.final class
Builder for partition keys.Modifier and TypeMethodDescriptionPartitionKeyBuilder.add
(boolean value) Adds partition value of type booleanPartitionKeyBuilder.add
(double value) Adds partition value of type doubleAdds partition value of type stringPartitionKeyBuilder.addNoneValue()
Adds a None Partition KeyPartitionKeyBuilder.addNullValue()
Adds a null partition key valuePartitionKeyBuilder.build()
Builds a new instance of the type PartitionKey with the specified Partition Key values.CosmosChangeFeedRequestOptions.createForProcessingFromBeginning
(FeedRange feedRange) Creates a newCosmosChangeFeedRequestOptions
instance to start processing change feed items from the beginning of the change feedCosmosChangeFeedRequestOptions.createForProcessingFromContinuation
(String continuation) Creates a newCosmosChangeFeedRequestOptions
instance to start processing change feed items from a previous continuationCosmosChangeFeedRequestOptions.createForProcessingFromNow
(FeedRange feedRange) Creates a newCosmosChangeFeedRequestOptions
instance to start processing change feed items from the current time - so only events for all future changes will be retrievedCosmosChangeFeedRequestOptions.createForProcessingFromPointInTime
(Instant pointInTime, FeedRange feedRange) Creates a newCosmosChangeFeedRequestOptions
instance to start processing change feed items from a certain point in timestatic ChangeFeedPolicy
ChangeFeedPolicy.createFullFidelityPolicy
(Duration retentionDuration) Creates a ChangeFeedPolicy with retention duration for full fidelity processingstatic ChangeFeedPolicy
ChangeFeedPolicy.createIncrementalPolicy()
Creates a default ChangeFeedPolicy without retention duration specified.static FeedRange
FeedRange.forFullRange()
Creates a range for an entire containerstatic FeedRange
FeedRange.forLogicalPartition
(PartitionKey partitionKey) Creates a range for a certain logical partitionstatic FeedRange
FeedRange.fromString
(String json) Creates a range from a previously obtained string representation.CosmosChangeFeedRequestOptions.fullFidelity()
Changes the change feed mode so that the change feed will contain events for creations, deletes as well as all intermediary snapshots for updates.EncryptionKeyWrapMetadata.getAlgorithm()
Serialized form of metadata.CosmosContainerProperties.getChangeFeedPolicy()
Gets the changeFeedPolicy for this container in the Azure Cosmos DB service.ClientEncryptionIncludedPath.getClientEncryptionKeyId()
Gets the identifier of the Data Encryption Key to be used to encrypt the path.CosmosContainerProperties.getClientEncryptionPolicy()
Gets the ClientEncryptionPolicy that is used for encrypting item fieldsClientEncryptionIncludedPath.getEncryptionAlgorithm()
Gets the type of encryption algorithm to be performed.CosmosClientEncryptionKeyProperties.getEncryptionAlgorithm()
Gets the encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data.CosmosClientEncryptionKeyProperties.getEncryptionKeyWrapMetadata()
Gets the metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key.ClientEncryptionIncludedPath.getEncryptionType()
Gets the type of encryption to be performed.CosmosClientEncryptionKeyProperties.getETag()
Get the entity tag associated with the resource.CosmosChangeFeedRequestOptions.getFeedRange()
Gets the feed range.CosmosQueryRequestOptions.getFeedRange()
Gets theFeedRange
ChangeFeedPolicy.getFullFidelityRetentionDuration()
Gets the retention duration in which it will be possible to process change feed events with full fidelity mode (meaning intermediary changes and deletes will be exposed in change feed).CosmosClientEncryptionKeyProperties.getId()
Gets the name of the resource.ClientEncryptionPolicy.getIncludedPaths()
Gets the list of path of the item that need encryption along with path-specific settings.int
CosmosChangeFeedRequestOptions.getMaxItemCount()
Gets the maximum number of items to be returned in the enumeration operation.int
CosmosChangeFeedRequestOptions.getMaxPrefetchPageCount()
Gets the maximum number of pages that will be prefetched from the backend asynchronously in the background.EncryptionKeyWrapMetadata.getName()
Serialized form of metadata.ClientEncryptionIncludedPath.getPath()
Gets the path to be encrypted.int
ClientEncryptionPolicy.getPolicyFormatVersion()
Version of the client encryption policy definition.CosmosClientEncryptionKeyResponse.getProperties()
Gets the cosmos client encryption key propertiesChangeFeedProcessorOptions.getScheduler()
Gets the internalScheduler
that hosts a pool of ExecutorService-based workers for any change feed processor related tasks.CosmosChangeFeedRequestOptions.getThroughputControlGroupName()
Get the throughput control group name.CosmosItemRequestOptions.getThroughputControlGroupName()
Gets the throughput control group name.CosmosQueryRequestOptions.getThroughputControlGroupName()
Get throughput control group name.CosmosClientEncryptionKeyProperties.getTimestamp()
Get the last modified timestamp associated with the resource.EncryptionKeyWrapMetadata.getType()
Serialized form of metadata.EncryptionKeyWrapMetadata.getValue()
Serialized form of metadata.byte[]
CosmosClientEncryptionKeyProperties.getWrappedDataEncryptionKey()
Gets the wrapped form of the client encryption key.boolean
CosmosChangeFeedRequestOptions.isQuotaInfoEnabled()
Gets the quotaInfoEnabled setting for change feed request in the Azure Cosmos DB database service.CosmosContainerProperties.setChangeFeedPolicy
(ChangeFeedPolicy value) Sets the changeFeedPolicy for this container in the Azure Cosmos DB service.ClientEncryptionIncludedPath.setClientEncryptionKeyId
(String clientEncryptionKeyId) Sets the identifier of the Data Encryption Key to be used to encrypt the path.CosmosContainerProperties.setClientEncryptionPolicy
(ClientEncryptionPolicy value) Sets the ClientEncryptionPolicy that is used for encrypting item fieldsClientEncryptionIncludedPath.setEncryptionAlgorithm
(String encryptionAlgorithm) Sets the type of encryption algorithm to be performed.CosmosClientEncryptionKeyProperties.setEncryptionAlgorithm
(String encryptionAlgorithm) Sets the encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data.CosmosClientEncryptionKeyProperties.setEncryptionKeyWrapMetadata
(EncryptionKeyWrapMetadata encryptionKeyWrapMetadata) Sets the metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key.ClientEncryptionIncludedPath.setEncryptionType
(String encryptionType) Sets the type of encryption to be performed.CosmosQueryRequestOptions.setFeedRange
(FeedRange feedRange) Sets theFeedRange
that we want to querySets the name of the resource.CosmosChangeFeedRequestOptions.setMaxItemCount
(int maxItemCount) Sets the maximum number of items to be returned in the enumeration operation.CosmosChangeFeedRequestOptions.setMaxPrefetchPageCount
(int maxPrefetchPageCount) Sets the maximum number of pages that will be prefetched from the backend asynchronously in the background.Sets the path to be encrypted.void
CosmosChangeFeedRequestOptions.setQuotaInfoEnabled
(boolean quotaInfoEnabled) Gets the quotaInfoEnabled setting for change feed request in the Azure Cosmos DB database service.ChangeFeedProcessorOptions.setScheduler
(Scheduler scheduler) Sets the internalScheduler
that hosts a pool of ExecutorService-based workers for any change feed processor related tasks.CosmosChangeFeedRequestOptions.setThroughputControlGroupName
(String throughputControlGroupName) Set the throughput control group name.void
CosmosItemRequestOptions.setThroughputControlGroupName
(String throughputControlGroupName) Sets the throughput control group name.CosmosQueryRequestOptions.setThroughputControlGroupName
(String throughputControlGroupName) Set the throughput control group name.CosmosClientEncryptionKeyProperties.setWrappedDataEncryptionKey
(byte[] wrappedDataEncryptionKey) Sets the wrapped form of the client encryption key.FeedRange.toString()
Gets a json representation of the feed range - the returned json string can be used to create a new feed range instance from it - (use factory method fromJsonString to do so)ModifierConstructorDescriptionConstructor.CosmosClientEncryptionKeyProperties
(String id, String encryptionAlgorithm, byte[] wrappedDataEncryptionKey, EncryptionKeyWrapMetadata encryptionKeyWrapMetadata) Constructor.For JSON deserializeCreates a new instance of key wrap metadata based on an existing instance.EncryptionKeyWrapMetadata
(String type, String name, String value) Deprecated.EncryptionKeyWrapMetadata
(String type, String name, String value, String algorithm) Creates a new instance of key wrap metadata based on an existing instance.Constructor.