1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getPbfListing
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Functions.getPbfListing

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

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,
});
Copy
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"])
Copy
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.GetPbfListing(ctx, &functions.GetPbfListingArgs{
			PbfListingId: testPbfListingOciFunctionsPbfListing.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testPbfListing:
    fn::invoke:
      function: oci:Functions:getPbfListing
      arguments:
        pbfListingId: ${testPbfListingOciFunctionsPbfListing.id}
Copy

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>
Copy
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]
Copy
func GetPbfListing(ctx *Context, args *GetPbfListingArgs, opts ...InvokeOption) (*GetPbfListingResult, error)
func GetPbfListingOutput(ctx *Context, args *GetPbfListingOutputArgs, opts ...InvokeOption) GetPbfListingResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPbfListingResult> getPbfListing(GetPbfListingArgs args, InvokeOptions options)
public static Output<GetPbfListingResult> getPbfListing(GetPbfListingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Functions/getPbfListing:getPbfListing
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PbfListingId This property is required. string
unique PbfListing identifier
PbfListingId This property is required. string
unique PbfListing identifier
pbfListingId This property is required. String
unique PbfListing identifier
pbfListingId This property is required. string
unique PbfListing identifier
pbf_listing_id This property is required. str
unique PbfListing identifier
pbfListingId This property is required. String
unique PbfListing identifier

getPbfListing Result

The following output properties are available:

DefinedTags 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.
FreeformTags 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.
PbfListingId string
PublisherDetails List<GetPbfListingPublisherDetail>
Contains details about the publisher of this PBF Listing.
State string
The current state of the PBF resource.
SystemTags 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<GetPbfListingTrigger>
An array of Trigger. A list of triggers that may activate the PBF.
DefinedTags 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.
FreeformTags 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.
PbfListingId string
PublisherDetails []GetPbfListingPublisherDetail
Contains details about the publisher of this PBF Listing.
State string
The current state of the PBF resource.
SystemTags 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 []GetPbfListingTrigger
An array of Trigger. A list of triggers that may activate the PBF.
definedTags 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.
freeformTags 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.
pbfListingId String
publisherDetails List<GetPbfListingPublisherDetail>
Contains details about the publisher of this PBF Listing.
state String
The current state of the PBF resource.
systemTags 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<GetPbfListingTrigger>
An array of Trigger. A list of triggers that may activate the PBF.
definedTags {[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.
freeformTags {[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.
pbfListingId string
publisherDetails GetPbfListingPublisherDetail[]
Contains details about the publisher of this PBF Listing.
state string
The current state of the PBF resource.
systemTags {[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 GetPbfListingTrigger[]
An array of Trigger. A list of triggers that may activate the PBF.
defined_tags 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.
freeform_tags 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_id str
publisher_details Sequence[functions.GetPbfListingPublisherDetail]
Contains details about the publisher of this PBF Listing.
state str
The current state of the PBF resource.
system_tags 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[functions.GetPbfListingTrigger]
An array of Trigger. A list of triggers that may activate the PBF.
definedTags 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.
freeformTags 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.
pbfListingId String
publisherDetails List<Property Map>
Contains details about the publisher of this PBF Listing.
state String
The current state of the PBF resource.
systemTags 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 This property is required. string
A brief descriptive name for the PBF trigger.
Name This property is required. string
A brief descriptive name for the PBF trigger.
name This property is required. String
A brief descriptive name for the PBF trigger.
name This property is required. string
A brief descriptive name for the PBF trigger.
name This property is required. str
A brief descriptive name for the PBF trigger.
name This property is required. String
A brief descriptive name for the PBF trigger.

GetPbfListingTrigger

Name This property is required. string
A brief descriptive name for the PBF trigger.
Name This property is required. string
A brief descriptive name for the PBF trigger.
name This property is required. String
A brief descriptive name for the PBF trigger.
name This property is required. string
A brief descriptive name for the PBF trigger.
name This property is required. str
A brief descriptive name for the PBF trigger.
name This property is required. 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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi