steampipe plugin install oci

Table: oci_core_public_ip_pool - Query OCI Core Public IP Pools using SQL

Public IP Pools in Oracle Cloud Infrastructure's Core service are resources that represent a pool of public IP addresses. These pools are used to allocate public IPs to resources within the infrastructure. They allow for the management and allocation of public IP addresses in a controlled manner.

Table Usage Guide

The oci_core_public_ip_pool table provides insights into Public IP Pools within Oracle Cloud Infrastructure's Core service. If you are a network administrator or a cloud engineer, you can explore pool-specific details through this table, including the pool's capacity, the number of available IP addresses, and associated metadata. Use it to manage and monitor your public IP address allocation, ensuring optimal use of resources and preventing IP address exhaustion.

Examples

Basic info

Explore the lifecycle status, creation time, and region of your Oracle Cloud Infrastructure's public IP pools. This can be useful to understand the distribution and availability of your public IP resources.

select
display_name,
id,
lifecycle_state as state,
time_created,
region
from
oci_core_public_ip_pool;
select
display_name,
id,
lifecycle_state as state,
time_created,
region
from
oci_core_public_ip_pool;

List public IP pool which are not active

Discover the segments that consist of public IP pools that are not currently active. This can be useful to identify and manage unused resources within your network infrastructure.

select
display_name,
id,
lifecycle_state as state
from
oci_core_public_ip_pool
where
lifecycle_state <> 'ACTIVE';
select
display_name,
id,
lifecycle_state as state
from
oci_core_public_ip_pool
where
lifecycle_state <> 'ACTIVE';

Schema for oci_core_public_ip_pool

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
cidr_blocksjsonbThe CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.
compartment_idtext=The 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.
display_nametext=A user-friendly name. Does not have to be unique.
freeform_tagsjsonbFree-form tags for resource. This tags can be applied by any user with permissions on the resource.
idtext=The OCID of the public IP pool.
lifecycle_statetextThe public IP pool's current state.
regiontextThe OCI region in which the resource is located.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
tagsjsonbA map of tags for the resource.
tenant_idtext=, !=, ~~, ~~*, !~~, !~~*The OCID of the Tenant in which the resource is located.
tenant_nametextThe name of the Tenant in which the resource is located.
time_createdtimestamp with time zoneThe date and time the public IP pool was created.
titletextTitle of the resource.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- oci

You can pass the configuration to the command with the --config argument:

steampipe_export_oci --config '<your_config>' oci_core_public_ip_pool