import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Job resource in Oracle Cloud Infrastructure Ai Language service.
 *
 * Creates a new language service async job.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testJob = new oci.ailanguage.Job("test_job", {
 *     compartmentId: compartmentId,
 *     inputLocation: {
 *         bucket: jobInputLocationBucket,
 *         locationType: jobInputLocationLocationType,
 *         namespace: jobInputLocationNamespace,
 *         objectNames: jobInputLocationObjectNames,
 *         prefix: jobInputLocationPrefix,
 *     },
 *     modelMetadataDetails: [{
 *         configuration: [{
 *             configurationMap: jobModelMetadataDetailsConfigurationConfigurationMap,
 *         }],
 *         endpointId: testEndpoint.id,
 *         languageCode: jobModelMetadataDetailsLanguageCode,
 *         modelId: testModel.id,
 *         modelType: jobModelMetadataDetailsModelType,
 *     }],
 *     outputLocation: {
 *         bucket: jobOutputLocationBucket,
 *         namespace: jobOutputLocationNamespace,
 *         prefix: jobOutputLocationPrefix,
 *     },
 *     description: jobDescription,
 *     displayName: jobDisplayName,
 *     inputConfiguration: {
 *         configuration: [{
 *             config: jobInputConfigurationConfigurationConfig,
 *         }],
 *         documentTypes: jobInputConfigurationDocumentTypes,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Jobs can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:AiLanguage/job:Job test_job "id"
 * ```
 */
export declare class Job extends pulumi.CustomResource {
    /**
     * Get an existing Job 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?: JobState, opts?: pulumi.CustomResourceOptions): Job;
    /**
     * Returns true if the given object is an instance of Job.  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 Job;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    readonly completedDocuments: pulumi.Output<number>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job.
     */
    readonly createdBy: pulumi.Output<string>;
    /**
     * (Updatable) A short description of the job.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A user-friendly display name for the job.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    readonly failedDocuments: pulumi.Output<number>;
    /**
     * input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
     */
    readonly inputConfiguration: pulumi.Output<outputs.AiLanguage.JobInputConfiguration>;
    /**
     * document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
     */
    readonly inputLocation: pulumi.Output<outputs.AiLanguage.JobInputLocation>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API
     */
    readonly modelMetadataDetails: pulumi.Output<outputs.AiLanguage.JobModelMetadataDetail[]>;
    /**
     * Object storage output location to write inference results
     */
    readonly outputLocation: pulumi.Output<outputs.AiLanguage.JobOutputLocation>;
    /**
     * Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    readonly pendingDocuments: pulumi.Output<number>;
    /**
     * How much progress the operation has made, vs the total amount of work that must be performed.
     */
    readonly percentComplete: pulumi.Output<number>;
    /**
     * The current state of the Job.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Job accepted time.
     */
    readonly timeAccepted: pulumi.Output<string>;
    /**
     * Job finished time.
     */
    readonly timeCompleted: pulumi.Output<string>;
    /**
     * Job started time.
     */
    readonly timeStarted: pulumi.Output<string>;
    /**
     * Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    readonly totalDocuments: pulumi.Output<number>;
    /**
     * Time to live duration in days for Job. Job will be available till max 90 days.
     */
    readonly ttlInDays: pulumi.Output<number>;
    /**
     * warnings count
     */
    readonly warningsCount: pulumi.Output<number>;
    /**
     * Create a Job 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: JobArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Job resources.
 */
export interface JobState {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    completedDocuments?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job.
     */
    createdBy?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A short description of the job.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly display name for the job.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    failedDocuments?: pulumi.Input<number | undefined>;
    /**
     * input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
     */
    inputConfiguration?: pulumi.Input<inputs.AiLanguage.JobInputConfiguration | undefined>;
    /**
     * document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
     */
    inputLocation?: pulumi.Input<inputs.AiLanguage.JobInputLocation | undefined>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API
     */
    modelMetadataDetails?: pulumi.Input<pulumi.Input<inputs.AiLanguage.JobModelMetadataDetail>[] | undefined>;
    /**
     * Object storage output location to write inference results
     */
    outputLocation?: pulumi.Input<inputs.AiLanguage.JobOutputLocation | undefined>;
    /**
     * Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    pendingDocuments?: pulumi.Input<number | undefined>;
    /**
     * How much progress the operation has made, vs the total amount of work that must be performed.
     */
    percentComplete?: pulumi.Input<number | undefined>;
    /**
     * The current state of the Job.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Job accepted time.
     */
    timeAccepted?: pulumi.Input<string | undefined>;
    /**
     * Job finished time.
     */
    timeCompleted?: pulumi.Input<string | undefined>;
    /**
     * Job started time.
     */
    timeStarted?: pulumi.Input<string | undefined>;
    /**
     * Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
     */
    totalDocuments?: pulumi.Input<number | undefined>;
    /**
     * Time to live duration in days for Job. Job will be available till max 90 days.
     */
    ttlInDays?: pulumi.Input<number | undefined>;
    /**
     * warnings count
     */
    warningsCount?: pulumi.Input<number | undefined>;
}
/**
 * The set of arguments for constructing a Job resource.
 */
export interface JobArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) A short description of the job.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly display name for the job.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
     */
    inputConfiguration?: pulumi.Input<inputs.AiLanguage.JobInputConfiguration | undefined>;
    /**
     * document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
     */
    inputLocation: pulumi.Input<inputs.AiLanguage.JobInputLocation>;
    /**
     * training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API
     */
    modelMetadataDetails: pulumi.Input<pulumi.Input<inputs.AiLanguage.JobModelMetadataDetail>[]>;
    /**
     * Object storage output location to write inference results
     */
    outputLocation: pulumi.Input<inputs.AiLanguage.JobOutputLocation>;
}
//# sourceMappingURL=job.d.ts.map