Data Source: oci_core_ipv6
This data source provides details about a specific Ipv6 resource in Oracle Cloud Infrastructure Core service.
Gets the specified IPv6. You must specify the object’s OCID. Alternatively, you can get the object by using ListIpv6s with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID.
Example Usage
data "oci_core_ipv6" "test_ipv6" {
#Required
ipv6id = oci_core_ipv6.test_ipv6.id
}
Argument Reference
The following arguments are supported:
ipv6id
- (Required) The OCID of the IPv6.
Attributes Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment containing the IPv6. This is the same as the VNIC’s compartment.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the IPv6.ip_address
- The IPv6 address of theIPv6
object. The address is within the IPv6 prefix of the VNIC’s subnet (see theipv6CidrBlock
attribute for the Subnet object. Example:2001:0db8:0123:1111:abcd:ef01:2345:6789
state
- The IPv6’s current state.subnet_id
- The OCID of the subnet the VNIC is in.time_created
- The date and time the IPv6 was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
vnic_id
- The OCID of the VNIC the IPv6 is assigned to. The VNIC and IPv6 must be in the same subnet.