Skip to content

BgpPeer

This class encapsulates and extends the ROS resource type DATASOURCE::VPC::BgpPeer, which is used to query the information about a Border Gateway Protocol (BGP) peer in a region.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
datasource.NewBgpPeer(scope Construct, id *string, props BgpPeerProps, enableResourcePropertyConstraint *bool) BgpPeer
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props BgpPeerProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsOptional


enableResourcePropertyConstraintOptional

  • Type: *bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
datasource.BgpPeer_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

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

NodeRequired

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

The construct tree node associated with this construct.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

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

The stack in which this resource is defined.


ResourceOptional

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

AttrAdvertisedRouteCountRequired

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

Attribute AdvertisedRouteCount: The number of advertised routes.


AttrAuthKeyRequired

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

Attribute AuthKey: The authentication key of the BGP group.


AttrBfdMultiHopRequired

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

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


AttrBgpGroupIdRequired

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

Attribute BgpGroupId: The ID of the BGP group.


AttrBgpPeerIdRequired

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

Attribute BgpPeerId: The ID of the BGP peer.


AttrBgpStatusRequired

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

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() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Description: The description of the BGP group.


AttrEnableBfdRequired

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

Attribute EnableBfd: Indicates whether BFD is enabled.

Valid values: false true


AttrGmtModifiedRequired

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

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


AttrHoldRequired

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

Attribute Hold: The hold time.


AttrIpVersionRequired

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

Attribute IpVersion: The version of the IP address.


AttrIsFakeRequired

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

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

Valid values: false true


AttrKeepaliveRequired

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

Attribute Keepalive: The Keepalive interval.


AttrLocalAsnRequired

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

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


AttrNameRequired

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

Attribute Name: The name of the BGP peer.


AttrPeerAsnRequired

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

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


AttrPeerIpAddressRequired

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

Attribute PeerIpAddress: The IP address of the BGP peer.


AttrReceivedRouteCountRequired

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

Attribute ReceivedRouteCount: The number of received routes.


AttrRouteLimitRequired

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

Attribute RouteLimit: The maximum number of routes.


AttrRouterIdRequired

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

Attribute RouterId: The Router ID.


AttrStatusRequired

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

Attribute Status: The status of the BGP peer.

Valid values: Pending Available Modifying Deleting Deleted