Moving an Announcement Subscription to a Different Compartment
You can move an announcement subscription from one compartment to another.
- Click the Announcements icon (), and then click Subscriptions.
- Under List scope, click Compartment, and then choose a compartment that you have permission to work in. The page updates to display only the resources in that compartment. If you're not sure which compartment to use, contact an administrator.
- In the list of subscriptions, find the subscription you want to move, and then click the subscription name.
- Click Move resource.
- Click Destination compartment, and then select a new compartment from the list.
- When you're ready, click Move resource.
- Use the oci announce announcement-subscription change-compartment command and required parameters to move an announcement subscription to a different compartment:
oci announce announcement-subscription change-compartment --announcement-subscription-id <announcementsubscription_OCID> --compartment-id <new_compartment_OCID>
For example:oci announce announcement-subscription change-compartment --announcement-subscription-id ocid1.announcementsubscription.<realm1>..<unique_ID> --compartment-id ocid1.compartment.<realm>..<unique_ID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeAnnouncementSubscriptionCompartment operation to move an announcement subscription to a different compartment.