1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getPbfListingVersion
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.Functions.getPbfListingVersion

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    This data source provides details about a specific Pbf Listing Version resource in Oracle Cloud Infrastructure Functions service.

    Gets a PbfListingVersion by identifier for a PbfListing.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testPbfListingVersion = Oci.Functions.GetPbfListingVersion.Invoke(new()
        {
            PbfListingVersionId = oci_functions_pbf_listing_version.Test_pbf_listing_version.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.GetPbfListingVersion(ctx, &functions.GetPbfListingVersionArgs{
    			PbfListingVersionId: oci_functions_pbf_listing_version.Test_pbf_listing_version.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.GetPbfListingVersionArgs;
    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 testPbfListingVersion = FunctionsFunctions.getPbfListingVersion(GetPbfListingVersionArgs.builder()
                .pbfListingVersionId(oci_functions_pbf_listing_version.test_pbf_listing_version().id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_pbf_listing_version = oci.Functions.get_pbf_listing_version(pbf_listing_version_id=oci_functions_pbf_listing_version["test_pbf_listing_version"]["id"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPbfListingVersion = oci.Functions.getPbfListingVersion({
        pbfListingVersionId: oci_functions_pbf_listing_version.test_pbf_listing_version.id,
    });
    
    variables:
      testPbfListingVersion:
        fn::invoke:
          Function: oci:Functions:getPbfListingVersion
          Arguments:
            pbfListingVersionId: ${oci_functions_pbf_listing_version.test_pbf_listing_version.id}
    

    Using getPbfListingVersion

    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 getPbfListingVersion(args: GetPbfListingVersionArgs, opts?: InvokeOptions): Promise<GetPbfListingVersionResult>
    function getPbfListingVersionOutput(args: GetPbfListingVersionOutputArgs, opts?: InvokeOptions): Output<GetPbfListingVersionResult>
    def get_pbf_listing_version(pbf_listing_version_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetPbfListingVersionResult
    def get_pbf_listing_version_output(pbf_listing_version_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetPbfListingVersionResult]
    func GetPbfListingVersion(ctx *Context, args *GetPbfListingVersionArgs, opts ...InvokeOption) (*GetPbfListingVersionResult, error)
    func GetPbfListingVersionOutput(ctx *Context, args *GetPbfListingVersionOutputArgs, opts ...InvokeOption) GetPbfListingVersionResultOutput

    > Note: This function is named GetPbfListingVersion in the Go SDK.

    public static class GetPbfListingVersion 
    {
        public static Task<GetPbfListingVersionResult> InvokeAsync(GetPbfListingVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetPbfListingVersionResult> Invoke(GetPbfListingVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPbfListingVersionResult> getPbfListingVersion(GetPbfListingVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getPbfListingVersion:getPbfListingVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PbfListingVersionId string
    unique PbfListingVersion identifier
    PbfListingVersionId string
    unique PbfListingVersion identifier
    pbfListingVersionId String
    unique PbfListingVersion identifier
    pbfListingVersionId string
    unique PbfListingVersion identifier
    pbf_listing_version_id str
    unique PbfListingVersion identifier
    pbfListingVersionId String
    unique PbfListingVersion identifier

    getPbfListingVersion Result

    The following output properties are available:

    ChangeSummary string
    Details changes are included in this version.
    Configs List<GetPbfListingVersionConfig>
    Details about the required and optional Function configurations needed for proper performance of the PBF.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    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
    The OCID of the PbfListing this resource version belongs to.
    PbfListingVersionId string
    Requirements List<GetPbfListingVersionRequirement>
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    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 PbfListingVersion was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
    Triggers List<GetPbfListingVersionTrigger>
    An array of Trigger. A list of triggers that may activate the PBF.
    ChangeSummary string
    Details changes are included in this version.
    Configs []GetPbfListingVersionConfig
    Details about the required and optional Function configurations needed for proper performance of 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"}
    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
    The OCID of the PbfListing this resource version belongs to.
    PbfListingVersionId string
    Requirements []GetPbfListingVersionRequirement
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    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 PbfListingVersion was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
    Triggers []GetPbfListingVersionTrigger
    An array of Trigger. A list of triggers that may activate the PBF.
    changeSummary String
    Details changes are included in this version.
    configs List<GetPbfListingVersionConfig>
    Details about the required and optional Function configurations needed for proper performance of 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"}
    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
    The OCID of the PbfListing this resource version belongs to.
    pbfListingVersionId String
    requirements List<GetPbfListingVersionRequirement>
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    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 PbfListingVersion was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
    triggers List<GetPbfListingVersionTrigger>
    An array of Trigger. A list of triggers that may activate the PBF.
    changeSummary string
    Details changes are included in this version.
    configs GetPbfListingVersionConfig[]
    Details about the required and optional Function configurations needed for proper performance of 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"}
    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
    The OCID of the PbfListing this resource version belongs to.
    pbfListingVersionId string
    requirements GetPbfListingVersionRequirement[]
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    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 PbfListingVersion was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
    triggers GetPbfListingVersionTrigger[]
    An array of Trigger. A list of triggers that may activate the PBF.
    change_summary str
    Details changes are included in this version.
    configs GetPbfListingVersionConfig]
    Details about the required and optional Function configurations needed for proper performance of 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"}
    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
    The OCID of the PbfListing this resource version belongs to.
    pbf_listing_version_id str
    requirements GetPbfListingVersionRequirement]
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    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 PbfListingVersion was created. An RFC3339 formatted datetime string.
    time_updated str
    The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
    triggers GetPbfListingVersionTrigger]
    An array of Trigger. A list of triggers that may activate the PBF.
    changeSummary String
    Details changes are included in this version.
    configs List<Property Map>
    Details about the required and optional Function configurations needed for proper performance of 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"}
    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
    The OCID of the PbfListing this resource version belongs to.
    pbfListingVersionId String
    requirements List<Property Map>
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    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 PbfListingVersion was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The last time the PbfListingVersion 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

    GetPbfListingVersionConfig

    Description string
    Details about why this policy is required and what it will be used for.
    IsOptional bool
    Is this a required config or an optional one. Requests with required config params missing will be rejected.
    Key string
    The key name of the config param.
    Description string
    Details about why this policy is required and what it will be used for.
    IsOptional bool
    Is this a required config or an optional one. Requests with required config params missing will be rejected.
    Key string
    The key name of the config param.
    description String
    Details about why this policy is required and what it will be used for.
    isOptional Boolean
    Is this a required config or an optional one. Requests with required config params missing will be rejected.
    key String
    The key name of the config param.
    description string
    Details about why this policy is required and what it will be used for.
    isOptional boolean
    Is this a required config or an optional one. Requests with required config params missing will be rejected.
    key string
    The key name of the config param.
    description str
    Details about why this policy is required and what it will be used for.
    is_optional bool
    Is this a required config or an optional one. Requests with required config params missing will be rejected.
    key str
    The key name of the config param.
    description String
    Details about why this policy is required and what it will be used for.
    isOptional Boolean
    Is this a required config or an optional one. Requests with required config params missing will be rejected.
    key String
    The key name of the config param.

    GetPbfListingVersionRequirement

    MinMemoryRequiredInMbs string
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    Policies List<GetPbfListingVersionRequirementPolicy>
    List of policies required for this PBF execution.
    MinMemoryRequiredInMbs string
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    Policies []GetPbfListingVersionRequirementPolicy
    List of policies required for this PBF execution.
    minMemoryRequiredInMbs String
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    policies List<GetPbfListingVersionRequirementPolicy>
    List of policies required for this PBF execution.
    minMemoryRequiredInMbs string
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    policies GetPbfListingVersionRequirementPolicy[]
    List of policies required for this PBF execution.
    min_memory_required_in_mbs str
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    policies GetPbfListingVersionRequirementPolicy]
    List of policies required for this PBF execution.
    minMemoryRequiredInMbs String
    Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
    policies List<Property Map>
    List of policies required for this PBF execution.

    GetPbfListingVersionRequirementPolicy

    Description string
    Details about why this policy is required and what it will be used for.
    Policy string
    Policy required for PBF execution
    Description string
    Details about why this policy is required and what it will be used for.
    Policy string
    Policy required for PBF execution
    description String
    Details about why this policy is required and what it will be used for.
    policy String
    Policy required for PBF execution
    description string
    Details about why this policy is required and what it will be used for.
    policy string
    Policy required for PBF execution
    description str
    Details about why this policy is required and what it will be used for.
    policy str
    Policy required for PBF execution
    description String
    Details about why this policy is required and what it will be used for.
    policy String
    Policy required for PBF execution

    GetPbfListingVersionTrigger

    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.24.0 published on Thursday, Feb 22, 2024 by Pulumi