SqlTriggerResource 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.
Cosmos DB SQL trigger resource object
public class SqlTriggerResource
type SqlTriggerResource = class
Public Class SqlTriggerResource
- Inheritance
-
SqlTriggerResource
Constructors
SqlTriggerResource() |
Initializes a new instance of the SqlTriggerResource class. |
SqlTriggerResource(String, String, String, String) |
Initializes a new instance of the SqlTriggerResource class. |
Properties
Body |
Gets or sets body of the Trigger |
Id |
Gets or sets name of the Cosmos DB SQL trigger |
TriggerOperation |
Gets or sets the operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace' |
TriggerType |
Gets or sets type of the Trigger. Possible values include: 'Pre', 'Post' |
Methods
Validate() |
Validate the object. |