Updating the Network Security Group of an OCI Database with PostgreSQL Database System
Change the network security group of an OCI Database with PostgreSQL database system.
Use the
oci psql db-system updatecommand and required parameters to update the NSG of a database system:oci psql db-system update --db-system-id <db-system_OCID> --network-details <network_details_json> [OPTIONS]To get your database system's OCID, see Listing Database Systems.
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateDbSystem operation with the
networkDetailsattribute to update the network security group of the database system.