Moving a DHCP Options Set to a Different Compartment

Move a set of Dynamic Host Configuration Protocol (DHCP) options to a different compartment in your Oracle Cloud Infrastructure tenancy.

    1. On the Virtual cloud networks list page, select the VCN that contains the DHCP options you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
    2. On the details page, select IP administration and find the DHCP Options section.
      All DHCP options for the VCN are displayed in a table.
    3. Find the DHCP options you want to work with.
    4. From the Actions menu (three dots) for the DHCP option, select Move resource.
    5. In the Move resource panel, select the destination compartment from the list.
    6. Select Move resource.
  • Use the oci network dhcp-options change-compartment command and required parameters to move a set of DHCP options to a different compartment:

    oci network dhcp-options change-compartment --compartment-id <compartment_ocid> --dhcp-id <dhcp_ocid> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeDhcpOptionsCompartment operation to move a set of DHCP options to a different compartment.