1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getPbfListing
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Functions.getPbfListing

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 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: oci_functions_pbf_listing.test_pbf_listing.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_pbf_listing = oci.Functions.get_pbf_listing(pbf_listing_id=oci_functions_pbf_listing["test_pbf_listing"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_functions_pbf_listing.Test_pbf_listing.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 = oci_functions_pbf_listing.Test_pbf_listing.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(oci_functions_pbf_listing.test_pbf_listing().id())
                .build());
    
        }
    }
    
    variables:
      testPbfListing:
        fn::invoke:
          Function: oci:Functions:getPbfListing
          Arguments:
            pbfListingId: ${oci_functions_pbf_listing.test_pbf_listing.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getPbfListing:getPbfListing
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PbfListingId string
    unique PbfListing identifier
    PbfListingId string
    unique PbfListing identifier
    pbfListingId String
    unique PbfListing identifier
    pbfListingId string
    unique PbfListing identifier
    pbf_listing_id str
    unique PbfListing identifier
    pbfListingId String
    unique PbfListing identifier

    getPbfListing Result

    The following output properties are available:

    DefinedTags Dictionary<string, object>
    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, object>
    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, object>
    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]interface{}
    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]interface{}
    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]interface{}
    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,Object>
    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,Object>
    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,Object>
    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]: any}
    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]: any}
    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]: any}
    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, Any]
    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, Any]
    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, Any]
    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<Any>
    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<Any>
    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<Any>
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi