import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Model resource in Oracle Cloud Infrastructure Ai Language service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/language/latest/Model
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/aiLanguage
 *
 * Creates a new model for training and train the model with date provided.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testModel = new oci.ailanguage.Model("test_model", {
 *     compartmentId: compartmentId,
 *     modelDetails: {
 *         modelType: modelModelDetailsModelType,
 *         classificationMode: {
 *             classificationMode: modelModelDetailsClassificationModeClassificationMode,
 *             version: modelModelDetailsClassificationModeVersion,
 *         },
 *         languageCode: modelModelDetailsLanguageCode,
 *         version: modelModelDetailsVersion,
 *     },
 *     projectId: testProject.id,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     description: modelDescription,
 *     displayName: modelDisplayName,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     testStrategy: {
 *         strategyType: modelTestStrategyStrategyType,
 *         testingDataset: {
 *             datasetType: modelTestStrategyTestingDatasetDatasetType,
 *             datasetId: testDataset.id,
 *             locationDetails: {
 *                 bucket: modelTestStrategyTestingDatasetLocationDetailsBucket,
 *                 locationType: modelTestStrategyTestingDatasetLocationDetailsLocationType,
 *                 namespace: modelTestStrategyTestingDatasetLocationDetailsNamespace,
 *                 objectNames: modelTestStrategyTestingDatasetLocationDetailsObjectNames,
 *             },
 *         },
 *         validationDataset: {
 *             datasetType: modelTestStrategyValidationDatasetDatasetType,
 *             datasetId: testDataset.id,
 *             locationDetails: {
 *                 bucket: modelTestStrategyValidationDatasetLocationDetailsBucket,
 *                 locationType: modelTestStrategyValidationDatasetLocationDetailsLocationType,
 *                 namespace: modelTestStrategyValidationDatasetLocationDetailsNamespace,
 *                 objectNames: modelTestStrategyValidationDatasetLocationDetailsObjectNames,
 *             },
 *         },
 *     },
 *     trainingDataset: {
 *         datasetType: modelTrainingDatasetDatasetType,
 *         datasetId: testDataset.id,
 *         locationDetails: {
 *             bucket: modelTrainingDatasetLocationDetailsBucket,
 *             locationType: modelTrainingDatasetLocationDetailsLocationType,
 *             namespace: modelTrainingDatasetLocationDetailsNamespace,
 *             objectNames: modelTrainingDatasetLocationDetailsObjectNames,
 *         },
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Models can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:AiLanguage/model:Model test_model "id"
 * ```
 */
export declare class Model extends pulumi.CustomResource {
    /**
     * Get an existing Model 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?: ModelState, opts?: pulumi.CustomResourceOptions): Model;
    /**
     * Returns true if the given object is an instance of Model.  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 Model;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)  for the models compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A short description of the a model.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * model training results of different models
     */
    readonly evaluationResults: pulumi.Output<outputs.AiLanguage.ModelEvaluationResult[]>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * 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>;
    /**
     * Possible model types
     */
    readonly modelDetails: pulumi.Output<outputs.AiLanguage.ModelModelDetails>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * The state of the model.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Possible strategy as testing and validation(optional) dataset.
     */
    readonly testStrategy: pulumi.Output<outputs.AiLanguage.ModelTestStrategy>;
    /**
     * The time the the model was created. An RFC3339 formatted datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the model was updated. An RFC3339 formatted datetime string.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Possible data set type
     */
    readonly trainingDataset: pulumi.Output<outputs.AiLanguage.ModelTrainingDataset>;
    /**
     * For pre trained models this will identify model type version used for model creation For custom this will identify model type version used for model creation and custom model on which training has to be done <<service>>::<<service-name>>_<<model-type-version>>::<<custom model on which this training has to be done>> ex: ai-lang::NER_V1::CUSTOM-V0
     */
    readonly version: pulumi.Output<string>;
    /**
     * Create a Model 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: ModelArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Model resources.
 */
export interface ModelState {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)  for the models compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A short description of the a model.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * model training results of different models
     */
    evaluationResults?: pulumi.Input<pulumi.Input<inputs.AiLanguage.ModelEvaluationResult>[] | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | 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>;
    /**
     * Possible model types
     */
    modelDetails?: pulumi.Input<inputs.AiLanguage.ModelModelDetails | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * The state of the model.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Possible strategy as testing and validation(optional) dataset.
     */
    testStrategy?: pulumi.Input<inputs.AiLanguage.ModelTestStrategy | undefined>;
    /**
     * The time the the model was created. An RFC3339 formatted datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the model was updated. An RFC3339 formatted datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * Possible data set type
     */
    trainingDataset?: pulumi.Input<inputs.AiLanguage.ModelTrainingDataset | undefined>;
    /**
     * For pre trained models this will identify model type version used for model creation For custom this will identify model type version used for model creation and custom model on which training has to be done <<service>>::<<service-name>>_<<model-type-version>>::<<custom model on which this training has to be done>> ex: ai-lang::NER_V1::CUSTOM-V0
     */
    version?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Model resource.
 */
export interface ModelArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)  for the models compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A short description of the a model.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Possible model types
     */
    modelDetails: pulumi.Input<inputs.AiLanguage.ModelModelDetails>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
     */
    projectId: pulumi.Input<string>;
    /**
     * Possible strategy as testing and validation(optional) dataset.
     */
    testStrategy?: pulumi.Input<inputs.AiLanguage.ModelTestStrategy | undefined>;
    /**
     * Possible data set type
     */
    trainingDataset: pulumi.Input<inputs.AiLanguage.ModelTrainingDataset>;
}
//# sourceMappingURL=model.d.ts.map