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 Listing Package Agreements in Oracle Cloud Infrastructure Marketplace service. * * Returns the terms of use agreements that must be accepted before you can deploy the specified version of a package. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListingPackageAgreements = oci.marketplace.getListingPackageAgreements({ * listingId: testListing.id, * packageVersion: listingPackageAgreementPackageVersion, * compartmentId: compartmentId, * }); * ``` */ export declare function getListingPackageAgreements(args: GetListingPackageAgreementsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getListingPackageAgreements. */ export interface GetListingPackageAgreementsArgs { /** * The unique identifier for the compartment. */ compartmentId?: string; filters?: inputs.Marketplace.GetListingPackageAgreementsFilter[]; /** * The unique identifier for the listing. */ listingId: string; /** * The version of the package. Package versions are unique within a listing. */ packageVersion: string; } /** * A collection of values returned by getListingPackageAgreements. */ export interface GetListingPackageAgreementsResult { /** * The list of agreements. */ readonly agreements: outputs.Marketplace.GetListingPackageAgreementsAgreement[]; /** * The unique identifier for the compartment. */ readonly compartmentId?: string; readonly filters?: outputs.Marketplace.GetListingPackageAgreementsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly listingId: string; readonly packageVersion: string; } /** * This data source provides the list of Listing Package Agreements in Oracle Cloud Infrastructure Marketplace service. * * Returns the terms of use agreements that must be accepted before you can deploy the specified version of a package. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListingPackageAgreements = oci.marketplace.getListingPackageAgreements({ * listingId: testListing.id, * packageVersion: listingPackageAgreementPackageVersion, * compartmentId: compartmentId, * }); * ``` */ export declare function getListingPackageAgreementsOutput(args: GetListingPackageAgreementsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getListingPackageAgreements. */ export interface GetListingPackageAgreementsOutputArgs { /** * The unique identifier for the compartment. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The unique identifier for the listing. */ listingId: pulumi.Input; /** * The version of the package. Package versions are unique within a listing. */ packageVersion: pulumi.Input; } //# sourceMappingURL=getListingPackageAgreements.d.ts.map