BgpPeerProps
Properties for defining a BgpPeer.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-bgppeer
Initializer
import com.aliyun.ros.cdk.vpc.BgpPeerProps;
BgpPeerProps.builder()
.bgpGroupId(java.lang.String)
.bgpGroupId(IResolvable)
// .bfdMultiHop(java.lang.Number)
// .bfdMultiHop(IResolvable)
// .enableBfd(java.lang.Boolean)
// .enableBfd(IResolvable)
// .ipVersion(java.lang.String)
// .ipVersion(IResolvable)
// .peerIpAddress(java.lang.String)
// .peerIpAddress(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
bgpGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property bgpGroupId: The ID of the BGP group. |
bfdMultiHop | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property bfdMultiHop: The BFD hop count. |
enableBfd | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableBfd: Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature. |
ipVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property ipVersion: The IP version. |
peerIpAddress | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property peerIpAddress: The IP address of the BGP peer. |
bgpGroupIdRequired
public java.lang.Object getBgpGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bgpGroupId: The ID of the BGP group.
bfdMultiHopOptional
public java.lang.Object getBfdMultiHop();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property bfdMultiHop: The BFD hop count.
Valid values: 1 to 255. When enabling BFD, this parameter must be configured. It specifies the maximum number of hops that a packet can traverse from source to destination. You can set different hop counts based on actual physical link conditions. When using BFD in a multi-cloud environment or direct fiber connection without intermediate bridging devices, change the default BFD hop count from 255 to 1.
enableBfdOptional
public java.lang.Object getEnableBfd();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableBfd: Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
Valid values: true: enables BFD. false: disables BFD.
ipVersionOptional
public java.lang.Object getIpVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ipVersion: The IP version.
Valid values:
- IPv4 (default): IPv4 version.
- IPv6: IPv6 version. IPv6 is supported only when the VBR associated with the BGP group has IPv6 enabled.
peerIpAddressOptional
public java.lang.Object getPeerIpAddress();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property peerIpAddress: The IP address of the BGP peer.