import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
 *
 * Gets a JavaDownloadToken by identifier
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testJavaDownloadToken = oci.jms.getJavaDownloadsJavaDownloadToken({
 *     javaDownloadTokenId: testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id,
 * });
 * ```
 */
export declare function getJavaDownloadsJavaDownloadToken(args: GetJavaDownloadsJavaDownloadTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetJavaDownloadsJavaDownloadTokenResult>;
/**
 * A collection of arguments for invoking getJavaDownloadsJavaDownloadToken.
 */
export interface GetJavaDownloadsJavaDownloadTokenArgs {
    /**
     * Unique JavaDownloadToken identifier.
     */
    javaDownloadTokenId: string;
}
/**
 * A collection of values returned by getJavaDownloadsJavaDownloadToken.
 */
export interface GetJavaDownloadsJavaDownloadTokenResult {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the JavaDownloadToken.
     */
    readonly compartmentId: string;
    /**
     * An authorized principal.
     */
    readonly createdBies: outputs.Jms.GetJavaDownloadsJavaDownloadTokenCreatedBy[];
    /**
     * 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: {
        [key: string]: string;
    };
    /**
     * User provided description of the JavaDownloadToken.
     */
    readonly description: string;
    /**
     * The name of the principal.
     */
    readonly displayName: 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: {
        [key: string]: string;
    };
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal.
     */
    readonly id: string;
    /**
     * A flag to indicate if the token is default.
     */
    readonly isDefault: boolean;
    readonly javaDownloadTokenId: string;
    /**
     * The associated Java version of the JavaDownloadToken.
     */
    readonly javaVersion: string;
    /**
     * An authorized principal.
     */
    readonly lastUpdatedBies: outputs.Jms.GetJavaDownloadsJavaDownloadTokenLastUpdatedBy[];
    /**
     * The license type(s) associated with the JavaDownloadToken.
     */
    readonly licenseTypes: string[];
    /**
     * Possible lifecycle substates.
     */
    readonly lifecycleDetails: string;
    /**
     * The current state of the JavaDownloadToken.
     */
    readonly state: string;
    /**
     * 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: {
        [key: string]: string;
    };
    /**
     * The time the JavaDownloadToken was created, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
     */
    readonly timeCreated: string;
    /**
     * The expiry time of the JavaDownloadToken, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
     */
    readonly timeExpires: string;
    /**
     * The time the JavaDownloadToken was last used for download, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
     */
    readonly timeLastUsed: string;
    /**
     * The time the JavaDownloadToken was updated, displayed as an [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
     */
    readonly timeUpdated: string;
    /**
     * Uniquely generated value for the JavaDownloadToken.
     */
    readonly value: string;
}
/**
 * This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
 *
 * Gets a JavaDownloadToken by identifier
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testJavaDownloadToken = oci.jms.getJavaDownloadsJavaDownloadToken({
 *     javaDownloadTokenId: testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id,
 * });
 * ```
 */
export declare function getJavaDownloadsJavaDownloadTokenOutput(args: GetJavaDownloadsJavaDownloadTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJavaDownloadsJavaDownloadTokenResult>;
/**
 * A collection of arguments for invoking getJavaDownloadsJavaDownloadToken.
 */
export interface GetJavaDownloadsJavaDownloadTokenOutputArgs {
    /**
     * Unique JavaDownloadToken identifier.
     */
    javaDownloadTokenId: pulumi.Input<string>;
}
//# sourceMappingURL=getJavaDownloadsJavaDownloadToken.d.ts.map