Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Functions.getPbfListings
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/v3/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 dictionary
The following arguments are supported:
- Filters
List<Get
Pbf Listings Filter> - Name string
- A filter to return only resources that match the entire PBF name given.
- Name
Contains string - A filter to return only resources that contain the supplied filter text in the PBF name given.
- Name
Starts stringWith - A filter to return only resources that start with the supplied filter text in the PBF name given.
- Pbf
Listing 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
[]Get
Pbf Listings Filter - Name string
- A filter to return only resources that match the entire PBF name given.
- Name
Contains string - A filter to return only resources that contain the supplied filter text in the PBF name given.
- Name
Starts stringWith - A filter to return only resources that start with the supplied filter text in the PBF name given.
- Pbf
Listing 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<Get
Pbf Listings Filter> - name String
- A filter to return only resources that match the entire PBF name given.
- name
Contains String - A filter to return only resources that contain the supplied filter text in the PBF name given.
- name
Starts StringWith - A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbf
Listing 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
Get
Pbf Listings Filter[] - name string
- A filter to return only resources that match the entire PBF name given.
- name
Contains string - A filter to return only resources that contain the supplied filter text in the PBF name given.
- name
Starts stringWith - A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbf
Listing 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[Get
Pbf 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.
- name
Contains String - A filter to return only resources that contain the supplied filter text in the PBF name given.
- name
Starts StringWith - A filter to return only resources that start with the supplied filter text in the PBF name given.
- pbf
Listing 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.
- Pbf
Listings List<GetCollections Pbf Listings Pbf Listings Collection> - The list of pbf_listings_collection.
- Filters
List<Get
Pbf Listings Filter> - Name string
- A brief descriptive name for the PBF trigger.
- Name
Contains string - Name
Starts stringWith - Pbf
Listing stringId - State string
- The current state of the PBF resource.
- Triggers List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Pbf
Listings []GetCollections Pbf Listings Pbf Listings Collection - The list of pbf_listings_collection.
- Filters
[]Get
Pbf Listings Filter - Name string
- A brief descriptive name for the PBF trigger.
- Name
Contains string - Name
Starts stringWith - Pbf
Listing stringId - State string
- The current state of the PBF resource.
- Triggers []string
- id String
- The provider-assigned unique ID for this managed resource.
- pbf
Listings List<GetCollections Pbf Listings Pbf Listings Collection> - The list of pbf_listings_collection.
- filters
List<Get
Pbf Listings Filter> - name String
- A brief descriptive name for the PBF trigger.
- name
Contains String - name
Starts StringWith - pbf
Listing StringId - state String
- The current state of the PBF resource.
- triggers List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- pbf
Listings GetCollections Pbf Listings Pbf Listings Collection[] - The list of pbf_listings_collection.
- filters
Get
Pbf Listings Filter[] - name string
- A brief descriptive name for the PBF trigger.
- name
Contains string - name
Starts stringWith - pbf
Listing 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[Get
Pbf 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.
- pbf
Listings List<Property Map>Collections - The list of pbf_listings_collection.
- filters List<Property Map>
- name String
- A brief descriptive name for the PBF trigger.
- name
Contains String - name
Starts StringWith - pbf
Listing StringId - state String
- The current state of the PBF resource.
- triggers List<String>
Supporting Types
GetPbfListingsFilter
GetPbfListingsPbfListingsCollection
- Items
List<Get
Pbf Listings Pbf Listings Collection Item> - List of PbfListingSummary.
- Items
[]Get
Pbf Listings Pbf Listings Collection Item - List of PbfListingSummary.
- items
List<Get
Pbf Listings Pbf Listings Collection Item> - List of PbfListingSummary.
- items
Get
Pbf Listings Pbf Listings Collection Item[] - List of PbfListingSummary.
- items
Sequence[Get
Pbf 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.
- Publisher
Details 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"}
- Time
Created string - The time the PbfListing was created. An RFC3339 formatted datetime string.
- Time
Updated string - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- Triggers
List<Get
Pbf 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.
- Publisher
Details []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"}
- Time
Created string - The time the PbfListing was created. An RFC3339 formatted datetime string.
- Time
Updated string - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- Triggers
[]Get
Pbf 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.
- publisher
Details 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"}
- time
Created String - The time the PbfListing was created. An RFC3339 formatted datetime string.
- time
Updated String - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
List<Get
Pbf 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.
- publisher
Details 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"}
- time
Created string - The time the PbfListing was created. An RFC3339 formatted datetime string.
- time
Updated string - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
Get
Pbf 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[Get
Pbf 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.
- publisher
Details 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"}
- time
Created String - The time the PbfListing was created. An RFC3339 formatted datetime string.
- time
Updated 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
oci
Terraform Provider.