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, 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; /** * The unique identifier for the compartment where the agreement will be accepted. */ readonly compartmentId: pulumi.Output; /** * (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; /** * (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; /** * The package version associated with the agreement. */ readonly packageVersion: pulumi.Output; /** * 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; /** * The time the agreement was accepted. */ readonly timeAccepted: pulumi.Output; /** * 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; /** * The unique identifier for the compartment where the agreement will be accepted. */ compartmentId?: pulumi.Input; /** * (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; } | undefined>; /** * (Updatable) A display name for the accepted agreement. */ displayName?: pulumi.Input; /** * (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; } | undefined>; /** * The unique identifier for the listing associated with the agreement. */ listingId?: pulumi.Input; /** * The package version associated with the agreement. */ packageVersion?: pulumi.Input; /** * 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; /** * The time the agreement was accepted. */ timeAccepted?: pulumi.Input; } /** * The set of arguments for constructing a AcceptedAgreement resource. */ export interface AcceptedAgreementArgs { /** * The agreement to accept. */ agreementId: pulumi.Input; /** * The unique identifier for the compartment where the agreement will be accepted. */ compartmentId: pulumi.Input; /** * (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; } | undefined>; /** * (Updatable) A display name for the accepted agreement. */ displayName?: pulumi.Input; /** * (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; } | undefined>; /** * The unique identifier for the listing associated with the agreement. */ listingId: pulumi.Input; /** * The package version associated with the agreement. */ packageVersion: pulumi.Input; /** * 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; } //# sourceMappingURL=acceptedAgreement.d.ts.map