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 Data Science service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/Model
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience
 *
 * Creates a new model.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testModel = new oci.datascience.Model("test_model", {
 *     compartmentId: compartmentId,
 *     projectId: testProject.id,
 *     backupSetting: {
 *         backupRegion: modelBackupSettingBackupRegion,
 *         isBackupEnabled: modelBackupSettingIsBackupEnabled === "true",
 *         customerNotificationType: modelBackupSettingCustomerNotificationType,
 *     },
 *     customMetadataLists: [{
 *         category: modelCustomMetadataListCategory,
 *         description: modelCustomMetadataListDescription,
 *         hasArtifact: modelCustomMetadataListHasArtifact === "true",
 *         key: modelCustomMetadataListKey,
 *         keywords: modelCustomMetadataListKeywords,
 *         value: modelCustomMetadataListValue,
 *     }],
 *     definedMetadataLists: [{
 *         category: modelDefinedMetadataListCategory,
 *         description: modelDefinedMetadataListDescription,
 *         hasArtifact: modelDefinedMetadataListHasArtifact === "true",
 *         key: modelDefinedMetadataListKey,
 *         keywords: modelDefinedMetadataListKeywords,
 *         value: modelDefinedMetadataListValue,
 *     }],
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: modelDescription,
 *     displayName: modelDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     inputSchema: modelInputSchema,
 *     outputSchema: modelOutputSchema,
 *     retentionSetting: {
 *         archiveAfterDays: Number(modelRetentionSettingArchiveAfterDays),
 *         customerNotificationType: modelRetentionSettingCustomerNotificationType,
 *         deleteAfterDays: Number(modelRetentionSettingDeleteAfterDays),
 *     },
 *     versionLabel: modelVersionLabel,
 * });
 * ```
 *
 * ## Import
 *
 * Models can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataScience/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;
    /**
     * This allows to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: `attachment; filename=model-artifact.zip`
     */
    readonly artifactContentDisposition: pulumi.Output<string>;
    /**
     * The content length of the model_artifact.
     *
     * ** 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 artifactContentLength: pulumi.Output<string>;
    readonly artifactContentMd5: pulumi.Output<string>;
    readonly artifactLastModified: pulumi.Output<string>;
    /**
     * Backup operation details of the model.
     */
    readonly backupOperationDetails: pulumi.Output<outputs.DataScience.ModelBackupOperationDetail[]>;
    /**
     * (Updatable) Back up setting details of the model.
     */
    readonly backupSetting: pulumi.Output<outputs.DataScience.ModelBackupSetting>;
    /**
     * Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,Reports,Readme,other".
     */
    readonly category: pulumi.Output<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model.
     */
    readonly createdBy: pulumi.Output<string>;
    /**
     * (Updatable) An array of custom metadata details for the model.
     */
    readonly customMetadataLists: pulumi.Output<outputs.DataScience.ModelCustomMetadataList[]>;
    /**
     * (Updatable) An array of defined metadata details for the model.
     */
    readonly definedMetadataLists: pulumi.Output<outputs.DataScience.ModelDefinedMetadataList[]>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A short description of the 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. Example: `My Model`
     */
    readonly displayName: pulumi.Output<string>;
    readonly emptyModel: pulumi.Output<boolean>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Input schema file content in String format
     */
    readonly inputSchema: pulumi.Output<string>;
    /**
     * Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
     */
    readonly isModelByReference: pulumi.Output<boolean>;
    /**
     * Details about the lifecycle state of the model.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
     */
    readonly modelArtifact: pulumi.Output<string>;
    /**
     * The OCID of the model version set that the model is associated to.
     */
    readonly modelVersionSetId: pulumi.Output<string>;
    /**
     * The name of the model version set that the model is associated to.
     */
    readonly modelVersionSetName: pulumi.Output<string>;
    /**
     * Output schema file content in String format
     */
    readonly outputSchema: pulumi.Output<string>;
    /**
     * 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>;
    /**
     * Retention operation details for the model.
     */
    readonly retentionOperationDetails: pulumi.Output<outputs.DataScience.ModelRetentionOperationDetail[]>;
    /**
     * (Updatable) Retention setting details of the model.
     */
    readonly retentionSetting: pulumi.Output<outputs.DataScience.ModelRetentionSetting>;
    /**
     * The state of the model.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
     */
    readonly versionLabel: 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 {
    /**
     * This allows to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: `attachment; filename=model-artifact.zip`
     */
    artifactContentDisposition?: pulumi.Input<string | undefined>;
    /**
     * The content length of the model_artifact.
     *
     * ** 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
     */
    artifactContentLength?: pulumi.Input<string | undefined>;
    artifactContentMd5?: pulumi.Input<string | undefined>;
    artifactLastModified?: pulumi.Input<string | undefined>;
    /**
     * Backup operation details of the model.
     */
    backupOperationDetails?: pulumi.Input<pulumi.Input<inputs.DataScience.ModelBackupOperationDetail>[] | undefined>;
    /**
     * (Updatable) Back up setting details of the model.
     */
    backupSetting?: pulumi.Input<inputs.DataScience.ModelBackupSetting | undefined>;
    /**
     * Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,Reports,Readme,other".
     */
    category?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model.
     */
    createdBy?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) An array of custom metadata details for the model.
     */
    customMetadataLists?: pulumi.Input<pulumi.Input<inputs.DataScience.ModelCustomMetadataList>[] | undefined>;
    /**
     * (Updatable) An array of defined metadata details for the model.
     */
    definedMetadataLists?: pulumi.Input<pulumi.Input<inputs.DataScience.ModelDefinedMetadataList>[] | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A short description of the 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. Example: `My Model`
     */
    displayName?: pulumi.Input<string | undefined>;
    emptyModel?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Input schema file content in String format
     */
    inputSchema?: pulumi.Input<string | undefined>;
    /**
     * Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
     */
    isModelByReference?: pulumi.Input<boolean | undefined>;
    /**
     * Details about the lifecycle state of the model.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
     */
    modelArtifact?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the model version set that the model is associated to.
     */
    modelVersionSetId?: pulumi.Input<string | undefined>;
    /**
     * The name of the model version set that the model is associated to.
     */
    modelVersionSetName?: pulumi.Input<string | undefined>;
    /**
     * Output schema file content in String format
     */
    outputSchema?: pulumi.Input<string | 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>;
    /**
     * Retention operation details for the model.
     */
    retentionOperationDetails?: pulumi.Input<pulumi.Input<inputs.DataScience.ModelRetentionOperationDetail>[] | undefined>;
    /**
     * (Updatable) Retention setting details of the model.
     */
    retentionSetting?: pulumi.Input<inputs.DataScience.ModelRetentionSetting | undefined>;
    /**
     * The state of the model.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
     */
    versionLabel?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Model resource.
 */
export interface ModelArgs {
    /**
     * This allows to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: `attachment; filename=model-artifact.zip`
     */
    artifactContentDisposition?: pulumi.Input<string | undefined>;
    /**
     * The content length of the model_artifact.
     *
     * ** 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
     */
    artifactContentLength: pulumi.Input<string>;
    /**
     * (Updatable) Back up setting details of the model.
     */
    backupSetting?: pulumi.Input<inputs.DataScience.ModelBackupSetting | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) An array of custom metadata details for the model.
     */
    customMetadataLists?: pulumi.Input<pulumi.Input<inputs.DataScience.ModelCustomMetadataList>[] | undefined>;
    /**
     * (Updatable) An array of defined metadata details for the model.
     */
    definedMetadataLists?: pulumi.Input<pulumi.Input<inputs.DataScience.ModelDefinedMetadataList>[] | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A short description of the 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. Example: `My Model`
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Input schema file content in String format
     */
    inputSchema?: pulumi.Input<string | undefined>;
    /**
     * The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
     */
    modelArtifact: pulumi.Input<string>;
    /**
     * The OCID of the model version set that the model is associated to.
     */
    modelVersionSetId?: pulumi.Input<string | undefined>;
    /**
     * The name of the model version set that the model is associated to.
     */
    modelVersionSetName?: pulumi.Input<string | undefined>;
    /**
     * Output schema file content in String format
     */
    outputSchema?: pulumi.Input<string | 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>;
    /**
     * (Updatable) Retention setting details of the model.
     */
    retentionSetting?: pulumi.Input<inputs.DataScience.ModelRetentionSetting | undefined>;
    /**
     * The state of the model.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
     */
    versionLabel?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=model.d.ts.map