Data Source: oci_core_byoip_ranges
This data source provides the list of Byoip Ranges in Oracle Cloud Infrastructure Core service.
Lists the ByoipRange resources in the specified compartment.
You can filter the list using query parameters.
Example Usage
data "oci_core_byoip_ranges" "test_byoip_ranges" {
	#Required
	compartment_id = var.compartment_id
	#Optional
	display_name = var.byoip_range_display_name
	state = var.byoip_range_state
}
Argument Reference
The following arguments are supported:
- compartment_id- (Required) The OCID of the compartment.
- display_name- (Optional) A filter to return only resources that match the given display name exactly.
- state- (Optional) A filter to return only resources that match the given lifecycle state name exactly.
Attributes Reference
The following attributes are exported:
- byoip_range_collection- The list of byoip_range_collection.
ByoipRange Reference
The following attributes are exported:
- byoip_range_vcn_ipv6allocations- A list of- ByoipRangeVcnIpv6AllocationSummaryobjects.- byoip_range_id- The OCID of the- ByoipRangeresource to which the CIDR block belongs.
- compartment_id- The OCID of the compartment containing the- ByoipRange.
- ipv6cidr_block- The BYOIPv6 prefix range or subrange allocated to a VCN. This could be all or part of a BYOIPv6 prefix. Each VCN allocation must be /64 or larger.
- vcn_id- The OCID of the- Vcnresource to which the ByoipRange belongs.
 
- cidr_block- The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
- compartment_id- The OCID of the compartment containing the BYOIP CIDR block.
- 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- ByoipRangeresource.
- ipv6cidr_block- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- lifecycle_details- The- ByoipRangeresource’s current status.
- origin_asn- Information about the origin asn.- as_path_prepend_length- The as path prepend length.
- asn- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- byoasn_id- The OCID of the- Byoasnresource.
 
- state- The- ByoipRangeresource’s current state.
- time_advertised- The date and time the- ByoipRangeresource was advertised to the internet by BGP, in the format defined by RFC3339. Example:- 2016-08-25T21:10:29.600Z
- time_created- The date and time the- ByoipRangeresource was created, in the format defined by RFC3339. Example:- 2016-08-25T21:10:29.600Z
- time_validated- The date and time the- ByoipRangeresource was validated, in the format defined by RFC3339. Example:- 2016-08-25T21:10:29.600Z
- time_withdrawn- The date and time the- ByoipRangeresource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339. Example:- 2016-08-25T21:10:29.600Z
- validation_token- The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block for details.