Share via


ItemRequestOptions Class

Definition

Cosmos item request options

public class ItemRequestOptions : Azure.Cosmos.RequestOptions
type ItemRequestOptions = class
    inherit RequestOptions
Public Class ItemRequestOptions
Inherits RequestOptions
Inheritance

Constructors

ItemRequestOptions()

Properties

ConsistencyLevel

Gets or sets the consistency level required for the request in the Azure Cosmos DB service.

IfMatch

Optionally limit requests to resources that have a matching ETag.

(Inherited from MatchConditions)
IfNoneMatch

Optionally limit requests to resources that do not match the ETag.

(Inherited from MatchConditions)
IndexingDirective

Gets or sets the indexing directive (Include or Exclude) for the request in the Azure Cosmos DB service.

PostTriggers

Gets or sets the trigger to be invoked after the operation in the Azure Cosmos DB service.

PreTriggers

Gets or sets the trigger to be invoked before the operation in the Azure Cosmos DB service.

SessionToken

Gets or sets the token for use with session consistency in the Azure Cosmos DB service.

Applies to