Moving a Resource
Move a resource from one compartment to another in Media Flow.
If the buckets or distribution channels used by the moved resource is not visible in the new compartment, a notification is displayed. Misconfiguration can lead to failed jobs. Ensure to update the configurations to prevent jobs from failing.
For details about moving a resource, see Managing Compartments.
- Open the navigation menu and click Analytics & AI. Under Media Services, click Media Flow.
- On the Media Workflows list page, select the compartment containing the media workflow from where you want to move resources.
- Click the name of the media workflow from where you want to move resources.
- On the Media Workflow details page, click Move resource.
- In the Move Resource dialog box, select the new compartment.
- Click Move resource.
To move a resource, run the
change-compartment
command:oci media-services media-workflow change-compartment [OPTIONS]
Required parameters for the
change-compartment
command:--compartment-id, -c [text]
--media-workflow-id [text]
To get all the commands for
media-workflow
:oci media-services media-workflow -h
To get help for the
change-compartment
command:oci media-services media-workflow change-compartment -h
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
To move a resource, use the
ChangeMediaWorkflowCompartment
operation.To move a job within a workflow, use the
ChangeMediaWorkflowJobCompartment
operation.