triggers
Creates, updates, deletes, gets or lists a triggers resource.
Overview​
| Name | triggers |
| Type | Resource |
| Id | oci.functions.triggers |
Fields​
The following fields are returned by SELECT queries:
- list
A page of TriggerSummary response models.
| Name | Datatype | Description |
|---|---|---|
name | string | A brief descriptive name for the PBF trigger. (example: API Gateway) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | region | name, limit, page, sortOrder, opc-request-id | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | OCI 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) |
limit | integer | The maximum number of items to return. 1 is the minimum, 50 is the maximum. Default: 10 |
name | string | A filter to return only resources that match the service trigger source of a PBF. |
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
page | string | The pagination token for a list query returned by a previous operation |
sortOrder | string | Specifies sort order. * ASC: Ascending sort order. * DESC: Descending sort order. |
SELECT examples​
- list
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 }}'
;