Table of Contents

Interface IWithConflictResolutionPolicy<ParentT>

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The stage of a SQL container definition allowing to set conflict resolution policy.

public interface IWithConflictResolutionPolicy<ParentT>

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Methods

WithConflictResolutionPath(ConflictResolutionMode, string)

Specifies the conflict resolution policy with conflict resolution path.

IWithAttach<ParentT> WithConflictResolutionPath(ConflictResolutionMode mode, string conflictResolutionPath)

Parameters

mode ConflictResolutionMode

The conflict resolution mode.

conflictResolutionPath string

The conflict resolution path.

Returns

IWithAttach<ParentT>

The next stage of the definition.

WithConflictResolutionPolicy(ConflictResolutionPolicy)

Specifies the conflict resolution policy.

IWithAttach<ParentT> WithConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)

Parameters

conflictResolutionPolicy ConflictResolutionPolicy

The whole object of the conflict resolution policy.

Returns

IWithAttach<ParentT>

The next stage of the definition.

WithConflictResolutionProcedure(ConflictResolutionMode, string)

Specifies the conflict resolution policy with conflict resolution procedure.

IWithAttach<ParentT> WithConflictResolutionProcedure(ConflictResolutionMode mode, string conflictResolutionProcedure)

Parameters

mode ConflictResolutionMode

The conflict resolution mode.

conflictResolutionProcedure string

The conflict resolution procedure.

Returns

IWithAttach<ParentT>

The next stage of the definition.