BgpGroupProps
Properties for defining a BgpGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-bgpgroup
Initializer
import com.aliyun.ros.cdk.vpc.BgpGroupProps;
BgpGroupProps.builder()
.peerAsn(java.lang.Number)
.peerAsn(IResolvable)
.routerId(java.lang.String)
.routerId(IResolvable)
// .authKey(java.lang.String)
// .authKey(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .ipVersion(java.lang.String)
// .ipVersion(IResolvable)
// .isFakeAsn(java.lang.Boolean)
// .isFakeAsn(IResolvable)
// .localAsn(java.lang.Number)
// .localAsn(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .routeQuota(java.lang.Number)
// .routeQuota(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
peerAsn |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property peerAsn: The AS number of the BGP peer. |
routerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property routerId: The ID of the VBR. |
authKey |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property authKey: The authentication key of the BGP group. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the BGP group. |
ipVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ipVersion: The IP version of the BGP group. |
isFakeAsn |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property isFakeAsn: A router that runs BGP typically belongs to only one AS. |
localAsn |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property localAsn: The AS number on the Alibaba Cloud side. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the BGP group. |
routeQuota |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property routeQuota: The upper limit of the BGP neighbor's route entries. |
peerAsn
Required
public java.lang.Object getPeerAsn();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property peerAsn: The AS number of the BGP peer.
routerId
Required
public java.lang.Object getRouterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property routerId: The ID of the VBR.
authKey
Optional
public java.lang.Object getAuthKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authKey: The authentication key of the BGP group.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the BGP group.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
ipVersion
Optional
public java.lang.Object getIpVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ipVersion: The IP version of the BGP group.
Valid values: IPv4 and IPv6.
isFakeAsn
Optional
public java.lang.Object getIsFakeAsn();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property isFakeAsn: A router that runs BGP typically belongs to only one AS.
In some cases, for example, the AS needs to be migrated or is merged with another AS, a new AS number replaces the original one.
localAsn
Optional
public java.lang.Object getLocalAsn();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property localAsn: The AS number on the Alibaba Cloud side.
name
Optional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the BGP group.
The name must be 2 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.
routeQuota
Optional
public java.lang.Object getRouteQuota();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property routeQuota: The upper limit of the BGP neighbor's route entries.
Unit: entries, default value: 110.