SqlTriggerGetPropertiesResource Class

SqlTriggerGetPropertiesResource.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
azure.mgmt.cosmosdb.models._models_py3.SqlTriggerResource
SqlTriggerGetPropertiesResource
azure.mgmt.cosmosdb.models._models_py3.ExtendedResourceProperties
SqlTriggerGetPropertiesResource

Constructor

SqlTriggerGetPropertiesResource(*, id: str, body: str | None = None, trigger_type: str | _models.TriggerType | None = None, trigger_operation: str | _models.TriggerOperation | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Name of the Cosmos DB SQL trigger. Required.

body
str

Body of the Trigger.

trigger_type

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

trigger_operation

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

Variables

Name Description
rid
str

A system generated property. A unique identifier.

ts

A system generated property that denotes the last updated timestamp of the resource.

etag
str

A system generated property representing the resource etag required for optimistic concurrency control.

id
str

Name of the Cosmos DB SQL trigger. Required.

body
str

Body of the Trigger.

trigger_type

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

trigger_operation

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