Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Functions.getPbfListings
Explore with Pulumi AI
This data source provides the list of Pbf Listings in Oracle Cloud Infrastructure Functions service.
Fetches a wrapped list of all Pre-built Function(PBF) Listings. Returns a PbfListingCollection containing an array of PbfListingSummary response models.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPbfListings = oci.Functions.getPbfListings({
    name: pbfListingName,
    nameContains: pbfListingNameContains,
    nameStartsWith: pbfListingNameStartsWith,
    pbfListingId: testPbfListing.id,
    state: pbfListingState,
    triggers: pbfListingTrigger,
});
import pulumi
import pulumi_oci as oci
test_pbf_listings = oci.Functions.get_pbf_listings(name=pbf_listing_name,
    name_contains=pbf_listing_name_contains,
    name_starts_with=pbf_listing_name_starts_with,
    pbf_listing_id=test_pbf_listing["id"],
    state=pbf_listing_state,
    triggers=pbf_listing_trigger)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := functions.GetPbfListings(ctx, &functions.GetPbfListingsArgs{
			Name:           pulumi.StringRef(pbfListingName),
			NameContains:   pulumi.StringRef(pbfListingNameContains),
			NameStartsWith: pulumi.StringRef(pbfListingNameStartsWith),
			PbfListingId:   pulumi.StringRef(testPbfListing.Id),
			State:          pulumi.StringRef(pbfListingState),
			Triggers:       pbfListingTrigger,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testPbfListings = Oci.Functions.GetPbfListings.Invoke(new()
    {
        Name = pbfListingName,
        NameContains = pbfListingNameContains,
        NameStartsWith = pbfListingNameStartsWith,
        PbfListingId = testPbfListing.Id,
        State = pbfListingState,
        Triggers = pbfListingTrigger,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Functions.FunctionsFunctions;
import com.pulumi.oci.Functions.inputs.GetPbfListingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testPbfListings = FunctionsFunctions.getPbfListings(GetPbfListingsArgs.builder()
            .name(pbfListingName)
            .nameContains(pbfListingNameContains)
            .nameStartsWith(pbfListingNameStartsWith)
            .pbfListingId(testPbfListing.id())
            .state(pbfListingState)
            .triggers(pbfListingTrigger)
            .build());
    }
}
variables:
  testPbfListings:
    fn::invoke:
      function: oci:Functions:getPbfListings
      arguments:
        name: ${pbfListingName}
        nameContains: ${pbfListingNameContains}
        nameStartsWith: ${pbfListingNameStartsWith}
        pbfListingId: ${testPbfListing.id}
        state: ${pbfListingState}
        triggers: ${pbfListingTrigger}
Using getPbfListings
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPbfListings(args: GetPbfListingsArgs, opts?: InvokeOptions): Promise<GetPbfListingsResult>
function getPbfListingsOutput(args: GetPbfListingsOutputArgs, opts?: InvokeOptions): Output<GetPbfListingsResult>def get_pbf_listings(filters: Optional[Sequence[GetPbfListingsFilter]] = None,
                     name: Optional[str] = None,
                     name_contains: Optional[str] = None,
                     name_starts_with: Optional[str] = None,
                     pbf_listing_id: Optional[str] = None,
                     state: Optional[str] = None,
                     triggers: Optional[Sequence[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPbfListingsResult
def get_pbf_listings_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPbfListingsFilterArgs]]]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     name_contains: Optional[pulumi.Input[str]] = None,
                     name_starts_with: Optional[pulumi.Input[str]] = None,
                     pbf_listing_id: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPbfListingsResult]func GetPbfListings(ctx *Context, args *GetPbfListingsArgs, opts ...InvokeOption) (*GetPbfListingsResult, error)
func GetPbfListingsOutput(ctx *Context, args *GetPbfListingsOutputArgs, opts ...InvokeOption) GetPbfListingsResultOutput> Note: This function is named GetPbfListings in the Go SDK.
public static class GetPbfListings 
{
    public static Task<GetPbfListingsResult> InvokeAsync(GetPbfListingsArgs args, InvokeOptions? opts = null)
    public static Output<GetPbfListingsResult> Invoke(GetPbfListingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPbfListingsResult> getPbfListings(GetPbfListingsArgs args, InvokeOptions options)
public static Output<GetPbfListingsResult> getPbfListings(GetPbfListingsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Functions/getPbfListings:getPbfListings
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filters
List<GetPbf Listings Filter> 
- Name string
- A filter to return only resources that match the entire PBF name given.
- NameContains string
- A filter to return only resources that contain the supplied filter text in the PBF name given.
- NameStarts stringWith 
- A filter to return only resources that start with the supplied filter text in the PBF name given.
- PbfListing stringId 
- unique PbfListing identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Triggers List<string>
- A filter to return only resources that match the service trigger sources of a PBF.
- Filters
[]GetPbf Listings Filter 
- Name string
- A filter to return only resources that match the entire PBF name given.
- NameContains string
- A filter to return only resources that contain the supplied filter text in the PBF name given.
- NameStarts stringWith 
- A filter to return only resources that start with the supplied filter text in the PBF name given.
- PbfListing stringId 
- unique PbfListing identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Triggers []string
- A filter to return only resources that match the service trigger sources of a PBF.
- filters
List<GetPbf Listings Filter> 
- name String
- A filter to return only resources that match the entire PBF name given.
- nameContains String
- A filter to return only resources that contain the supplied filter text in the PBF name given.
- nameStarts StringWith 
- A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbfListing StringId 
- unique PbfListing identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- triggers List<String>
- A filter to return only resources that match the service trigger sources of a PBF.
- filters
GetPbf Listings Filter[] 
- name string
- A filter to return only resources that match the entire PBF name given.
- nameContains string
- A filter to return only resources that contain the supplied filter text in the PBF name given.
- nameStarts stringWith 
- A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbfListing stringId 
- unique PbfListing identifier
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- triggers string[]
- A filter to return only resources that match the service trigger sources of a PBF.
- filters
Sequence[GetPbf Listings Filter] 
- name str
- A filter to return only resources that match the entire PBF name given.
- name_contains str
- A filter to return only resources that contain the supplied filter text in the PBF name given.
- name_starts_ strwith 
- A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbf_listing_ strid 
- unique PbfListing identifier
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- triggers Sequence[str]
- A filter to return only resources that match the service trigger sources of a PBF.
- filters List<Property Map>
- name String
- A filter to return only resources that match the entire PBF name given.
- nameContains String
- A filter to return only resources that contain the supplied filter text in the PBF name given.
- nameStarts StringWith 
- A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbfListing StringId 
- unique PbfListing identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- triggers List<String>
- A filter to return only resources that match the service trigger sources of a PBF.
getPbfListings Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- PbfListings List<GetCollections Pbf Listings Pbf Listings Collection> 
- The list of pbf_listings_collection.
- Filters
List<GetPbf Listings Filter> 
- Name string
- A brief descriptive name for the PBF trigger.
- NameContains string
- NameStarts stringWith 
- PbfListing stringId 
- State string
- The current state of the PBF resource.
- Triggers List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- PbfListings []GetCollections Pbf Listings Pbf Listings Collection 
- The list of pbf_listings_collection.
- Filters
[]GetPbf Listings Filter 
- Name string
- A brief descriptive name for the PBF trigger.
- NameContains string
- NameStarts stringWith 
- PbfListing stringId 
- State string
- The current state of the PBF resource.
- Triggers []string
- id String
- The provider-assigned unique ID for this managed resource.
- pbfListings List<GetCollections Pbf Listings Pbf Listings Collection> 
- The list of pbf_listings_collection.
- filters
List<GetPbf Listings Filter> 
- name String
- A brief descriptive name for the PBF trigger.
- nameContains String
- nameStarts StringWith 
- pbfListing StringId 
- state String
- The current state of the PBF resource.
- triggers List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- pbfListings GetCollections Pbf Listings Pbf Listings Collection[] 
- The list of pbf_listings_collection.
- filters
GetPbf Listings Filter[] 
- name string
- A brief descriptive name for the PBF trigger.
- nameContains string
- nameStarts stringWith 
- pbfListing stringId 
- state string
- The current state of the PBF resource.
- triggers string[]
- id str
- The provider-assigned unique ID for this managed resource.
- pbf_listings_ Sequence[Getcollections Pbf Listings Pbf Listings Collection] 
- The list of pbf_listings_collection.
- filters
Sequence[GetPbf Listings Filter] 
- name str
- A brief descriptive name for the PBF trigger.
- name_contains str
- name_starts_ strwith 
- pbf_listing_ strid 
- state str
- The current state of the PBF resource.
- triggers Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- pbfListings List<Property Map>Collections 
- The list of pbf_listings_collection.
- filters List<Property Map>
- name String
- A brief descriptive name for the PBF trigger.
- nameContains String
- nameStarts StringWith 
- pbfListing StringId 
- state String
- The current state of the PBF resource.
- triggers List<String>
Supporting Types
GetPbfListingsFilter   
GetPbfListingsPbfListingsCollection     
- Items
List<GetPbf Listings Pbf Listings Collection Item> 
- List of PbfListingSummary.
- Items
[]GetPbf Listings Pbf Listings Collection Item 
- List of PbfListingSummary.
- items
List<GetPbf Listings Pbf Listings Collection Item> 
- List of PbfListingSummary.
- items
GetPbf Listings Pbf Listings Collection Item[] 
- List of PbfListingSummary.
- items
Sequence[GetPbf Listings Pbf Listings Collection Item] 
- List of PbfListingSummary.
- items List<Property Map>
- List of PbfListingSummary.
GetPbfListingsPbfListingsCollectionItem      
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- A short overview of the PBF Listing: the purpose of the PBF and and associated information.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- Name string
- A filter to return only resources that match the entire PBF name given.
- PublisherDetails List<GetPbf Listings Pbf Listings Collection Item Publisher Detail> 
- Contains details about the publisher of this PBF Listing.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the PbfListing was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- Triggers
List<GetPbf Listings Pbf Listings Collection Item Trigger> 
- An array of Trigger. A list of triggers that may activate the PBF.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- A short overview of the PBF Listing: the purpose of the PBF and and associated information.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- Name string
- A filter to return only resources that match the entire PBF name given.
- PublisherDetails []GetPbf Listings Pbf Listings Collection Item Publisher Detail 
- Contains details about the publisher of this PBF Listing.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the PbfListing was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- Triggers
[]GetPbf Listings Pbf Listings Collection Item Trigger 
- An array of Trigger. A list of triggers that may activate the PBF.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- A short overview of the PBF Listing: the purpose of the PBF and and associated information.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- name String
- A filter to return only resources that match the entire PBF name given.
- publisherDetails List<GetPbf Listings Pbf Listings Collection Item Publisher Detail> 
- Contains details about the publisher of this PBF Listing.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the PbfListing was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
List<GetPbf Listings Pbf Listings Collection Item Trigger> 
- An array of Trigger. A list of triggers that may activate the PBF.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- A short overview of the PBF Listing: the purpose of the PBF and and associated information.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id string
- Unique identifier that is immutable on creation.
- name string
- A filter to return only resources that match the entire PBF name given.
- publisherDetails GetPbf Listings Pbf Listings Collection Item Publisher Detail[] 
- Contains details about the publisher of this PBF Listing.
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time the PbfListing was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
GetPbf Listings Pbf Listings Collection Item Trigger[] 
- An array of Trigger. A list of triggers that may activate the PBF.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- A short overview of the PBF Listing: the purpose of the PBF and and associated information.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id str
- Unique identifier that is immutable on creation.
- name str
- A filter to return only resources that match the entire PBF name given.
- publisher_details Sequence[GetPbf Listings Pbf Listings Collection Item Publisher Detail] 
- Contains details about the publisher of this PBF Listing.
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time the PbfListing was created. An RFC3339 formatted datetime string.
- time_updated str
- The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
Sequence[GetPbf Listings Pbf Listings Collection Item Trigger] 
- An array of Trigger. A list of triggers that may activate the PBF.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- A short overview of the PBF Listing: the purpose of the PBF and and associated information.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- name String
- A filter to return only resources that match the entire PBF name given.
- publisherDetails List<Property Map>
- Contains details about the publisher of this PBF Listing.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the PbfListing was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers List<Property Map>
- An array of Trigger. A list of triggers that may activate the PBF.
GetPbfListingsPbfListingsCollectionItemPublisherDetail        
- Name string
- A filter to return only resources that match the entire PBF name given.
- Name string
- A filter to return only resources that match the entire PBF name given.
- name String
- A filter to return only resources that match the entire PBF name given.
- name string
- A filter to return only resources that match the entire PBF name given.
- name str
- A filter to return only resources that match the entire PBF name given.
- name String
- A filter to return only resources that match the entire PBF name given.
GetPbfListingsPbfListingsCollectionItemTrigger       
- Name string
- A filter to return only resources that match the entire PBF name given.
- Name string
- A filter to return only resources that match the entire PBF name given.
- name String
- A filter to return only resources that match the entire PBF name given.
- name string
- A filter to return only resources that match the entire PBF name given.
- name str
- A filter to return only resources that match the entire PBF name given.
- name String
- A filter to return only resources that match the entire PBF name given.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.