Skip to content

IBgpPeer

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.datasource.BgpPeer, github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.datasource.IBgpPeer

Represents a BgpPeer.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrAdvertisedRouteCount interface{} Attribute AdvertisedRouteCount: The number of advertised routes.
AttrAuthKey interface{} Attribute AuthKey: The authentication key of the BGP group.
AttrBfdMultiHop interface{} Attribute BfdMultiHop: The Bidirectional Forwarding Detection (BFD) hop count.
AttrBgpGroupId interface{} Attribute BgpGroupId: The ID of the BGP group.
AttrBgpPeerId interface{} Attribute BgpPeerId: The ID of the BGP peer.
AttrBgpStatus interface{} Attribute BgpStatus: The status of the BGP connection.
AttrDescription interface{} Attribute Description: The description of the BGP group.
AttrEnableBfd interface{} Attribute EnableBfd: Indicates whether BFD is enabled.
AttrGmtModified interface{} Attribute GmtModified: The time when the BGP peer is modified.
AttrHold interface{} Attribute Hold: The hold time.
AttrIpVersion interface{} Attribute IpVersion: The version of the IP address.
AttrIsFake interface{} Attribute IsFake: Indicates whether a fake autonomous system number (ASN) is used.
AttrKeepalive interface{} Attribute Keepalive: The Keepalive interval.
AttrLocalAsn interface{} Attribute LocalAsn: The ASN of the device on the Alibaba Cloud side.
AttrName interface{} Attribute Name: The name of the BGP peer.
AttrPeerAsn interface{} Attribute PeerAsn: The autonomous system number (ASN)of the BGP peer.
AttrPeerIpAddress interface{} Attribute PeerIpAddress: The IP address of the BGP peer.
AttrReceivedRouteCount interface{} Attribute ReceivedRouteCount: The number of received routes.
AttrRouteLimit interface{} Attribute RouteLimit: The maximum number of routes.
AttrRouterId interface{} Attribute RouterId: The Router ID.
AttrStatus interface{} Attribute Status: The status of the BGP peer.
Props BgpPeerProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrAdvertisedRouteCountRequired

func AttrAdvertisedRouteCount() interface{}
  • Type: interface{}

Attribute AdvertisedRouteCount: The number of advertised routes.


AttrAuthKeyRequired

func AttrAuthKey() interface{}
  • Type: interface{}

Attribute AuthKey: The authentication key of the BGP group.


AttrBfdMultiHopRequired

func AttrBfdMultiHop() interface{}
  • Type: interface{}

Attribute BfdMultiHop: The Bidirectional Forwarding Detection (BFD) hop count.


AttrBgpGroupIdRequired

func AttrBgpGroupId() interface{}
  • Type: interface{}

Attribute BgpGroupId: The ID of the BGP group.


AttrBgpPeerIdRequired

func AttrBgpPeerId() interface{}
  • Type: interface{}

Attribute BgpPeerId: The ID of the BGP peer.


AttrBgpStatusRequired

func AttrBgpStatus() interface{}
  • Type: interface{}

Attribute BgpStatus: The status of the BGP connection.

Valid values: Idle: The BGP connection is not used. Connect: The BGP connection is used. Active: The BGP connection is available. Established: The BGP connection is established. Down: The BGP connection is unavailable.


AttrDescriptionRequired

func AttrDescription() interface{}
  • Type: interface{}

Attribute Description: The description of the BGP group.


AttrEnableBfdRequired

func AttrEnableBfd() interface{}
  • Type: interface{}

Attribute EnableBfd: Indicates whether BFD is enabled.

Valid values: false true


AttrGmtModifiedRequired

func AttrGmtModified() interface{}
  • Type: interface{}

Attribute GmtModified: The time when the BGP peer is modified.


AttrHoldRequired

func AttrHold() interface{}
  • Type: interface{}

Attribute Hold: The hold time.


AttrIpVersionRequired

func AttrIpVersion() interface{}
  • Type: interface{}

Attribute IpVersion: The version of the IP address.


AttrIsFakeRequired

func AttrIsFake() interface{}
  • Type: interface{}

Attribute IsFake: Indicates whether a fake autonomous system number (ASN) is used.

Valid values: false true


AttrKeepaliveRequired

func AttrKeepalive() interface{}
  • Type: interface{}

Attribute Keepalive: The Keepalive interval.


AttrLocalAsnRequired

func AttrLocalAsn() interface{}
  • Type: interface{}

Attribute LocalAsn: The ASN of the device on the Alibaba Cloud side.


AttrNameRequired

func AttrName() interface{}
  • Type: interface{}

Attribute Name: The name of the BGP peer.


AttrPeerAsnRequired

func AttrPeerAsn() interface{}
  • Type: interface{}

Attribute PeerAsn: The autonomous system number (ASN)of the BGP peer.


AttrPeerIpAddressRequired

func AttrPeerIpAddress() interface{}
  • Type: interface{}

Attribute PeerIpAddress: The IP address of the BGP peer.


AttrReceivedRouteCountRequired

func AttrReceivedRouteCount() interface{}
  • Type: interface{}

Attribute ReceivedRouteCount: The number of received routes.


AttrRouteLimitRequired

func AttrRouteLimit() interface{}
  • Type: interface{}

Attribute RouteLimit: The maximum number of routes.


AttrRouterIdRequired

func AttrRouterId() interface{}
  • Type: interface{}

Attribute RouterId: The Router ID.


AttrStatusRequired

func AttrStatus() interface{}
  • Type: interface{}

Attribute Status: The status of the BGP peer.

Valid values: Pending Available Modifying Deleting Deleted


PropsRequired

func Props() BgpPeerProps