SqlTriggerResource Class

Cosmos DB SQL trigger resource object.

All required parameters must be populated in order to send to Azure.

Inheritance
SqlTriggerResource

Constructor

SqlTriggerResource(*, id: str, body: Optional[str] = None, trigger_type: Optional[Union[str, _models.TriggerType]] = None, trigger_operation: Optional[Union[str, _models.TriggerOperation]] = None, **kwargs)

Variables

id
str

Required. Name of the Cosmos DB SQL trigger.

body
str

Body of the Trigger.

trigger_type
str or TriggerType

Type of the Trigger. Known values are: "Pre", "Post".

trigger_operation
str or TriggerOperation

The operation the trigger is associated with. Known values are: "All", "Create", "Update", "Delete", "Replace".