/** * Core Services API * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. The required permissions are documented in the [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * Information for establishing a BGP session for the IPSec tunnel. */ export interface BgpSessionInfo { /** * The IP address for the Oracle end of the inside tunnel interface. *
If the tunnel's {@code routing} attribute is set to {@code BGP} * (see {@link IPSecConnectionTunnel}), this IP address * is required and used for the tunnel's BGP session. *
If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can set this IP * address so you can troubleshoot or monitor the tunnel. *
The value must be a /30 or /31. *
Example: {@code 10.0.0.4/31} * */ "oracleInterfaceIp"?: string; /** * The IP address for the CPE end of the inside tunnel interface. *
If the tunnel's {@code routing} attribute is set to {@code BGP} * (see {@link IPSecConnectionTunnel}), this IP address * is required and used for the tunnel's BGP session. *
If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can set this IP * address so you can troubleshoot or monitor the tunnel. *
The value must be a /30 or /31. *
Example: {@code 10.0.0.5/31} * */ "customerInterfaceIp"?: string; /** * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional. *
If the tunnel's {@code routing} attribute is set to {@code BGP} * (see {@link IPSecConnectionTunnel}), this IP address * is used for the tunnel's BGP session. *
If {@code routing} is instead set to {@code STATIC}, you can set this IP * address to troubleshoot or monitor the tunnel. *
Only subnet masks from /64 up to /127 are allowed. *
Example: {@code 2001:db8::1/64} * */ "oracleInterfaceIpv6"?: string; /** * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. *
If the tunnel's {@code routing} attribute is set to {@code BGP} * (see {@link IPSecConnectionTunnel}), this IP address * is used for the tunnel's BGP session. *
If {@code routing} is instead set to {@code STATIC}, you can set this IP * address to troubleshoot or monitor the tunnel. *
Only subnet masks from /64 up to /127 are allowed. *
Example: {@code 2001:db8::1/64} * */ "customerInterfaceIpv6"?: string; /** * The Oracle BGP ASN. * */ "oracleBgpAsn"?: string; /** * If the tunnel's {@code routing} attribute is set to {@code BGP} * (see {@link IPSecConnectionTunnel}), this ASN * is required and used for the tunnel's BGP session. This is the ASN of the network on the * CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. *
If the tunnel uses static routing, the {@code customerBgpAsn} must be null. *
Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) * */ "customerBgpAsn"?: string; /** * The state of the BGP session. * */ "bgpState"?: BgpSessionInfo.BgpState; /** * The state of the BGP IPv6 session. * */ "bgpIpv6State"?: BgpSessionInfo.BgpIpv6State; } export declare namespace BgpSessionInfo { enum BgpState { Up = "UP", Down = "DOWN", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum BgpIpv6State { Up = "UP", Down = "DOWN", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: BgpSessionInfo): object; function getDeserializedJsonObj(obj: BgpSessionInfo): object; }