Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Functions.getPbfListing
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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/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:
- Pbf
Listing stringId - unique PbfListing identifier
- Pbf
Listing stringId - unique PbfListing identifier
- pbf
Listing StringId - unique PbfListing identifier
- pbf
Listing stringId - unique PbfListing identifier
- pbf_
listing_ strid - unique PbfListing identifier
- pbf
Listing StringId - unique PbfListing identifier
getPbfListing Result
The following output properties are available:
- 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.
- 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.
- Pbf
Listing stringId - Publisher
Details List<GetPbf Listing Publisher Detail> - Contains details about the publisher of this PBF Listing.
- State string
- The current state of the PBF resource.
- Dictionary<string, object>
- 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 PbfListing was created. An RFC3339 formatted datetime string.
- Time
Updated string - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- Triggers
List<Get
Pbf Listing Trigger> - An array of Trigger. A list of triggers that may activate the PBF.
- 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.
- 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.
- Pbf
Listing stringId - Publisher
Details []GetPbf Listing Publisher Detail - Contains details about the publisher of this PBF Listing.
- State string
- The current state of the PBF resource.
- map[string]interface{}
- 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 PbfListing was created. An RFC3339 formatted datetime string.
- Time
Updated string - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- Triggers
[]Get
Pbf Listing Trigger - An array of Trigger. A list of triggers that may activate the PBF.
- 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.
- 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.
- pbf
Listing StringId - publisher
Details List<GetPbf Listing Publisher Detail> - Contains details about the publisher of this PBF Listing.
- state String
- The current state of the PBF resource.
- Map<String,Object>
- 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 PbfListing was created. An RFC3339 formatted datetime string.
- time
Updated String - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
List<Get
Pbf Listing Trigger> - An array of Trigger. A list of triggers that may activate the PBF.
- {[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.
- {[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.
- pbf
Listing stringId - publisher
Details GetPbf Listing Publisher Detail[] - Contains details about the publisher of this PBF Listing.
- state string
- The current state of the PBF resource.
- {[key: string]: any}
- 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 PbfListing was created. An RFC3339 formatted datetime string.
- time
Updated string - The last time the PbfListing was updated. An RFC3339 formatted datetime string.
- triggers
Get
Pbf Listing Trigger[] - An array of Trigger. A list of triggers that may activate the PBF.
- 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.
- 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_ strid - publisher_
details Sequence[functions.Get Pbf Listing Publisher Detail] - Contains details about the publisher of this PBF Listing.
- state str
- The current state of the PBF resource.
- 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.
Get Pbf Listing Trigger] - An array of Trigger. A list of triggers that may activate the PBF.
- 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.
- 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.
- pbf
Listing StringId - publisher
Details List<Property Map> - Contains details about the publisher of this PBF Listing.
- state String
- The current state of the PBF resource.
- Map<Any>
- 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 PbfListing was created. An RFC3339 formatted datetime string.
- time
Updated 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi