TriggerProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET