Data Source: oci_core_ip_inventory_subnet
This data source provides details about a specific Ip Inventory Subnet resource in Oracle Cloud Infrastructure Core service.
Gets the IP Inventory data of the specified subnet. Specify the OCID.
Example Usage
data "oci_core_ip_inventory_subnet" "test_ip_inventory_subnet" {
#Required
subnet_id = oci_core_subnet.test_subnet.id
}
Argument Reference
The following arguments are supported:
subnet_id
- (Required) Specify the OCID of the subnet.
Attributes Reference
The following attributes are exported:
compartment_id
- The compartment of the subnet.ip_inventory_subnet_resource_summary
- ListsSubnetResourceSummary
objects.address_type
- Address type of the allocated private IP address.assigned_resource_name
- Name of the created resource.assigned_resource_type
- Type of the resource.assigned_time
- Assigned time of the private IP address.associated_public_ip
- Associated public IP address for the private IP address.associated_public_ip_pool
- Public IP address Pool the IP address is allocated from.dns_host_name
- DNS hostname of the IP address.ip_address
- Lists the allocated private IP address.ip_address_lifetime
- Lifetime of the allocated private IP address.ip_id
- The OCID of the IP address.parent_cidr
- The address range the IP address is assigned from.public_ip_lifetime
- Lifetime of the assigned public IP address.
ip_inventory_subnet_count
- Specifies the count for the number of results for the response.last_updated_timestamp
- The Timestamp of the latest update from the database in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
message
- Indicates the status of the data.