Moving an Agent Configuration
Move an agent configuration to another compartment.
Use the oci logging agent-configuration change-compartment command and required parameters to move an agent configuration to another compartment:
oci logging agent-configuration change-compartment --config-id config_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeUnifiedAgentConfigurationCompartment operation to move an agent configuration to another compartment.
Example API request:
POST /20200531/unifiedAgentConfigurations/<unifiedagentconfiguration_ocid>/actions/changeCompartment Host: https://logging.us-phoenix-1.oci.oraclecloud.com <authorization and other headers> { "compartmentId":<compartment_id> }