1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getPbfListing
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Functions.getPbfListing

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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: 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/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
    	})
    }
    
    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)
    // 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, 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 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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi