Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Functions.getPbfListing
This data source provides details about a specific Pbf Listing resource in Oracle Cloud Infrastructure Functions service.
Fetches a Pre-built Function(PBF) Listing. Returns a PbfListing response model.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPbfListing = oci.Functions.getPbfListing({
    pbfListingId: testPbfListingOciFunctionsPbfListing.id,
});
import pulumi
import pulumi_oci as oci
test_pbf_listing = oci.Functions.get_pbf_listing(pbf_listing_id=test_pbf_listing_oci_functions_pbf_listing["id"])
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.GetPbfListing(ctx, &functions.GetPbfListingArgs{
			PbfListingId: testPbfListingOciFunctionsPbfListing.Id,
		}, 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 testPbfListing = Oci.Functions.GetPbfListing.Invoke(new()
    {
        PbfListingId = testPbfListingOciFunctionsPbfListing.Id,
    });
});
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.GetPbfListingArgs;
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 testPbfListing = FunctionsFunctions.getPbfListing(GetPbfListingArgs.builder()
            .pbfListingId(testPbfListingOciFunctionsPbfListing.id())
            .build());
    }
}
variables:
  testPbfListing:
    fn::invoke:
      function: oci:Functions:getPbfListing
      arguments:
        pbfListingId: ${testPbfListingOciFunctionsPbfListing.id}
Using getPbfListing
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 getPbfListing(args: GetPbfListingArgs, opts?: InvokeOptions): Promise<GetPbfListingResult>
function getPbfListingOutput(args: GetPbfListingOutputArgs, opts?: InvokeOptions): Output<GetPbfListingResult>def get_pbf_listing(pbf_listing_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPbfListingResult
def get_pbf_listing_output(pbf_listing_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPbfListingResult]func GetPbfListing(ctx *Context, args *GetPbfListingArgs, opts ...InvokeOption) (*GetPbfListingResult, error)
func GetPbfListingOutput(ctx *Context, args *GetPbfListingOutputArgs, opts ...InvokeOption) GetPbfListingResultOutput> Note: This function is named GetPbfListing in the Go SDK.
public static class GetPbfListing 
{
    public static Task<GetPbfListingResult> InvokeAsync(GetPbfListingArgs args, InvokeOptions? opts = null)
    public static Output<GetPbfListingResult> Invoke(GetPbfListingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPbfListingResult> getPbfListing(GetPbfListingArgs args, InvokeOptions options)
public static Output<GetPbfListingResult> getPbfListing(GetPbfListingArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Functions/getPbfListing:getPbfListing
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PbfListing stringId 
- unique PbfListing identifier
- PbfListing stringId 
- unique PbfListing identifier
- pbfListing StringId 
- unique PbfListing identifier
- pbfListing stringId 
- unique PbfListing identifier
- pbf_listing_ strid 
- unique PbfListing identifier
- pbfListing StringId 
- unique PbfListing identifier
getPbfListing Result
The following output properties are available:
- 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
- The provider-assigned unique ID for this managed resource.
- Name string
- A brief descriptive name for the PBF trigger.
- PbfListing stringId 
- PublisherDetails List<GetPbf Listing Publisher Detail> 
- Contains details about the publisher of this PBF Listing.
- State string
- The current state of the PBF resource.
- 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 Listing 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
- The provider-assigned unique ID for this managed resource.
- Name string
- A brief descriptive name for the PBF trigger.
- PbfListing stringId 
- PublisherDetails []GetPbf Listing Publisher Detail 
- Contains details about the publisher of this PBF Listing.
- State string
- The current state of the PBF resource.
- 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 Listing 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
- The provider-assigned unique ID for this managed resource.
- name String
- A brief descriptive name for the PBF trigger.
- pbfListing StringId 
- publisherDetails List<GetPbf Listing Publisher Detail> 
- Contains details about the publisher of this PBF Listing.
- state String
- The current state of the PBF resource.
- 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 Listing 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
- The provider-assigned unique ID for this managed resource.
- name string
- A brief descriptive name for the PBF trigger.
- pbfListing stringId 
- publisherDetails GetPbf Listing Publisher Detail[] 
- Contains details about the publisher of this PBF Listing.
- state string
- The current state of the PBF resource.
- {[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 Listing 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
- The provider-assigned unique ID for this managed resource.
- name str
- A brief descriptive name for the PBF trigger.
- pbf_listing_ strid 
- publisher_details Sequence[GetPbf Listing Publisher Detail] 
- Contains details about the publisher of this PBF Listing.
- state str
- The current state of the PBF resource.
- 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 Listing 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
- The provider-assigned unique ID for this managed resource.
- name String
- A brief descriptive name for the PBF trigger.
- pbfListing StringId 
- publisherDetails List<Property Map>
- Contains details about the publisher of this PBF Listing.
- state String
- The current state of the PBF resource.
- 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.
Supporting Types
GetPbfListingPublisherDetail    
- Name string
- A brief descriptive name for the PBF trigger.
- Name string
- A brief descriptive name for the PBF trigger.
- name String
- A brief descriptive name for the PBF trigger.
- name string
- A brief descriptive name for the PBF trigger.
- name str
- A brief descriptive name for the PBF trigger.
- name String
- A brief descriptive name for the PBF trigger.
GetPbfListingTrigger   
- Name string
- A brief descriptive name for the PBF trigger.
- Name string
- A brief descriptive name for the PBF trigger.
- name String
- A brief descriptive name for the PBF trigger.
- name string
- A brief descriptive name for the PBF trigger.
- name str
- A brief descriptive name for the PBF trigger.
- name String
- A brief descriptive name for the PBF trigger.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
