turbot/oci

steampipe plugin install ocisteampipe plugin install oci
On This Page
Get Involved

Table: oci_core_local_peering_gateway

A local peering gateway (LPG) is an object on a VCN that lets that VCN peer with another VCN in the same region.

Examples

Basic info

select
name,
id,
vcn_id,
lifecycle_state
from
oci_core_local_peering_gateway;

List available LPGs

select
name,
id,
vcn_id,
lifecycle_state
from
oci_core_local_peering_gateway
where
lifecycle_state = 'AVAILABLE';

List LPGs which are not connected to any peer

select
name,
id,
vcn_id,
lifecycle_state
from
oci_core_local_peering_gateway
where
peering_status = 'NEW';

.inspect oci_core_local_peering_gateway

OCI Core Local Peering Gateway

NameTypeDescription
compartment_idtextThe OCID of the compartment in Tenant in which the resource is located.
defined_tagsjsonbDefined tags for resource. Defined tags are set up in your tenancy by an administrator. Only users granted permission to work with the defined tags can apply them to resources.
freeform_tagsjsonbFree-form tags for resource. This tags can be applied by any user with permissions on the resource.
idtextThe LPG's Oracle ID
is_cross_tenancy_peeringbooleanWhether the VCN at the other end of the peering is in a different tenancy.
lifecycle_statetextThe LPG's current lifecycle state.
nametextA user-friendly name. Does not have to be unique, and it's changeable.
peer_advertised_cidrcidrThe smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at the other end of the peering from this LPG.
peer_advertised_cidr_detailsjsonbThe specific ranges of IP addresses available on or via the VCN at the other end of the peering from this LPG.
peering_statustextWhether the LPG is peered with another LPG.
peering_status_detailstextAdditional information regarding the peering status.
regiontextThe OCI region in which the resource is located.
route_table_idtextThe OCID of the route table the LPG is using.
tagsjsonbA map of tags for the resource.
tenant_idtextThe OCID of the Tenant in which the resource is located.
time_createdtimestamp without time zoneThe date and time the LPG was created.
titletextTitle of the resource.
vcn_idtextThe OCID of the VCN that uses the LPG.