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. On the Distribution channels list page, select the compartment that contains the channel that you want to move. If you need help finding the list page, see Creating a Distribution Channel.
    2. Select the name of the channel that you want to move.
    3. On the details page, select the Actions menu and then select Move resource.
    4. In the Move resource panel, select the compartment to move the resource to.
    5. Select 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.