import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Model Provenance resource in Oracle Cloud Infrastructure Data Science service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ModelProvenance * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience * * Creates provenance information for the specified model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModelProvenance = new oci.datascience.ModelProvenance("test_model_provenance", { * modelId: testModel.id, * gitBranch: modelProvenanceGitBranch, * gitCommit: modelProvenanceGitCommit, * repositoryUrl: modelProvenanceRepositoryUrl, * scriptDir: modelProvenanceScriptDir, * trainingId: testTraining.id, * trainingScript: modelProvenanceTrainingScript, * }); * ``` * * ## Import * * ModelProvenances can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/modelProvenance:ModelProvenance test_model_provenance "models/{modelId}/provenance" * ``` */ export declare class ModelProvenance extends pulumi.CustomResource { /** * Get an existing ModelProvenance 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, state?: ModelProvenanceState, opts?: pulumi.CustomResourceOptions): ModelProvenance; /** * Returns true if the given object is an instance of ModelProvenance. 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 ModelProvenance; /** * (Updatable) For model reproducibility purposes. Branch of the git repository associated with model training. */ readonly gitBranch: pulumi.Output; /** * (Updatable) For model reproducibility purposes. Commit ID of the git repository associated with model training. */ readonly gitCommit: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ readonly modelId: pulumi.Output; /** * (Updatable) For model reproducibility purposes. URL of the git repository associated with model training. */ readonly repositoryUrl: pulumi.Output; /** * (Updatable) For model reproducibility purposes. Path to model artifacts. */ readonly scriptDir: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. */ readonly trainingId: pulumi.Output; /** * (Updatable) For model reproducibility purposes. Path to the python script or notebook in which the model was trained." * * ** 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 trainingScript: pulumi.Output; /** * Create a ModelProvenance 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: ModelProvenanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelProvenance resources. */ export interface ModelProvenanceState { /** * (Updatable) For model reproducibility purposes. Branch of the git repository associated with model training. */ gitBranch?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. Commit ID of the git repository associated with model training. */ gitCommit?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ modelId?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. URL of the git repository associated with model training. */ repositoryUrl?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. Path to model artifacts. */ scriptDir?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. */ trainingId?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. Path to the python script or notebook in which the model was trained." * * ** 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 */ trainingScript?: pulumi.Input; } /** * The set of arguments for constructing a ModelProvenance resource. */ export interface ModelProvenanceArgs { /** * (Updatable) For model reproducibility purposes. Branch of the git repository associated with model training. */ gitBranch?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. Commit ID of the git repository associated with model training. */ gitCommit?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ modelId: pulumi.Input; /** * (Updatable) For model reproducibility purposes. URL of the git repository associated with model training. */ repositoryUrl?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. Path to model artifacts. */ scriptDir?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. */ trainingId?: pulumi.Input; /** * (Updatable) For model reproducibility purposes. Path to the python script or notebook in which the model was trained." * * ** 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 */ trainingScript?: pulumi.Input; } //# sourceMappingURL=modelProvenance.d.ts.map