import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Pbf Listing Versions in Oracle Cloud Infrastructure Functions service. * * Fetches a wrapped list of all Pre-built Function(PBF) Listing versions. Returns a PbfListingVersionCollection * containing an array of PbfListingVersionSummary response models. * * Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall * be thrown. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPbfListingVersions = oci.functions.getPbfListingVersions({ * pbfListingId: testPbfListing.id, * isCurrentVersion: pbfListingVersionIsCurrentVersion === "true", * name: pbfListingVersionName, * pbfListingVersionId: testPbfListingVersion.id, * state: pbfListingVersionState, * }); * ``` */ export declare function getPbfListingVersions(args: GetPbfListingVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPbfListingVersions. */ export interface GetPbfListingVersionsArgs { filters?: inputs.Functions.GetPbfListingVersionsFilter[]; /** * Matches the current version (the most recently added version with an Active lifecycleState) associated with a PbfListing. */ isCurrentVersion?: boolean; /** * Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion. Each PbfListingVersion name is unique with respect to its associated PbfListing. */ name?: string; /** * unique PbfListing identifier */ pbfListingId: string; /** * unique PbfListingVersion identifier */ pbfListingVersionId?: string; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getPbfListingVersions. */ export interface GetPbfListingVersionsResult { readonly filters?: outputs.Functions.GetPbfListingVersionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCurrentVersion?: boolean; /** * A brief descriptive name for the PBF trigger. */ readonly name?: string; /** * The OCID of the PbfListing this resource version belongs to. */ readonly pbfListingId: string; readonly pbfListingVersionId?: string; /** * The list of pbf_listing_versions_collection. */ readonly pbfListingVersionsCollections: outputs.Functions.GetPbfListingVersionsPbfListingVersionsCollection[]; /** * The current state of the PBF resource. */ readonly state?: string; } /** * This data source provides the list of Pbf Listing Versions in Oracle Cloud Infrastructure Functions service. * * Fetches a wrapped list of all Pre-built Function(PBF) Listing versions. Returns a PbfListingVersionCollection * containing an array of PbfListingVersionSummary response models. * * Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall * be thrown. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPbfListingVersions = oci.functions.getPbfListingVersions({ * pbfListingId: testPbfListing.id, * isCurrentVersion: pbfListingVersionIsCurrentVersion === "true", * name: pbfListingVersionName, * pbfListingVersionId: testPbfListingVersion.id, * state: pbfListingVersionState, * }); * ``` */ export declare function getPbfListingVersionsOutput(args: GetPbfListingVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPbfListingVersions. */ export interface GetPbfListingVersionsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * Matches the current version (the most recently added version with an Active lifecycleState) associated with a PbfListing. */ isCurrentVersion?: pulumi.Input; /** * Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion. Each PbfListingVersion name is unique with respect to its associated PbfListing. */ name?: pulumi.Input; /** * unique PbfListing identifier */ pbfListingId: pulumi.Input; /** * unique PbfListingVersion identifier */ pbfListingVersionId?: pulumi.Input; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getPbfListingVersions.d.ts.map