Package com.azure.cosmos
Class CosmosAsyncConflict
java.lang.Object
com.azure.cosmos.CosmosAsyncConflict
Read and delete conflicts
-
Method Summary
Modifier and TypeMethodDescriptiondelete
(CosmosConflictRequestOptions options) Deletes a conflict.getId()
Get the id of theCosmosAsyncConflict
read
(CosmosConflictRequestOptions options) Reads a conflict.
-
Method Details
-
getId
Get the id of theCosmosAsyncConflict
- Returns:
- the id of the
CosmosAsyncConflict
-
read
Reads a conflict.After subscription the operation will be performed. The
Mono
upon successful completion will contain a single resource response with the read conflict. In case of failure theMono
will error.- Parameters:
options
- the request options.- Returns:
- a
Mono
containing the single resource response with the read conflict or an error.
-
delete
Deletes a conflict.After subscription the operation will be performed. The
Mono
upon successful completion will contain a single resource response for the deleted conflict. In case of failure theMono
will error.- Parameters:
options
- the request options.- Returns:
- a
Mono
containing the single resource response for the deleted conflict or an error.
-