import * as pulumi from "@pulumi/pulumi"; /** * This resource provides details about a specific Listing Package Agreement resource in Oracle Cloud Infrastructure Marketplace service. * * This resource can be used to retrieve the time-based signature of terms of use agreement for a package that can be used to * accept the agreement. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListingPackageAgreement = new oci.marketplace.ListingPackageAgreement("test_listing_package_agreement", { * agreementId: testAgreement.id, * listingId: testListing.id, * packageVersion: listingPackageAgreementPackageVersion, * compartmentId: compartmentId, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class ListingPackageAgreement extends pulumi.CustomResource { /** * Get an existing ListingPackageAgreement resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ListingPackageAgreementState, opts?: pulumi.CustomResourceOptions): ListingPackageAgreement; /** * Returns true if the given object is an instance of ListingPackageAgreement. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ListingPackageAgreement; /** * The unique identifier for the agreement. */ readonly agreementId: pulumi.Output; /** * Who authored the agreement. */ readonly author: pulumi.Output; /** * The unique identifier for the compartment, required in gov regions. */ readonly compartmentId: pulumi.Output; /** * The content URL of the agreement. */ readonly contentUrl: pulumi.Output; /** * The unique identifier for the listing. */ readonly listingId: pulumi.Output; /** * The version of the package. Package versions are unique within a listing. */ readonly packageVersion: pulumi.Output; /** * Textual prompt to read and accept the agreement. */ readonly prompt: pulumi.Output; /** * A time-based signature that can be used to accept an agreement or remove a previously accepted agreement from the list that Marketplace checks before a deployment. */ readonly signature: pulumi.Output; /** * Create a ListingPackageAgreement resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ListingPackageAgreementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ListingPackageAgreement resources. */ export interface ListingPackageAgreementState { /** * The unique identifier for the agreement. */ agreementId?: pulumi.Input; /** * Who authored the agreement. */ author?: pulumi.Input; /** * The unique identifier for the compartment, required in gov regions. */ compartmentId?: pulumi.Input; /** * The content URL of the agreement. */ contentUrl?: pulumi.Input; /** * The unique identifier for the listing. */ listingId?: pulumi.Input; /** * The version of the package. Package versions are unique within a listing. */ packageVersion?: pulumi.Input; /** * Textual prompt to read and accept the agreement. */ prompt?: pulumi.Input; /** * A time-based signature that can be used to accept an agreement or remove a previously accepted agreement from the list that Marketplace checks before a deployment. */ signature?: pulumi.Input; } /** * The set of arguments for constructing a ListingPackageAgreement resource. */ export interface ListingPackageAgreementArgs { /** * The unique identifier for the agreement. */ agreementId: pulumi.Input; /** * The unique identifier for the compartment, required in gov regions. */ compartmentId?: pulumi.Input; /** * 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=listingPackageAgreement.d.ts.map