VSC-Service-Account 2024-02-22 05:57:24 +00:00
Родитель 07678640d6
Коммит 8908ca1bae
157 изменённых файлов: 530 добавлений и 155 удалений

Просмотреть файл

@ -25,4 +25,4 @@ type: "class"
desc: "The type Availability strategy."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -1179,4 +1179,4 @@ type: "class"
desc: "DO NOT USE. This is meant to be used only internally as a bridge access to classes in com.azure.cosmos"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "interface"
desc: "Simple host for distributing change feed events across observers, simplifying the process of reading the change feeds and distributing the processing events across multiple consumers effectively.\n\nThere are four main components of implementing the change feed processor:\n\n * The monitored container: the monitored container has the data from which the change feed is generated. Any inserts and updates to the monitored container are reflected in the change feed of the container.\n * The lease container: the lease container acts as a state storage and coordinates processing the change feed across multiple workers. The lease container can be stored in the same account as the monitored container or in a separate account.\n * The host: a host is an application instance that uses the change feed processor to listen for changes. Multiple instances with the same lease configuration can run in parallel, but each instance should have a different instance name.\n * The delegate: the delegate is the code that defines what you, the developer, want to do with each batch of changes that the change feed processor reads.\n\nBelow is an example of building ChangeFeedProcessor for LatestVersion mode.\n\n```java\nChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleChanges(docs -> {\n for (JsonNode item : docs) {\n // Implementation for handling and processing of each JsonNode item goes here\n }\n })\n .buildChangeFeedProcessor();\n```\n\nBelow is an example of building ChangeFeedProcessor for AllVersionsAndDeletes mode.\n\n```java\nChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleAllVersionsAndDeletesChanges(docs -> {\n for (ChangeFeedProcessorItem item : docs) {\n // Implementation for handling and processing of each ChangeFeedProcessorItem item goes here\n }\n })\n .buildChangeFeedProcessor();\n```"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -156,4 +156,4 @@ type: "class"
desc: "Helper class to build a <xref uid=\"com.azure.cosmos.ChangeFeedProcessor\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessor\"></xref> instance. Below is an example of building ChangeFeedProcessor for LatestVersion mode.\n\n```java\nChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleChanges(docs -> {\n for (JsonNode item : docs) {\n // Implementation for handling and processing of each JsonNode item goes here\n }\n })\n .buildChangeFeedProcessor();\n```\n\nBelow is an example of building ChangeFeedProcessor with throughput control for handleChanges.\n\n```java\nThroughputControlGroupConfig throughputControlGroupConfig =\n new ThroughputControlGroupConfigBuilder()\n .groupName(\"cfp\")\n .targetThroughput(300)\n .priorityLevel(PriorityLevel.LOW)\n .build();\n ChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleChanges(docs -> {\n for (JsonNode item : docs) {\n // Implementation for handling and processing of each JsonNode item goes here\n }\n })\n .options(\n new ChangeFeedProcessorOptions()\n .setFeedPollThroughputControlConfig(throughputControlGroupConfig)\n )\n .buildChangeFeedProcessor();\n```\n\nBelow is an example of building ChangeFeedProcessor with throughput control for LatestVersion mode.\n\n```java\nThroughputControlGroupConfig throughputControlGroupConfig =\n new ThroughputControlGroupConfigBuilder()\n .groupName(\"cfp\")\n .targetThroughput(300)\n .priorityLevel(PriorityLevel.LOW)\n .build();\n ChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleLatestVersionChanges(changeFeedProcessorItems -> {\n for (ChangeFeedProcessorItem item : changeFeedProcessorItems) {\n // Implementation for handling and processing of each change feed item goes here\n }\n })\n .options(\n new ChangeFeedProcessorOptions()\n .setFeedPollThroughputControlConfig(throughputControlGroupConfig)\n )\n .buildChangeFeedProcessor();\n```\n\nBelow is an example of building ChangeFeedProcessor for AllVersionsAndDeletes mode.\n\n```java\nChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleAllVersionsAndDeletesChanges(docs -> {\n for (ChangeFeedProcessorItem item : docs) {\n // Implementation for handling and processing of each ChangeFeedProcessorItem item goes here\n }\n })\n .buildChangeFeedProcessor();\n```\n\nBelow is an example of building ChangeFeedProcessor for AllVersionsAndDeletes mode when also wishing to process a <xref uid=\"com.azure.cosmos.ChangeFeedProcessorContext\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessorContext\"></xref>.\n\n```java\nChangeFeedProcessor changeFeedProcessor = new ChangeFeedProcessorBuilder()\n .hostName(hostName)\n .feedContainer(feedContainer)\n .leaseContainer(leaseContainer)\n .handleAllVersionsAndDeletesChanges((docs, context) -> {\n for (ChangeFeedProcessorItem item : docs) {\n // Implementation for handling and processing of each ChangeFeedProcessorItem item goes here\n }\n String leaseToken = context.getLeaseToken();\n // Handling of the lease token corresponding to a batch of change feed processor item goes here\n })\n .buildChangeFeedProcessor();\n```"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -22,4 +22,4 @@ type: "interface"
desc: "Encapsulates properties which are mapped to a batch of change feed documents processed when <xref uid=\"com.azure.cosmos.ChangeFeedProcessorBuilder.handleAllVersionsAndDeletesChanges*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessorBuilder#handleAllVersionsAndDeletesChanges(BiConsumer)\"></xref> lambda is invoked.\n\nNOTE: This interface is not designed to be implemented by end users."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -67,4 +67,4 @@ methods:
desc: "Represents the connection mode to be used by the client in the Azure Cosmos DB database service.\n\nDIRECT and GATEWAY connectivity modes are supported. DIRECT is the default."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -93,4 +93,4 @@ methods:
desc: "Represents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB service.\n\nThe requested ConsistencyLevel must match or be weaker than that provisioned for the database account. Consistency levels by order of strength are STRONG, BOUNDED\\_STALENESS, SESSION and EVENTUAL. Refer to consistency level documentation for additional details: https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -254,4 +254,4 @@ implements:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html\">Closeable</a>"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -60,4 +60,4 @@ type: "class"
desc: "The type Cosmos async clientEncryptionKey. This contains methods to operate on a cosmos clientEncryptionKey asynchronously"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -64,4 +64,4 @@ type: "class"
desc: "Read and delete conflicts"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -310,6 +310,26 @@ methods:
returns:
description: "an <xref uid=\"reactor.core.publisher.Mono\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Mono\"></xref> containing the Cosmos item response with the read item or an error."
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a>&lt;<xref href=\"com.azure.cosmos.models.CosmosItemResponse?alt=com.azure.cosmos.models.CosmosItemResponse&text=CosmosItemResponse\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;&gt;"
- uid: "com.azure.cosmos.CosmosAsyncContainer.<T>readMany(java.util.List<com.azure.cosmos.models.CosmosItemIdentity>,com.azure.cosmos.models.CosmosReadManyRequestOptions,java.lang.Class<T>)"
fullName: "com.azure.cosmos.CosmosAsyncContainer.readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions requestOptions, Class<T> classType)"
name: "readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions requestOptions, Class<T> classType)"
nameWithType: "CosmosAsyncContainer.readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions requestOptions, Class<T> classType)"
summary: "Reads many documents."
parameters:
- description: "CosmosItem id and partition key tuple of items that that needs to be read"
name: "itemIdentityList"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.cosmos.models.CosmosItemIdentity?alt=com.azure.cosmos.models.CosmosItemIdentity&text=CosmosItemIdentity\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "the optional request option"
name: "requestOptions"
type: "<xref href=\"com.azure.cosmos.models.CosmosReadManyRequestOptions?alt=com.azure.cosmos.models.CosmosReadManyRequestOptions&text=CosmosReadManyRequestOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "class type"
name: "classType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a>&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public Mono<FeedResponse<T>> <T>readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions requestOptions, Class<T> classType)"
desc: "Reads many documents. Useful for reading many documents with a particular id and partition key in a single request. If any document from the list is missing, no exception will be thrown.\n\n```java\nList<CosmosItemIdentity> itemIdentityList = new ArrayList<>();\n itemIdentityList.add(new CosmosItemIdentity(new PartitionKey(passenger1Id), passenger1Id));\n itemIdentityList.add(new CosmosItemIdentity(new PartitionKey(passenger2Id), passenger2Id));\n\n cosmosAsyncContainer.readMany(itemIdentityList, Passenger.class)\n .flatMap(passengerFeedResponse -> {\n for (Passenger passenger : passengerFeedResponse.getResults()) {\n System.out.println(passenger);\n }\n return Mono.empty();\n })\n .subscribe();\n```"
returns:
description: "a Mono with feed response of cosmos items or error"
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a>&lt;<xref href=\"com.azure.cosmos.models.FeedResponse?alt=com.azure.cosmos.models.FeedResponse&text=FeedResponse\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;&gt;"
- uid: "com.azure.cosmos.CosmosAsyncContainer.<T>readMany(java.util.List<com.azure.cosmos.models.CosmosItemIdentity>,java.lang.Class<T>)"
fullName: "com.azure.cosmos.CosmosAsyncContainer.readMany(List<CosmosItemIdentity> itemIdentityList, Class<T> classType)"
name: "readMany(List<CosmosItemIdentity> itemIdentityList, Class<T> classType)"
@ -816,4 +836,4 @@ type: "class"
desc: "Provides methods for reading, deleting, and replacing existing Containers. Provides methods for interacting with child resources (Items, Scripts, Conflicts)"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -609,4 +609,4 @@ type: "class"
desc: "Perform read and delete databases, update database throughput, and perform operations on child resources"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -81,4 +81,4 @@ type: "class"
desc: "Has methods to operate on a per-User Permission to access a specific resource"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -259,4 +259,4 @@ type: "class"
desc: "The type Cosmos async scripts. This contains async methods to operate on cosmos scripts like UDFs, StoredProcedures and Triggers"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -132,4 +132,4 @@ type: "class"
desc: "The type Cosmos async stored procedure."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "class"
desc: "The type Cosmos async trigger. This contains methods to operate on a cosmos trigger asynchronously"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -159,4 +159,4 @@ type: "class"
desc: "The type Cosmos async user."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "class"
desc: "The type Cosmos async user defined function."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -194,4 +194,4 @@ type: "class"
desc: "DO NOT USE. For internal use only by the SDK. These methods might break at any time. No support will be provided."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -240,4 +240,4 @@ implements:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html\">Closeable</a>"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -445,4 +445,4 @@ implements:
- "<xref href=\"com.azure.core.client.traits.TokenCredentialTrait?alt=com.azure.core.client.traits.TokenCredentialTrait&text=TokenCredentialTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.cosmos.CosmosClientBuilder?alt=com.azure.cosmos.CosmosClientBuilder&text=CosmosClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -46,4 +46,4 @@ type: "class"
desc: "The type Cosmos clientEncryptionKey. This contains methods to operate on a cosmos clientEncryptionKey synchronously"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -276,6 +276,26 @@ methods:
returns:
description: "the Cosmos item response."
type: "<xref href=\"com.azure.cosmos.models.CosmosItemResponse?alt=com.azure.cosmos.models.CosmosItemResponse&text=CosmosItemResponse\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.cosmos.CosmosContainer.<T>readMany(java.util.List<com.azure.cosmos.models.CosmosItemIdentity>,com.azure.cosmos.models.CosmosReadManyRequestOptions,java.lang.Class<T>)"
fullName: "com.azure.cosmos.CosmosContainer.readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions options, Class<T> classType)"
name: "readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions options, Class<T> classType)"
nameWithType: "CosmosContainer.readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions options, Class<T> classType)"
summary: "Reads many documents."
parameters:
- description: "CosmosItem id and partition key tuple of items that that needs to be read"
name: "itemIdentityList"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.cosmos.models.CosmosItemIdentity?alt=com.azure.cosmos.models.CosmosItemIdentity&text=CosmosItemIdentity\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "the optional request options"
name: "options"
type: "<xref href=\"com.azure.cosmos.models.CosmosReadManyRequestOptions?alt=com.azure.cosmos.models.CosmosReadManyRequestOptions&text=CosmosReadManyRequestOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "class type"
name: "classType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a>&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public FeedResponse<T> <T>readMany(List<CosmosItemIdentity> itemIdentityList, CosmosReadManyRequestOptions options, Class<T> classType)"
desc: "Reads many documents. Useful for reading many documents with a particular id and partition key in a single request. If any document from the list is missing, no exception will be thrown.\n\n```java\nList<CosmosItemIdentity> itemIdentityList = new ArrayList<>();\n itemIdentityList.add(new CosmosItemIdentity(new PartitionKey(passenger1Id), passenger1Id));\n itemIdentityList.add(new CosmosItemIdentity(new PartitionKey(passenger2Id), passenger2Id));\n\n FeedResponse<Passenger> passengerFeedResponse = cosmosContainer.readMany(itemIdentityList, Passenger.class);\n for (Passenger passenger : passengerFeedResponse.getResults()) {\n System.out.println(passenger);\n }\n```"
returns:
description: "a Mono with feed response of cosmos items"
type: "<xref href=\"com.azure.cosmos.models.FeedResponse?alt=com.azure.cosmos.models.FeedResponse&text=FeedResponse\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.cosmos.CosmosContainer.<T>readMany(java.util.List<com.azure.cosmos.models.CosmosItemIdentity>,java.lang.Class<T>)"
fullName: "com.azure.cosmos.CosmosContainer.readMany(List<CosmosItemIdentity> itemIdentityList, Class<T> classType)"
name: "readMany(List<CosmosItemIdentity> itemIdentityList, Class<T> classType)"
@ -670,4 +690,4 @@ type: "class"
desc: "Provides synchronous methods for reading, deleting, and replacing existing Containers Provides methods for interacting with child resources (Items, Scripts, Conflicts)"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -54,4 +54,4 @@ type: "class"
desc: "Encapsulates the list of container identities and no. of proactive connection regions."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -76,4 +76,4 @@ type: "class"
desc: "A builder to build <xref uid=\"com.azure.cosmos.CosmosContainerProactiveInitConfig\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosContainerProactiveInitConfig\"></xref>"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -505,4 +505,4 @@ type: "class"
desc: "Perform read and delete databases, update database throughput, and perform operations on child resources in a synchronous way"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -87,4 +87,4 @@ type: "class"
desc: "This class represents response diagnostic statistics associated with a request to Azure Cosmos DB"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -316,4 +316,4 @@ type: "class"
desc: "This class provides metadata for an operation in the Cosmos DB SDK that can be used by diagnostic handlers"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -39,4 +39,4 @@ type: "interface"
desc: "And interface that can be implemented to add custom diagnostic processors"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -56,4 +56,4 @@ type: "class"
desc: "This class represents diagnostic information for different steps in the request pipeline when processing a data plane request (for example to issue a point operation against a certain replica). This information can be useful to identify where in the request pipeline an error happened or latency was spent - for example whether high latency was due to the fact that a new channel (TCP connection with SSL handshake) needed to be created or because the transport took a long time due to network issues etc."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -106,4 +106,4 @@ type: "class"
desc: "This class represents diagnostic information for transport requests (calls to a replica in direct mode, calls to the Gateway for example to get metadata like physical addresses of replica for a partition."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -163,4 +163,4 @@ type: "class"
desc: "This class describes the thresholds when more details diagnostics are emitted for an operation due to high latency, high RU consumption or high payload sizes."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -64,4 +64,4 @@ type: "class"
desc: "Represents End to end operation latency policy config This enables requests to get cancelled by the client once the specified timeout is reached"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -76,4 +76,4 @@ type: "class"
desc: "Builder for CosmosEndToEndOperationLatencyPolicyConfig"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -286,4 +286,4 @@ type: "class"
desc: "This class defines a custom exception type for all operations on CosmosClient in the Azure Cosmos DB database service. Applications are expected to catch CosmosException and handle errors as appropriate when calling methods on CosmosClient.\n\nErrors coming from the service during normal execution are converted to CosmosException before returning to the application with the following exception:\n\nWhen a BE error is encountered during a QueryIterable<T> iteration, an IllegalStateException is thrown instead of CosmosException.\n\nWhen a transport level error happens that request is not able to reach the service, an IllegalStateException is thrown instead of CosmosException."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -56,4 +56,4 @@ type: "class"
desc: "A class which encapsulates a set of excluded regions."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -50,4 +50,4 @@ type: "class"
desc: "<xref uid=\"com.azure.cosmos.CosmosRegionSwitchHint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosRegionSwitchHint\"></xref> encapsulates hints which guide SDK-internal retry policies on how early to switch retries to a different region."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -259,4 +259,4 @@ type: "class"
desc: "The type Cosmos sync scripts."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -136,4 +136,4 @@ type: "class"
desc: "The type Cosmos sync stored procedure."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "class"
desc: "The type Cosmos sync trigger."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "class"
desc: "The type Cosmos sync user."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "class"
desc: "The type Cosmos sync user defined function."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -222,4 +222,4 @@ type: "class"
desc: "Represents the connection config with <xref uid=\"com.azure.cosmos.ConnectionMode.DIRECT\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ConnectionMode#DIRECT\"></xref> associated with Cosmos Client in the Azure Cosmos DB database service. For performance tips on how to optimize Direct connection configuration, refer to performance tips guide: [Performance tips guide][]\n\n\n[Performance tips guide]: https://docs.microsoft.com/en-us/azure/cosmos-db/performance-tips-java-sdk-v4-sql?tabs=api-async"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -126,4 +126,4 @@ type: "class"
desc: "Represents the connection config with <xref uid=\"com.azure.cosmos.ConnectionMode.GATEWAY\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ConnectionMode#GATEWAY\"></xref> associated with Cosmos Client in the Azure Cosmos DB database service."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -46,4 +46,4 @@ type: "class"
desc: "This configuration is used for throughput global control mode. It contains configuration about the extra container which will track all the clients throughput usage for a certain control group."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -64,4 +64,4 @@ type: "class"
desc: "Throughput global control config builder."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -34,4 +34,4 @@ type: "class"
desc: "<xref uid=\"com.azure.cosmos.SessionRetryOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SessionRetryOptions\"></xref> encapsulates hints which influence internal retry policies which are applied when the effective consistency used for the request is *Session Consistency*."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -84,4 +84,4 @@ type: "class"
desc: "A <xref uid=\"com.azure.cosmos.SessionRetryOptionsBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SessionRetryOptionsBuilder\"></xref> instance will be used to build a <xref uid=\"com.azure.cosmos.SessionRetryOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SessionRetryOptions\"></xref> instance."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -77,4 +77,4 @@ type: "class"
desc: "The type Threshold based retry availability strategy."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -90,4 +90,4 @@ type: "class"
desc: "Encapsulates retry options in the Azure Cosmos DB database service."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -86,4 +86,4 @@ type: "class"
desc: "Throughput control group configuration."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -182,4 +182,4 @@ type: "class"
desc: "The throughput control group config builder."
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -90,4 +90,4 @@ type: "class"
desc: "Change Feed response meta data"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -73,4 +73,4 @@ methods:
desc: "Change feed operation type"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -108,4 +108,4 @@ type: "class"
desc: "Represents the change feed policy configuration for the container in the Azure Cosmos DB service.\n\nThe example below creates a new container with a change feed policy for AllVersionsAndDeletes change feed with a retention window of 8 minutes - so intermediary snapshots of changes as well as deleted documents would be available for processing for 8 minutes before they vanish. Processing the change feed with AllVersionsAndDeletes mode will only be able within this retention window - if you attempt to process a change feed after more than the retention window (8 minutes in this sample) an error (Status Code 400) will be returned. It would still be possible to process changes using LatestVersion mode even when configuring a AllVersionsAndDeletes change feed policy with retention window on the container and when using LatestVersion mode it doesn't matter whether you are out of the retention window or not.\n\n```java\nCosmosContainerProperties containerProperties =\n new CosmosContainerProperties(\"ContainerName\", \"/somePartitionKeyProperty\");\n containerProperties.setChangeFeedPolicy(ChangeFeedPolicy.createAllVersionsAndDeletesPolicy(8));\n\n CosmosAsyncDatabase database = client.createDatabase(databaseProperties).block().getDatabase();\n CosmosAsyncContainer container = database.createContainer(containerProperties).block().getContainer();\n```\n\nThe example below creates a new container with a change feed policy for LatestVersion change feed. Processing the change feed with AllVersionsAndDeletes mode will not be possible for this container. It would still be possible to process changes using LatestVersion mode. The LatestVersion change feed policy is also the default that is used when not explicitly specifying a change feed policy.\n\n```java\nCosmosContainerProperties containerProperties =\n new CosmosContainerProperties(\"ContainerName\", \"/somePartitionKeyProperty\");\n containerProperties.setChangeFeedPolicy(ChangeFeedPolicy.createLatestVersionPolicy());\n\n CosmosAsyncDatabase database = client.createDatabase(databaseProperties).block().getDatabase();\n CosmosAsyncContainer container = database.createContainer(containerProperties).block().getContainer();\n```"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -80,4 +80,4 @@ type: "class"
desc: "Change Feed processor item. Supports current and previous items through <xref uid=\"com.fasterxml.jackson.databind.JsonNode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonNode\"></xref> structure. Caller is recommended to type cast <xref uid=\"com.fasterxml.jackson.databind.JsonNode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonNode\"></xref> to cosmos item structure."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -395,4 +395,4 @@ type: "class"
desc: "Specifies the options associated with <xref uid=\"com.azure.cosmos.ChangeFeedProcessor\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessor\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -128,4 +128,4 @@ type: "class"
desc: "Specifies the <xref uid=\"com.azure.cosmos.ChangeFeedProcessor\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ChangeFeedProcessor\"></xref> state for a particular lease/worker."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -128,4 +128,4 @@ type: "class"
desc: "Path that needs encryption and the associated settings within <xref uid=\"com.azure.cosmos.models.ClientEncryptionPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ClientEncryptionPolicy\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -79,4 +79,4 @@ type: "class"
desc: "Client encryption policy."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -101,4 +101,4 @@ type: "class"
desc: "Represents a composite path of the IndexingPolicy in the Azure Cosmos DB database service. A composite path is used in a composite index. For example if you want to run a query like \"SELECT \\* FROM c ORDER BY c.age, c.height\", then you need to add \"/age\" and \"/height\" as composite paths to your composite index."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -67,4 +67,4 @@ methods:
desc: "Represents the sorting order for a path in a composite index, for a container in the Azure Cosmos DB database service."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -61,4 +61,4 @@ type: "class"
desc: "Represents a computed property definition for a Cosmos DB container. Below is an example of how to use <xref uid=\"com.azure.cosmos.models.ComputedProperty\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ComputedProperty\"></xref> in the context of creating a container.\n\n```java\nList<ComputedProperty> computedProperties = new ArrayList<>(\n Arrays.asList(\n new ComputedProperty(\"lowerName\", \"SELECT VALUE LOWER(c.name) FROM c\")\n )\n );\n containerProperties.setComputedProperties(computedProperties);\n database.createContainer(containerProperties);\n```\n\nBelow is an example of how to use <xref uid=\"com.azure.cosmos.models.ComputedProperty\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ComputedProperty\"></xref> in the context of replacing a container.\n\n```java\nCosmosContainerProperties containerProperties = getCollectionDefinition(containerName);\n List<ComputedProperty> computedProperties = new ArrayList<>(\n Arrays.asList(\n new ComputedProperty(\"upperName\", \"SELECT VALUE UPPER(c.name) FROM c\")\n )\n );\n container = database.getContainer(containerName);\n container.replace(containerProperties);\n```"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -81,4 +81,4 @@ methods:
desc: "The enum Conflict resolution mode."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -134,4 +134,4 @@ type: "class"
desc: "Represents the conflict resolution policy configuration for specifying how to resolve conflicts in case writes from different regions result in conflicts on items in the container in the Azure Cosmos DB service. Refer to: https://docs.microsoft.com/en-us/azure/cosmos-db/conflict-resolution-policies\n\nA container with custom conflict resolution with no user-registered stored procedure.\n\n```java\nCosmosContainerProperties containerProperties =\n new CosmosContainerProperties(\"Multi-master container\", \"Multi-master container partition key\");\n containerProperties.setConflictResolutionPolicy(ConflictResolutionPolicy.createCustomPolicy());\n\n CosmosAsyncDatabase database = client.createDatabase(databaseProperties).block().getDatabase();\n CosmosAsyncContainer container = database.createContainer(containerProperties).block().getContainer();\n```\n\nA container with custom conflict resolution with a user-registered stored procedure.\n\n```java\nCosmosContainerProperties containerProperties =\n new CosmosContainerProperties(\"Multi-master container\", \"Multi-master container partition key\");\n\n ConflictResolutionPolicy policy = ConflictResolutionPolicy.createCustomPolicy(conflictResolutionSprocName);\n containerProperties.setConflictResolutionPolicy(policy);\n\n CosmosAsyncDatabase database = client.createDatabase(databaseProperties).block().getDatabase();\n CosmosAsyncContainer container = database.createContainer(containerProperties).block().getContainer();\n```\n\nA container with last writer wins conflict resolution, based on a path in the conflicting items. A container with custom conflict resolution with a user-registered stored procedure.\n\n```java\nCosmosContainerProperties containerProperties =\n new CosmosContainerProperties(\"Multi-master container\", \"Multi-master container partition key\");\n\n ConflictResolutionPolicy policy = ConflictResolutionPolicy.createLastWriterWinsPolicy(\"/path/for/conflict/resolution\");\n containerProperties.setConflictResolutionPolicy(policy);\n\n CosmosAsyncDatabase database = client.createDatabase(databaseProperties).block().getDatabase();\n CosmosAsyncContainer container = database.createContainer(containerProperties).block().getContainer();\n```"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -87,4 +87,4 @@ methods:
desc: "Specifies the kind of resource that has a Cosmos container as parent resource."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -35,4 +35,4 @@ type: "interface"
desc: "This interface is for client side implementation, which can be used for initializing CosmosAsyncClient without passing master key, resource token and permission feed.\n\nEach 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."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -260,4 +260,4 @@ type: "class"
desc: "Represents a batch of operations against items with the same <xref uid=\"com.azure.cosmos.models.PartitionKey\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PartitionKey\"></xref> in a container that will be performed in a Cosmos manner at the Azure Cosmos DB service.\n\nUse <xref uid=\"com.azure.cosmos.models.CosmosBatch.createCosmosBatch(com.azure.cosmos.models.PartitionKey)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch#createCosmosBatch(PartitionKey)\"></xref> to create an instance of <xref uid=\"com.azure.cosmos.models.CosmosBatch\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch\"></xref>. **Example** This example atomically modifies a set of items as a batch.\n\n```java\npublic class ToDoActivity {\n public final String type;\n public final String id;\n public final String status;\n public ToDoActivity(String type, String id, String status) {\n this.type = type;\n this.id = id;\n this.status = status;\n }\n }\n\n String activityType = \"personal\";\n\n ToDoActivity test1 = new ToDoActivity(activityType, \"learning\", \"ToBeDone\");\n ToDoActivity test2 = new ToDoActivity(activityType, \"shopping\", \"Done\");\n ToDoActivity test3 = new ToDoActivity(activityType, \"swimming\", \"ToBeDone\");\n\n CosmosBatch batch = CosmosBatch.createCosmosBatch(new Cosmos.PartitionKey(activityType));\n batch.createItemOperation(test1);\n batch.replaceItemOperation(test2.id, test2);\n batch.upsertItemOperation(test3);\n batch.deleteItemOperation(\"reading\");\n\n CosmosBatchResponse response = container.executeTransactionalBatch(batch);\n\n if (!response.isSuccessStatusCode()) {\n // Handle and log exception\n return;\n }\n\n // Look up interested results - e.g., via typed access on operation results\n\n CosmosBatchOperationResult result = response.get(0);\n ToDoActivity readActivity = result.getItem(ToDoActivity.class);\n```\n\n**Example**\n\nThis example atomically reads a set of items as a batch.\n\n```java\nString activityType = \"personal\";\n\n CosmosBatch batch = CosmosBatch.createCosmosBatch(new Cosmos.PartitionKey(activityType));\n batch.readItemOperation(\"playing\");\n batch.readItemOperation(\"walking\");\n batch.readItemOperation(\"jogging\");\n batch.readItemOperation(\"running\");\n\n CosmosBatchResponse response = container.executeTransactionalBatch(batch);\n List resultItems = new ArrayList();\n\n for (int i = 0; i < response.size(); i++) {\n CosmosBatchOperationResult result = response.get(0);\n resultItems.add(result.getItem(ToDoActivity.class));\n }\n```\n\n**See:** [Limits on CosmosBatch requests][].\n\n\n[Limits on CosmosBatch requests]: https://docs.microsoft.com/azure/cosmos-db/concepts-limits"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -96,4 +96,4 @@ type: "class"
desc: "Encapsulates options that can be specified for an operation within a <xref uid=\"com.azure.cosmos.models.CosmosBatch\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -110,4 +110,4 @@ type: "class"
desc: "Represents a result for a specific operation that was part of a <xref uid=\"com.azure.cosmos.models.CosmosBatch\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch\"></xref> request."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -106,4 +106,4 @@ type: "class"
desc: "Encapsulates options that can be specified for an operation within a <xref uid=\"com.azure.cosmos.models.CosmosBatch\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -28,6 +28,16 @@ constructors:
nameWithType: "CosmosBatchRequestOptions.CosmosBatchRequestOptions()"
syntax: "public CosmosBatchRequestOptions()"
methods:
- uid: "com.azure.cosmos.models.CosmosBatchRequestOptions.getDiagnosticsThresholds()"
fullName: "com.azure.cosmos.models.CosmosBatchRequestOptions.getDiagnosticsThresholds()"
name: "getDiagnosticsThresholds()"
nameWithType: "CosmosBatchRequestOptions.getDiagnosticsThresholds()"
summary: "Gets the diagnostic thresholds used as an override for a specific operation."
syntax: "public CosmosDiagnosticsThresholds getDiagnosticsThresholds()"
desc: "Gets the diagnostic thresholds used as an override for a specific operation. If no operation specific diagnostic threshold has been specified, this method will return null, although at runtime the default thresholds specified at the client-level will be used."
returns:
description: "the diagnostic thresholds used as an override for a specific operation."
type: "<xref href=\"com.azure.cosmos.CosmosDiagnosticsThresholds?alt=com.azure.cosmos.CosmosDiagnosticsThresholds&text=CosmosDiagnosticsThresholds\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosBatchRequestOptions.getExcludedRegions()"
fullName: "com.azure.cosmos.models.CosmosBatchRequestOptions.getExcludedRegions()"
name: "getExcludedRegions()"
@ -94,4 +104,4 @@ type: "class"
desc: "Encapsulates options that can be specified for a <xref uid=\"com.azure.cosmos.models.CosmosBatch\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -166,4 +166,4 @@ type: "class"
desc: "Response of a <xref uid=\"com.azure.cosmos.models.CosmosBatch\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBatch\"></xref> request."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -151,4 +151,4 @@ type: "class"
desc: "Encapsulates options that can be specified for operations used in Bulk execution. It can be passed while processing bulk operations."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -33,4 +33,4 @@ type: "class"
desc: "Encapsulates internal state used to dynamically determine max micro batch size for bulk operations. It allows passing this state for one \\`<xref uid=\"com.azure.cosmos.models.CosmosBulkExecutionOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBulkExecutionOptions\"></xref>\\` to another in case bulk operations are expected to have similar characteristics and the context for determining the micro batch size should be preserved."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -106,4 +106,4 @@ type: "class"
desc: "Encapsulates options that can be specified for an operation used in Bulk execution. It can be passed while creating bulk request using <xref uid=\"com.azure.cosmos.models.CosmosBulkOperations\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBulkOperations\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -150,4 +150,4 @@ type: "class"
desc: "Response of a <xref uid=\"com.azure.cosmos.models.CosmosItemOperation\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosItemOperation\"></xref> request when processed using Bulk by calling <xref uid=\"com.azure.cosmos.CosmosAsyncContainer.<TContext>executeBulkOperations(reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemOperation>,com.azure.cosmos.models.CosmosBulkExecutionOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosAsyncContainer#executeBulkOperations(Flux, CosmosBulkExecutionOptions)\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -68,4 +68,4 @@ typeParameters:
desc: "Request, response and the exception(if any) for a <xref uid=\"com.azure.cosmos.models.CosmosItemOperation\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosItemOperation\"></xref> request when processed using Bulk by calling <xref uid=\"com.azure.cosmos.CosmosAsyncContainer.<TContext>executeBulkOperations(reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemOperation>,com.azure.cosmos.models.CosmosBulkExecutionOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosAsyncContainer#executeBulkOperations(Flux, CosmosBulkExecutionOptions)\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -584,4 +584,4 @@ type: "class"
desc: "Utility for creating bulk operations which can be executed by calling <xref uid=\"com.azure.cosmos.CosmosAsyncContainer.<TContext>executeBulkOperations(reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemOperation>,com.azure.cosmos.models.CosmosBulkExecutionOptions)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosAsyncContainer#executeBulkOperations(Flux, CosmosBulkExecutionOptions)\"></xref> . Also while creating these operation, if some options which are only for individual operation can be provided by passing a <xref uid=\"com.azure.cosmos.models.CosmosBulkItemRequestOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBulkItemRequestOptions\"></xref> while creating the bulk operation. See also <xref uid=\"com.azure.cosmos.models.CosmosBulkExecutionOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBulkExecutionOptions\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -130,4 +130,4 @@ type: "class"
desc: "Encapsulates options that can be specified for an patch operation used in Bulk execution. It can be passed while creating bulk patch request using <xref uid=\"com.azure.cosmos.models.CosmosBulkOperations\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosBulkOperations\"></xref>."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -111,6 +111,16 @@ methods:
returns:
description: "a <xref uid=\"com.azure.cosmos.models.CosmosChangeFeedRequestOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosChangeFeedRequestOptions\"></xref> instance with AllVersionsAndDeletes mode enabled"
type: "<xref href=\"com.azure.cosmos.models.CosmosChangeFeedRequestOptions?alt=com.azure.cosmos.models.CosmosChangeFeedRequestOptions&text=CosmosChangeFeedRequestOptions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosChangeFeedRequestOptions.getDiagnosticsThresholds()"
fullName: "com.azure.cosmos.models.CosmosChangeFeedRequestOptions.getDiagnosticsThresholds()"
name: "getDiagnosticsThresholds()"
nameWithType: "CosmosChangeFeedRequestOptions.getDiagnosticsThresholds()"
summary: "Gets the diagnostic thresholds used as an override for a specific operation."
syntax: "public CosmosDiagnosticsThresholds getDiagnosticsThresholds()"
desc: "Gets the diagnostic thresholds used as an override for a specific operation. If no operation specific diagnostic threshold has been specified, this method will return null, although at runtime the default thresholds specified at the client-level will be used."
returns:
description: "the diagnostic thresholds used as an override for a specific operation."
type: "<xref href=\"com.azure.cosmos.CosmosDiagnosticsThresholds?alt=com.azure.cosmos.CosmosDiagnosticsThresholds&text=CosmosDiagnosticsThresholds\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosChangeFeedRequestOptions.getExcludedRegions()"
fullName: "com.azure.cosmos.models.CosmosChangeFeedRequestOptions.getExcludedRegions()"
name: "getExcludedRegions()"
@ -256,4 +266,4 @@ type: "class"
desc: "Encapsulates options that can be specified for an operation within a change feed request."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -163,4 +163,4 @@ type: "class"
desc: "Details of an encryption key for use with the Azure Cosmos DB service."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -50,4 +50,4 @@ type: "class"
desc: "The type Cosmos client encryption key response."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -166,4 +166,4 @@ type: "class"
desc: "Class with config options for Cosmos Client telemetry"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -94,4 +94,4 @@ type: "class"
desc: "The type Cosmos conflict properties."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -117,4 +117,4 @@ type: "class"
desc: "The type Cosmos conflict request options."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -50,4 +50,4 @@ type: "class"
desc: "The type Cosmos conflict response."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -60,4 +60,4 @@ type: "class"
desc: "Encapsulates the container link associated with the container."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -325,4 +325,4 @@ type: "class"
desc: "Represents a container in the Azure Cosmos DB database service. A cosmos container is a named logical container for cosmos items.\n\nA database may contain zero or more named containers and each container consists of zero or more JSON items. Being schema-free, the items in a container do not need to share the same structure or fields. Since containers are application resources, they can be authorized using either the master key or resource keys."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -128,4 +128,4 @@ type: "class"
desc: "Encapsulates options that can be specified for a request issued to Cosmos container."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -60,4 +60,4 @@ type: "class"
desc: "The type Cosmos container response."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -92,4 +92,4 @@ type: "class"
desc: "Represents a CosmosAsyncDatabase in the Azure Cosmos database service. A cosmos database manages users, permissions and a set of containers\n\nEach Azure Cosmos DB Service is able to support multiple independent named databases, with the database being the logical container for data. Each Database consists of one or more cosmos containers, each of which in turn contain one or more cosmos items. Since databases are an an administrative resource and the Service Key will be required in order to access and successfully complete any action using the User APIs."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -80,4 +80,4 @@ type: "class"
desc: "Encapsulates options that can be specified for a request issued to cosmos database."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -70,4 +70,4 @@ type: "class"
desc: "The type Cosmos database response."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -80,4 +80,4 @@ type: "class"
desc: "Encapsulates the PartitionKey/id tuple that uniquely identifies a CosmosItem"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -60,4 +60,4 @@ type: "interface"
desc: "Encapsulates Cosmos Item Operation"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -91,4 +91,4 @@ methods:
desc: "Depicts type of Cosmos Item Operation"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -50,6 +50,16 @@ methods:
returns:
description: "the Dedicated Gateway Request Options"
type: "<xref href=\"com.azure.cosmos.models.DedicatedGatewayRequestOptions?alt=com.azure.cosmos.models.DedicatedGatewayRequestOptions&text=DedicatedGatewayRequestOptions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemRequestOptions.getDiagnosticsThresholds()"
fullName: "com.azure.cosmos.models.CosmosItemRequestOptions.getDiagnosticsThresholds()"
name: "getDiagnosticsThresholds()"
nameWithType: "CosmosItemRequestOptions.getDiagnosticsThresholds()"
summary: "Gets the diagnostic thresholds used as an override for a specific operation."
syntax: "public CosmosDiagnosticsThresholds getDiagnosticsThresholds()"
desc: "Gets the diagnostic thresholds used as an override for a specific operation. If no operation specific diagnostic threshold has been specified, this method will return null, although at runtime the default thresholds specified at the client-level will be used."
returns:
description: "the diagnostic thresholds used as an override for a specific operation."
type: "<xref href=\"com.azure.cosmos.CosmosDiagnosticsThresholds?alt=com.azure.cosmos.CosmosDiagnosticsThresholds&text=CosmosDiagnosticsThresholds\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemRequestOptions.getExcludedRegions()"
fullName: "com.azure.cosmos.models.CosmosItemRequestOptions.getExcludedRegions()"
name: "getExcludedRegions()"
@ -364,4 +374,4 @@ type: "class"
desc: "Encapsulates options that can be specified for a request issued to cosmos Item."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -139,4 +139,4 @@ typeParameters:
desc: "The type Cosmos item response. This contains the item and response methods"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Просмотреть файл

@ -226,4 +226,4 @@ type: "class"
desc: "Categories for Cosmos DB client-side metrics"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.55.1
artifact: com.azure:azure-cosmos:4.56.0

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше