1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getPbfListingTriggers
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Functions.getPbfListingTriggers

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides the list of Pbf Listing Triggers in Oracle Cloud Infrastructure Functions service.

    Returns a list of Triggers.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPbfListingTriggers = oci.Functions.getPbfListingTriggers({
        name: _var.pbf_listing_trigger_name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_pbf_listing_triggers = oci.Functions.get_pbf_listing_triggers(name=var["pbf_listing_trigger_name"])
    
    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.GetPbfListingTriggers(ctx, &functions.GetPbfListingTriggersArgs{
    			Name: pulumi.StringRef(_var.Pbf_listing_trigger_name),
    		}, 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 testPbfListingTriggers = Oci.Functions.GetPbfListingTriggers.Invoke(new()
        {
            Name = @var.Pbf_listing_trigger_name,
        });
    
    });
    
    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.GetPbfListingTriggersArgs;
    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 testPbfListingTriggers = FunctionsFunctions.getPbfListingTriggers(GetPbfListingTriggersArgs.builder()
                .name(var_.pbf_listing_trigger_name())
                .build());
    
        }
    }
    
    variables:
      testPbfListingTriggers:
        fn::invoke:
          Function: oci:Functions:getPbfListingTriggers
          Arguments:
            name: ${var.pbf_listing_trigger_name}
    

    Using getPbfListingTriggers

    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 getPbfListingTriggers(args: GetPbfListingTriggersArgs, opts?: InvokeOptions): Promise<GetPbfListingTriggersResult>
    function getPbfListingTriggersOutput(args: GetPbfListingTriggersOutputArgs, opts?: InvokeOptions): Output<GetPbfListingTriggersResult>
    def get_pbf_listing_triggers(filters: Optional[Sequence[_functions.GetPbfListingTriggersFilter]] = None,
                                 name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetPbfListingTriggersResult
    def get_pbf_listing_triggers_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetPbfListingTriggersFilterArgs]]]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetPbfListingTriggersResult]
    func GetPbfListingTriggers(ctx *Context, args *GetPbfListingTriggersArgs, opts ...InvokeOption) (*GetPbfListingTriggersResult, error)
    func GetPbfListingTriggersOutput(ctx *Context, args *GetPbfListingTriggersOutputArgs, opts ...InvokeOption) GetPbfListingTriggersResultOutput

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

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

    The following arguments are supported:

    Filters List<GetPbfListingTriggersFilter>
    Name string
    A filter to return only resources that match the service trigger source of a PBF.
    Filters []GetPbfListingTriggersFilter
    Name string
    A filter to return only resources that match the service trigger source of a PBF.
    filters List<GetPbfListingTriggersFilter>
    name String
    A filter to return only resources that match the service trigger source of a PBF.
    filters GetPbfListingTriggersFilter[]
    name string
    A filter to return only resources that match the service trigger source of a PBF.
    filters Sequence[functions.GetPbfListingTriggersFilter]
    name str
    A filter to return only resources that match the service trigger source of a PBF.
    filters List<Property Map>
    name String
    A filter to return only resources that match the service trigger source of a PBF.

    getPbfListingTriggers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TriggersCollections List<GetPbfListingTriggersTriggersCollection>
    The list of triggers_collection.
    Filters List<GetPbfListingTriggersFilter>
    Name string
    A brief descriptive name for the PBF trigger.
    Id string
    The provider-assigned unique ID for this managed resource.
    TriggersCollections []GetPbfListingTriggersTriggersCollection
    The list of triggers_collection.
    Filters []GetPbfListingTriggersFilter
    Name string
    A brief descriptive name for the PBF trigger.
    id String
    The provider-assigned unique ID for this managed resource.
    triggersCollections List<GetPbfListingTriggersTriggersCollection>
    The list of triggers_collection.
    filters List<GetPbfListingTriggersFilter>
    name String
    A brief descriptive name for the PBF trigger.
    id string
    The provider-assigned unique ID for this managed resource.
    triggersCollections GetPbfListingTriggersTriggersCollection[]
    The list of triggers_collection.
    filters GetPbfListingTriggersFilter[]
    name string
    A brief descriptive name for the PBF trigger.
    id str
    The provider-assigned unique ID for this managed resource.
    triggers_collections Sequence[functions.GetPbfListingTriggersTriggersCollection]
    The list of triggers_collection.
    filters Sequence[functions.GetPbfListingTriggersFilter]
    name str
    A brief descriptive name for the PBF trigger.
    id String
    The provider-assigned unique ID for this managed resource.
    triggersCollections List<Property Map>
    The list of triggers_collection.
    filters List<Property Map>
    name String
    A brief descriptive name for the PBF trigger.

    Supporting Types

    GetPbfListingTriggersFilter

    Name string
    A filter to return only resources that match the service trigger source of a PBF.
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the service trigger source of a PBF.
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the service trigger source of a PBF.
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the service trigger source of a PBF.
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the service trigger source of a PBF.
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the service trigger source of a PBF.
    values List<String>
    regex Boolean

    GetPbfListingTriggersTriggersCollection

    items List<Property Map>
    List of TriggerSummary.

    GetPbfListingTriggersTriggersCollectionItem

    Name string
    A filter to return only resources that match the service trigger source of a PBF.
    Name string
    A filter to return only resources that match the service trigger source of a PBF.
    name String
    A filter to return only resources that match the service trigger source of a PBF.
    name string
    A filter to return only resources that match the service trigger source of a PBF.
    name str
    A filter to return only resources that match the service trigger source of a PBF.
    name String
    A filter to return only resources that match the service trigger source of a PBF.

    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.32.0 published on Thursday, Apr 18, 2024 by Pulumi