import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Accepted Agreement resource in Oracle Cloud Infrastructure Marketplace service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/marketplace/latest/AcceptedAgreement
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/marketplace
 *
 * Accepts a terms of use agreement for a specific package version of a listing. You must accept all
 * terms of use for a package before you can deploy the package.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testAcceptedAgreement = new oci.marketplace.AcceptedAgreement("test_accepted_agreement", {
 *     agreementId: testAgreement.id,
 *     compartmentId: compartmentId,
 *     listingId: testListing.id,
 *     packageVersion: acceptedAgreementPackageVersion,
 *     signature: acceptedAgreementSignature,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     displayName: acceptedAgreementDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * AcceptedAgreements can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Marketplace/acceptedAgreement:AcceptedAgreement test_accepted_agreement "id"
 * ```
 */
export declare class AcceptedAgreement extends pulumi.CustomResource {
    /**
     * Get an existing AcceptedAgreement 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<pulumi.ID>, state?: AcceptedAgreementState, opts?: pulumi.CustomResourceOptions): AcceptedAgreement;
    /**
     * Returns true if the given object is an instance of AcceptedAgreement.  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 AcceptedAgreement;
    /**
     * The agreement to accept.
     */
    readonly agreementId: pulumi.Output<string>;
    /**
     * The unique identifier for the compartment where the agreement will be accepted.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A display name for the accepted agreement.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The unique identifier for the listing associated with the agreement.
     */
    readonly listingId: pulumi.Output<string>;
    /**
     * The package version associated with the agreement.
     */
    readonly packageVersion: pulumi.Output<string>;
    /**
     * A signature generated for the listing package agreements that you can retrieve with [GetAgreement](https://docs.cloud.oracle.com/iaas/api/#/en/marketplace/20181001/Agreement/GetAgreement).
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly signature: pulumi.Output<string>;
    /**
     * The time the agreement was accepted.
     */
    readonly timeAccepted: pulumi.Output<string>;
    /**
     * Create a AcceptedAgreement 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: AcceptedAgreementArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AcceptedAgreement resources.
 */
export interface AcceptedAgreementState {
    /**
     * The agreement to accept.
     */
    agreementId?: pulumi.Input<string | undefined>;
    /**
     * The unique identifier for the compartment where the agreement will be accepted.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A display name for the accepted agreement.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The unique identifier for the listing associated with the agreement.
     */
    listingId?: pulumi.Input<string | undefined>;
    /**
     * The package version associated with the agreement.
     */
    packageVersion?: pulumi.Input<string | undefined>;
    /**
     * A signature generated for the listing package agreements that you can retrieve with [GetAgreement](https://docs.cloud.oracle.com/iaas/api/#/en/marketplace/20181001/Agreement/GetAgreement).
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    signature?: pulumi.Input<string | undefined>;
    /**
     * The time the agreement was accepted.
     */
    timeAccepted?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AcceptedAgreement resource.
 */
export interface AcceptedAgreementArgs {
    /**
     * The agreement to accept.
     */
    agreementId: pulumi.Input<string>;
    /**
     * The unique identifier for the compartment where the agreement will be accepted.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A display name for the accepted agreement.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The unique identifier for the listing associated with the agreement.
     */
    listingId: pulumi.Input<string>;
    /**
     * The package version associated with the agreement.
     */
    packageVersion: pulumi.Input<string>;
    /**
     * A signature generated for the listing package agreements that you can retrieve with [GetAgreement](https://docs.cloud.oracle.com/iaas/api/#/en/marketplace/20181001/Agreement/GetAgreement).
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    signature: pulumi.Input<string>;
}
//# sourceMappingURL=acceptedAgreement.d.ts.map