Moving a Distribution Channel Between Compartments

You can move a distribution channel in Media Streams from one compartment to another.

For details about moving a resource, see Managing Compartments.

    1. Open the navigation menu and click Analytics & AI. Under Media Services, click Media Streams.
    2. On the Distribution Channel list page, select the compartment that contains the channel that you want to move.
    3. Click the name of the channel that you want to move.
    4. On the Distribution Channel details page, click Move resource.
    5. In the Move resource dialog box, select the compartment to move the resource.
    6. Click Move resource.
      The resource is moved to the selected compartment.
  • To move a resource, run the change-compartment command:

    oci media-services stream-distribution-channel change-compartment [OPTIONS]

    Required parameters for the change-compartment command:

    • --compartment-id, -c [text]
    • --stream-distribution-channel-id [text]

    To get all the commands for stream-distribution-channel:

    oci media-services stream-distribution-channel -h

    To get help for the change-compartment command:

    oci media-services stream-distribution-channel 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 ChangeStreamDistributionChannelCompartment operation.