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 Accepted Agreements in Oracle Cloud Infrastructure Marketplace service. * * Lists the terms of use agreements that have been accepted in the specified compartment. * You can filter results by specifying query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAcceptedAgreements = oci.marketplace.getAcceptedAgreements({ * compartmentId: compartmentId, * acceptedAgreementId: testAcceptedAgreement.id, * displayName: acceptedAgreementDisplayName, * listingId: testListing.id, * packageVersion: acceptedAgreementPackageVersion, * }); * ``` */ export declare function getAcceptedAgreements(args: GetAcceptedAgreementsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAcceptedAgreements. */ export interface GetAcceptedAgreementsArgs { /** * The unique identifier for the accepted terms of use agreement. */ acceptedAgreementId?: string; /** * The unique identifier for the compartment. */ compartmentId: string; /** * The display name of the resource. */ displayName?: string; filters?: inputs.Marketplace.GetAcceptedAgreementsFilter[]; /** * 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 getAcceptedAgreements. */ export interface GetAcceptedAgreementsResult { readonly acceptedAgreementId?: string; /** * The list of accepted_agreements. */ readonly acceptedAgreements: outputs.Marketplace.GetAcceptedAgreementsAcceptedAgreement[]; /** * The unique identifier for the compartment where the agreement was accepted. */ readonly compartmentId: string; /** * A display name for the accepted agreement. */ readonly displayName?: string; readonly filters?: outputs.Marketplace.GetAcceptedAgreementsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The unique identifier for the listing associated with the agreement. */ readonly listingId?: string; /** * The package version associated with the agreement. */ readonly packageVersion?: string; } /** * This data source provides the list of Accepted Agreements in Oracle Cloud Infrastructure Marketplace service. * * Lists the terms of use agreements that have been accepted in the specified compartment. * You can filter results by specifying query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAcceptedAgreements = oci.marketplace.getAcceptedAgreements({ * compartmentId: compartmentId, * acceptedAgreementId: testAcceptedAgreement.id, * displayName: acceptedAgreementDisplayName, * listingId: testListing.id, * packageVersion: acceptedAgreementPackageVersion, * }); * ``` */ export declare function getAcceptedAgreementsOutput(args: GetAcceptedAgreementsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAcceptedAgreements. */ export interface GetAcceptedAgreementsOutputArgs { /** * The unique identifier for the accepted terms of use agreement. */ acceptedAgreementId?: pulumi.Input; /** * The unique identifier for the compartment. */ compartmentId: pulumi.Input; /** * The display name of the resource. */ displayName?: 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=getAcceptedAgreements.d.ts.map