Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Functions.getPbfListingVersion
Explore with Pulumi AI
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,
});
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"])
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
})
}
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,
});
});
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());
}
}
variables:
testPbfListingVersion:
fn::invoke:
Function: oci:Functions:getPbfListingVersion
Arguments:
pbfListingVersionId: ${testPbfListingVersionOciFunctionsPbfListingVersion.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:
- Pbf
Listing stringVersion Id - unique PbfListingVersion identifier
- Pbf
Listing stringVersion Id - unique PbfListingVersion identifier
- pbf
Listing StringVersion Id - unique PbfListingVersion identifier
- pbf
Listing stringVersion Id - unique PbfListingVersion identifier
- pbf_
listing_ strversion_ id - unique PbfListingVersion identifier
- pbf
Listing StringVersion Id - unique PbfListingVersion identifier
getPbfListingVersion Result
The following output properties are available:
- Change
Summary string - Details changes are included in this version.
- Configs
List<Get
Pbf Listing Version Config> - Details about the required and optional Function configurations needed for proper performance of the PBF.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- Pbf
Listing stringId - The OCID of the PbfListing this resource version belongs to.
- Pbf
Listing stringVersion Id - Requirements
List<Get
Pbf Listing Version Requirement> - 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.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
- Time
Updated string - The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
- Triggers
List<Get
Pbf Listing Version Trigger> - An array of Trigger. A list of triggers that may activate the PBF.
- Change
Summary string - Details changes are included in this version.
- Configs
[]Get
Pbf Listing Version Config - Details about the required and optional Function configurations needed for proper performance of the PBF.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- Pbf
Listing stringId - The OCID of the PbfListing this resource version belongs to.
- Pbf
Listing stringVersion Id - Requirements
[]Get
Pbf Listing Version Requirement - 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.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
- Time
Updated string - The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
- Triggers
[]Get
Pbf Listing Version Trigger - An array of Trigger. A list of triggers that may activate the PBF.
- change
Summary String - Details changes are included in this version.
- configs
List<Get
Pbf Listing Version Config> - Details about the required and optional Function configurations needed for proper performance of the PBF.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- pbf
Listing StringId - The OCID of the PbfListing this resource version belongs to.
- pbf
Listing StringVersion Id - requirements
List<Get
Pbf Listing Version Requirement> - 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.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
- time
Updated String - The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
- triggers
List<Get
Pbf Listing Version Trigger> - An array of Trigger. A list of triggers that may activate the PBF.
- change
Summary string - Details changes are included in this version.
- configs
Get
Pbf Listing Version Config[] - Details about the required and optional Function configurations needed for proper performance of the PBF.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[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.
- pbf
Listing stringId - The OCID of the PbfListing this resource version belongs to.
- pbf
Listing stringVersion Id - requirements
Get
Pbf Listing Version Requirement[] - 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.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
- time
Updated string - The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.
- triggers
Get
Pbf Listing Version Trigger[] - 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.
Get Pbf Listing Version Config] - Details about the required and optional Function configurations needed for proper performance of the PBF.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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_ strid - The OCID of the PbfListing this resource version belongs to.
- pbf_
listing_ strversion_ id - requirements
Sequence[functions.
Get Pbf Listing Version Requirement] - 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.
- 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.
Get Pbf Listing Version Trigger] - An array of Trigger. A list of triggers that may activate the PBF.
- change
Summary 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.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- pbf
Listing StringId - The OCID of the PbfListing this resource version belongs to.
- pbf
Listing StringVersion Id - 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.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the PbfListingVersion was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- Is
Optional 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.
- Is
Optional 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.
- is
Optional 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.
- is
Optional 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.
- is
Optional 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
- Min
Memory stringRequired In Mbs - Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
- Policies
List<Get
Pbf Listing Version Requirement Policy> - List of policies required for this PBF execution.
- Min
Memory stringRequired In Mbs - Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
- Policies
[]Get
Pbf Listing Version Requirement Policy - List of policies required for this PBF execution.
- min
Memory StringRequired In Mbs - Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
- policies
List<Get
Pbf Listing Version Requirement Policy> - List of policies required for this PBF execution.
- min
Memory stringRequired In Mbs - Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
- policies
Get
Pbf Listing Version Requirement Policy[] - List of policies required for this PBF execution.
- min_
memory_ strrequired_ in_ mbs - Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function.
- policies
Sequence[functions.
Get Pbf Listing Version Requirement Policy] - List of policies required for this PBF execution.
- min
Memory StringRequired In Mbs - 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.