Moving a Capacity Reservation
Move a capacity reservation to another compartment.
- Navigate to the Capacity Reservations list page. If you need help finding the list page, see Listing Capacity Reservations.
- Select the capacity reservation.
- Select:
- Move resource.
- Choose the destination compartment from the list.
- Select Move resource.
Use the capacity reservations changecompartment command and required parameters to move a capacity reservation to a different compartment:
oci compute capacity-reservation change-compartment --from-json <file://path/to/file.json>
<file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.
For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use this API operation to move a capacity reservation to a different compartment: