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 theCosmosAsyncConflictread(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
Monoupon successful completion will contain a single resource response with the read conflict. In case of failure theMonowill error.- Parameters:
options- the request options.- Returns:
- a
Monocontaining the single resource response with the read conflict or an error.
-
delete
Deletes a conflict.After subscription the operation will be performed. The
Monoupon successful completion will contain a single resource response for the deleted conflict. In case of failure theMonowill error.- Parameters:
options- the request options.- Returns:
- a
Monocontaining the single resource response for the deleted conflict or an error.
-