다음을 통해 공유


TriggerProperties Class

Definition

Represents a trigger in the Azure Cosmos DB service.

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

Remarks

Azure Cosmos DB supports pre and post triggers written in JavaScript to be executed on creates, updates and deletes. For additional details, refer to the server-side JavaScript API documentation.

Constructors

TriggerProperties()

Properties

Body

Gets or sets the body of the trigger for the Azure Cosmos DB service.

ETag

Gets the entity tag associated with the resource from the Azure Cosmos DB service.

Id

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

TriggerOperation

Gets or sets the operation the trigger is associated with for the Azure Cosmos DB service.

TriggerType

Gets or sets the type of the trigger for the Azure Cosmos DB service.

Applies to