Moving a Model Between Compartments
Move a model in Data Science to a different compartment.
For example, you might want to move a model to promote it from a development compartment to production compartment, or to change the visibility of the model.
A notification is displayed indicating that the model resource is moved to the new compartment successfully. You might notice the model status change to Moving
. After the move is completed successfully, the status changes back toActive
.Use the oci data-science model change-compartment command and required parameters to change the compartment:
oci data-science model change-compartment --compartment-id
<compartment-id>
.-c [<text>] --model-id [<text>] .. [OPTIONS]For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Use the ChangeModelCompartment operation to change the compartment for the model.