Listing LPGs
List the local peering gateways (LPGs) in a virtual cloud network (VCN).
A VCN can have several LPGs, and each one can be used to connect to one and only one other VCN. See Gateway Limits for more details on current LPG limits.
Use the network local-peering-gateway list command and required parameters to list LPGs in a compartment:
oci network local-peering-gateway list --compartment-id ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListLocalPeeringGateways operation to list the LPGs in the specified compartment.