Skip to main content

triggers

Creates, updates, deletes, gets or lists a triggers resource.

Overview​

Nametriggers
TypeResource
Idoci.functions.triggers

Fields​

The following fields are returned by SELECT queries:

A page of TriggerSummary response models.

NameDatatypeDescription
namestringA brief descriptive name for the PBF trigger. (example: API Gateway)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectregionname, limit, page, sortOrder, opc-request-idReturns a list of Triggers.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
limitintegerThe maximum number of items to return. 1 is the minimum, 50 is the maximum. Default: 10
namestringA filter to return only resources that match the service trigger source of a PBF.
opc-request-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringThe pagination token for a list query returned by a previous operation
sortOrderstringSpecifies sort order. * ASC: Ascending sort order. * DESC: Descending sort order.

SELECT examples​

Returns a list of Triggers.<br />

SELECT
name
FROM oci.functions.triggers
WHERE region = '{{ region }}' -- required
AND name = '{{ name }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND opc-request-id = '{{ opc-request-id }}'
;