Condividi tramite


ConflictProperties Class

Definition

Represents a conflict in the Azure Cosmos DB service.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonConflictPropertiesConverter))]
public class ConflictProperties
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonConflictPropertiesConverter))>]
type ConflictProperties = class
Public Class ConflictProperties
Inheritance
ConflictProperties
Attributes

Remarks

On rare occasions, during an async operation (insert, replace and delete), a version conflict may occur on a resource during fail over or multi master scenarios. The conflicting resource is persisted as a Conflict resource. Inspecting Conflict resources will allow you to determine which operations and resources resulted in conflicts. This is not related to operations returning a Conflict status code.

Constructors

ConflictProperties()

Properties

Id

Gets the Id of the resource in the Azure Cosmos DB service.

OperationKind

Gets the operation that resulted in the conflict in the Azure Cosmos DB service.

Applies to