Skip to main content

pbf_listings

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

Overview​

Namepbf_listings
TypeResource
Idoci.functions.pbf_listings

Fields​

The following fields are returned by SELECT queries:

Retrieves the PbfListing with the given id.

NameDatatypeDescription
idstringUnique identifier that is immutable on creation. (example: ocid1.pbflisting.oc1.iad.aaaaaaaal3dkjeliven6l7kw3kiwlkbqjtfhdra6fly7uqekgmuef6forplq)
namestringA brief descriptive name for the PBF listing. The PBF listing name must be unique, and not match and existing PBF. (example: Logs to Splunk)
definedTagsobjectDefined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}
descriptionstringA short overview of the PBF Listing: the purpose of the PBF and and associated information. (example: A PBF to transform and send logs, metrics and data to Splunk. The PBF pushes data to Splunk through <br />http/post requests and Splunk's HEC module (https:​//docs.splunk.com/Documentation/Splunk/9.0.0/Data/UsetheHTTPEventCollector).<br />)
freeformTagsobjectSimple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: &#123;"bar-key": "value"&#125;
lifecycleStatestringThe current state of the PBF resource. (ACTIVE, INACTIVE, DELETED)
publisherDetailsobjectContains details about the publisher of this PBF Listing.
systemTagsobjectSystem tags for this resource. Each key is predefined and scoped to a namespace. Example: &#123;"orcl-cloud": &#123;"free-tier-retained": "true"&#125;&#125;
timeCreatedstring (date-time)The time the PbfListing was created. An RFC3339 formatted datetime string. (example: 2022-09-30T0710:20:50.52Z)
timeUpdatedstring (date-time)The last time the PbfListing was updated. An RFC3339 formatted datetime string. (example: 2022-09-30T0710:20:50.52Z)
triggersarrayAn array of Trigger. A list of triggers that may activate the PBF.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpbfListingId, regionopc-request-idFetches a Pre-built Function(PBF) Listing. Returns a PbfListing response model.<br />
listselectregionpbfListingId, name, nameContains, nameStartsWith, trigger, lifecycleState, limit, page, sortOrder, sortBy, opc-request-idFetches a wrapped list of all Pre-built Function(PBF) Listings. Returns a PbfListingCollection containing <br />an array of PbfListingSummary response models.<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
pbfListingIdstringunique PbfListing identifier
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)
lifecycleStatestringA filter to return only resources their lifecycleState matches the given lifecycleState.
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 entire PBF name given.
nameContainsstringA filter to return only resources that contain the supplied filter text in the PBF name given.
nameStartsWithstringA filter to return only resources that start with the supplied filter text in the PBF name given.
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
pbfListingIdstringunique PbfListing identifier
sortBystringThe field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending.
sortOrderstringSpecifies sort order. * ASC: Ascending sort order. * DESC: Descending sort order.
triggerarrayA filter to return only resources that match the service trigger sources of a PBF.

SELECT examples​

Fetches a Pre-built Function(PBF) Listing. Returns a PbfListing response model.<br />

SELECT
id,
name,
definedTags,
description,
freeformTags,
lifecycleState,
publisherDetails,
systemTags,
timeCreated,
timeUpdated,
triggers
FROM oci.functions.pbf_listings
WHERE pbfListingId = '{{ pbfListingId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;