Data Source: oci_core_byoasn
This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
Gets the Byoasn resource. You must specify the OCID.
Example Usage
data "oci_core_byoasn" "test_byoasn" {
#Required
byoasn_id = oci_core_byoasn.test_byoasn.id
}
Argument Reference
The following arguments are supported:
byoasn_id- (Required) The OCID of theByoasnresource.
Attributes Reference
The following attributes are exported:
asn- The Autonomous System Number (ASN) you are importing to the Oracle cloud.byoip_ranges- The BYOIP Ranges that has theByoasnas origin.as_path_prepend_length- The as path prepend length.byoip_range_id- The OCID of theByoipRangeresource to which the CIDR block belongs.cidr_block- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.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 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.
compartment_id- The OCID of the compartment containing theByoasnresource.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 theByoasnresource.state- TheByoasnresource’s current state.time_created- The date and time theByoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Ztime_updated- The date and time theByoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Ztime_validated- The date and time theByoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Zvalidation_token- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.