import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/jms-java-download/latest/JavaLicenseAcceptanceRecord * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/jms_java_downloads * * Creates a Java license acceptance record for the specified license type in a tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJavaLicenseAcceptanceRecord = new oci.jms.JavaDownloadsJavaLicenseAcceptanceRecord("test_java_license_acceptance_record", { * compartmentId: tenancyOcid, * licenseAcceptanceStatus: javaLicenseAcceptanceRecordLicenseAcceptanceStatus, * licenseType: javaLicenseAcceptanceRecordLicenseType, * definedTags: { * "foo-namespace.bar-key": "value", * }, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class JavaDownloadsJavaLicenseAcceptanceRecord extends pulumi.CustomResource { /** * Get an existing JavaDownloadsJavaLicenseAcceptanceRecord 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?: JavaDownloadsJavaLicenseAcceptanceRecordState, opts?: pulumi.CustomResourceOptions): JavaDownloadsJavaLicenseAcceptanceRecord; /** * Returns true if the given object is an instance of JavaDownloadsJavaLicenseAcceptanceRecord. 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 JavaDownloadsJavaLicenseAcceptanceRecord; /** * The tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user accepting the license. */ readonly compartmentId: pulumi.Output; /** * An authorized principal. */ readonly createdBies: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * An authorized principal. */ readonly lastUpdatedBies: pulumi.Output; /** * (Updatable) Status of license acceptance. */ readonly licenseAcceptanceStatus: pulumi.Output; /** * License type for the Java version. * * ** 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 licenseType: pulumi.Output; /** * The current state of the JavaLicenseAcceptanceRecord. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeAccepted: pulumi.Output; /** * The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeLastUpdated: pulumi.Output; /** * Create a JavaDownloadsJavaLicenseAcceptanceRecord 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: JavaDownloadsJavaLicenseAcceptanceRecordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering JavaDownloadsJavaLicenseAcceptanceRecord resources. */ export interface JavaDownloadsJavaLicenseAcceptanceRecordState { /** * The tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user accepting the license. */ compartmentId?: pulumi.Input; /** * An authorized principal. */ createdBies?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * An authorized principal. */ lastUpdatedBies?: pulumi.Input[] | undefined>; /** * (Updatable) Status of license acceptance. */ licenseAcceptanceStatus?: pulumi.Input; /** * License type for the Java version. * * ** 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 */ licenseType?: pulumi.Input; /** * The current state of the JavaLicenseAcceptanceRecord. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time of license acceptance (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeAccepted?: pulumi.Input; /** * The date and time of last update (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeLastUpdated?: pulumi.Input; } /** * The set of arguments for constructing a JavaDownloadsJavaLicenseAcceptanceRecord resource. */ export interface JavaDownloadsJavaLicenseAcceptanceRecordArgs { /** * The tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user accepting the license. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Status of license acceptance. */ licenseAcceptanceStatus: pulumi.Input; /** * License type for the Java version. * * ** 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 */ licenseType: pulumi.Input; } //# sourceMappingURL=javaDownloadsJavaLicenseAcceptanceRecord.d.ts.map