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 Vision service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/vision/latest/Model
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/aiVision
 *
 * Create a new model.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testModel = new oci.aivision.Model("test_model", {
 *     compartmentId: compartmentId,
 *     modelType: modelModelType,
 *     projectId: testProject.id,
 *     trainingDataset: {
 *         datasetType: modelTrainingDatasetDatasetType,
 *         bucket: modelTrainingDatasetBucket,
 *         datasetId: testDataset.id,
 *         namespaceName: modelTrainingDatasetNamespace,
 *         object: modelTrainingDatasetObject,
 *     },
 *     definedTags: modelDefinedTags,
 *     description: modelDescription,
 *     displayName: modelDisplayName,
 *     freeformTags: modelFreeformTags,
 *     isQuickMode: modelIsQuickMode === "true",
 *     maxTrainingDurationInHours: modelMaxTrainingDurationInHours,
 *     modelVersion: modelModelVersion,
 *     testingDataset: {
 *         datasetType: modelTestingDatasetDatasetType,
 *         bucket: modelTestingDatasetBucket,
 *         datasetId: testDataset.id,
 *         namespaceName: modelTestingDatasetNamespace,
 *         object: modelTestingDatasetObject,
 *     },
 *     validationDataset: {
 *         datasetType: modelValidationDatasetDatasetType,
 *         bucket: modelValidationDatasetBucket,
 *         datasetId: testDataset.id,
 *         namespaceName: modelValidationDatasetNamespace,
 *         object: modelValidationDatasetObject,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Models can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:AiVision/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;
    /**
     * The mean average precision of the trained model.
     */
    readonly averagePrecision: pulumi.Output<number>;
    /**
     * (Updatable) The compartment identifier.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The intersection over the union threshold used for calculating precision and recall.
     */
    readonly confidenceThreshold: pulumi.Output<number>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) An optional description of the model.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A human-friendly name for the model, which can be changed.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data.
     */
    readonly isQuickMode: pulumi.Output<boolean>;
    /**
     * A message describing the current state in more detail, that can provide actionable information if training failed.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The maximum model training duration in hours, expressed as a decimal fraction.
     */
    readonly maxTrainingDurationInHours: pulumi.Output<number>;
    /**
     * The complete set of per-label metrics for successfully trained models.
     */
    readonly metrics: pulumi.Output<string>;
    /**
     * Which type of Vision model this is.
     */
    readonly modelType: pulumi.Output<string>;
    /**
     * The model version
     */
    readonly modelVersion: pulumi.Output<string>;
    /**
     * The precision of the trained model.
     */
    readonly precision: pulumi.Output<number>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * Recall of the trained model.
     */
    readonly recall: pulumi.Output<number>;
    /**
     * The current state of the model.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The number of images set aside for evaluating model performance metrics after training.
     */
    readonly testImageCount: pulumi.Output<number>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    readonly testingDataset: pulumi.Output<outputs.AiVision.ModelTestingDataset>;
    /**
     * When the model was created, as an RFC3339 datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * When the model was updated, as an RFC3339 datetime string.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The number of images in the dataset used to train, validate, and test the model.
     */
    readonly totalImageCount: pulumi.Output<number>;
    /**
     * The total hours actually used for model training.
     */
    readonly trainedDurationInHours: pulumi.Output<number>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    readonly trainingDataset: pulumi.Output<outputs.AiVision.ModelTrainingDataset>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    readonly validationDataset: pulumi.Output<outputs.AiVision.ModelValidationDataset>;
    /**
     * 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 {
    /**
     * The mean average precision of the trained model.
     */
    averagePrecision?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The compartment identifier.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The intersection over the union threshold used for calculating precision and recall.
     */
    confidenceThreshold?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) An optional description of the model.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A human-friendly name for the model, which can be changed.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data.
     */
    isQuickMode?: pulumi.Input<boolean | undefined>;
    /**
     * A message describing the current state in more detail, that can provide actionable information if training failed.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The maximum model training duration in hours, expressed as a decimal fraction.
     */
    maxTrainingDurationInHours?: pulumi.Input<number | undefined>;
    /**
     * The complete set of per-label metrics for successfully trained models.
     */
    metrics?: pulumi.Input<string | undefined>;
    /**
     * Which type of Vision model this is.
     */
    modelType?: pulumi.Input<string | undefined>;
    /**
     * The model version
     */
    modelVersion?: pulumi.Input<string | undefined>;
    /**
     * The precision of the trained model.
     */
    precision?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * Recall of the trained model.
     */
    recall?: pulumi.Input<number | undefined>;
    /**
     * The current state of the model.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The number of images set aside for evaluating model performance metrics after training.
     */
    testImageCount?: pulumi.Input<number | undefined>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    testingDataset?: pulumi.Input<inputs.AiVision.ModelTestingDataset | undefined>;
    /**
     * When the model was created, as an RFC3339 datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * When the model was updated, as an RFC3339 datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The number of images in the dataset used to train, validate, and test the model.
     */
    totalImageCount?: pulumi.Input<number | undefined>;
    /**
     * The total hours actually used for model training.
     */
    trainedDurationInHours?: pulumi.Input<number | undefined>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    trainingDataset?: pulumi.Input<inputs.AiVision.ModelTrainingDataset | undefined>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    validationDataset?: pulumi.Input<inputs.AiVision.ModelValidationDataset | undefined>;
}
/**
 * The set of arguments for constructing a Model resource.
 */
export interface ModelArgs {
    /**
     * (Updatable) The compartment identifier.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) An optional description of the model.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A human-friendly name for the model, which can be changed.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data.
     */
    isQuickMode?: pulumi.Input<boolean | undefined>;
    /**
     * The maximum model training duration in hours, expressed as a decimal fraction.
     */
    maxTrainingDurationInHours?: pulumi.Input<number | undefined>;
    /**
     * Which type of Vision model this is.
     */
    modelType: pulumi.Input<string>;
    /**
     * The model version
     */
    modelVersion?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.
     */
    projectId: pulumi.Input<string>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    testingDataset?: pulumi.Input<inputs.AiVision.ModelTestingDataset | undefined>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    trainingDataset: pulumi.Input<inputs.AiVision.ModelTrainingDataset>;
    /**
     * The base entity which is the input for creating and training a model.
     */
    validationDataset?: pulumi.Input<inputs.AiVision.ModelValidationDataset | undefined>;
}
//# sourceMappingURL=model.d.ts.map