1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getPbfListingVersion
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Functions.getPbfListingVersion

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 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

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPbfListingVersion = oci.Functions.getPbfListingVersion({
    pbfListingVersionId: testPbfListingVersionOciFunctionsPbfListingVersion.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_pbf_listing_version = oci.Functions.get_pbf_listing_version(pbf_listing_version_id=test_pbf_listing_version_oci_functions_pbf_listing_version["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.GetPbfListingVersion(ctx, &functions.GetPbfListingVersionArgs{
			PbfListingVersionId: testPbfListingVersionOciFunctionsPbfListingVersion.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 testPbfListingVersion = Oci.Functions.GetPbfListingVersion.Invoke(new()
    {
        PbfListingVersionId = testPbfListingVersionOciFunctionsPbfListingVersion.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.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(testPbfListingVersionOciFunctionsPbfListingVersion.id())
            .build());

    }
}
Copy
variables:
  testPbfListingVersion:
    fn::invoke:
      function: oci:Functions:getPbfListingVersion
      arguments:
        pbfListingVersionId: ${testPbfListingVersionOciFunctionsPbfListingVersion.id}
Copy

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>
Copy
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]
Copy
func GetPbfListingVersion(ctx *Context, args *GetPbfListingVersionArgs, opts ...InvokeOption) (*GetPbfListingVersionResult, error)
func GetPbfListingVersionOutput(ctx *Context, args *GetPbfListingVersionOutputArgs, opts ...InvokeOption) GetPbfListingVersionResultOutput
Copy

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

The following arguments are supported:

PbfListingVersionId This property is required. string
unique PbfListingVersion identifier
PbfListingVersionId This property is required. string
unique PbfListingVersion identifier
pbfListingVersionId This property is required. String
unique PbfListingVersion identifier
pbfListingVersionId This property is required. string
unique PbfListingVersion identifier
pbf_listing_version_id This property is required. str
unique PbfListingVersion identifier
pbfListingVersionId This property is required. 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, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
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
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, 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 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]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
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
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]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 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,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
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
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,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 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]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
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
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]: 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 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 Sequence[functions.GetPbfListingVersionConfig]
Details about the required and optional Function configurations needed for proper performance of 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"}
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
The OCID of the PbfListing this resource version belongs to.
pbf_listing_version_id str
requirements Sequence[functions.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, 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 PbfListingVersion was created. An RFC3339 formatted datetime string.
time_updated str
The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
triggers Sequence[functions.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<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
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
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<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 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 This property is required. string
Details about why this policy is required and what it will be used for.
IsOptional This property is required. bool
Is this a required config or an optional one. Requests with required config params missing will be rejected.
Key This property is required. string
The key name of the config param.
Description This property is required. string
Details about why this policy is required and what it will be used for.
IsOptional This property is required. bool
Is this a required config or an optional one. Requests with required config params missing will be rejected.
Key This property is required. string
The key name of the config param.
description This property is required. String
Details about why this policy is required and what it will be used for.
isOptional This property is required. Boolean
Is this a required config or an optional one. Requests with required config params missing will be rejected.
key This property is required. String
The key name of the config param.
description This property is required. string
Details about why this policy is required and what it will be used for.
isOptional This property is required. boolean
Is this a required config or an optional one. Requests with required config params missing will be rejected.
key This property is required. string
The key name of the config param.
description This property is required. str
Details about why this policy is required and what it will be used for.
is_optional This property is required. bool
Is this a required config or an optional one. Requests with required config params missing will be rejected.
key This property is required. str
The key name of the config param.
description This property is required. String
Details about why this policy is required and what it will be used for.
isOptional This property is required. Boolean
Is this a required config or an optional one. Requests with required config params missing will be rejected.
key This property is required. String
The key name of the config param.

GetPbfListingVersionRequirement

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

GetPbfListingVersionRequirementPolicy

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

GetPbfListingVersionTrigger

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.30.0 published on Monday, Apr 14, 2025 by Pulumi