Data Source: oci_functions_pbf_listing_versions
This data source provides the list of Pbf Listing Versions in Oracle Cloud Infrastructure Functions service.
Fetches a wrapped list of all Pre-built Function(PBF) Listing versions. Returns a PbfListingVersionCollection containing an array of PbfListingVersionSummary response models.
Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall be thrown.
Example Usage
data "oci_functions_pbf_listing_versions" "test_pbf_listing_versions" {
#Required
pbf_listing_id = oci_functions_pbf_listing.test_pbf_listing.id
#Optional
is_current_version = var.pbf_listing_version_is_current_version
name = var.pbf_listing_version_name
pbf_listing_version_id = oci_functions_pbf_listing_version.test_pbf_listing_version.id
state = var.pbf_listing_version_state
}
Argument Reference
The following arguments are supported:
is_current_version- (Optional) Matches the current version (the most recently added version with an Active lifecycleState) associated with a PbfListing.name- (Optional) Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion. Each PbfListingVersion name is unique with respect to its associated PbfListing.pbf_listing_id- (Required) unique PbfListing identifierpbf_listing_version_id- (Optional) unique PbfListingVersion identifierstate- (Optional) A filter to return only resources their lifecycleState matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
pbf_listing_versions_collection- The list of pbf_listing_versions_collection.
PbfListingVersion Reference
The following attributes are exported:
items- List of PbfListingVersionSummary.name- A brief descriptive name for the PBF trigger.change_summary- Details changes are included in this version.config- Details about the required and optional Function configurations needed for proper performance of the PBF.description- Details about why this config is required and what it will be used for.is_optional- Is this a required config or an optional one. Requests with required config params missing will be rejected.key- The key name of the config param.
defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}freeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}id- Unique identifier that is immutable on creationname- Semantic versionpbf_listing_id- The OCID of the PbfListing this resource version belongs to.requirements- Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.min_memory_required_in_mbs- Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.policies- List of policies required for this PBF execution.description- Details about why this policy is required and what it will be used for.policy- Policy required for PBF execution
state- The current state of the PBF resource.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The time the PbfListingVersion was created. An RFC3339 formatted datetime string.time_updated- The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.triggers- An array of Trigger. A list of triggers that may activate the PBF.name- A brief descriptive name for the PBF trigger.