Skip to content

BgpPeer

This class encapsulates and extends the ROS resource type DATASOURCE::VPC::BgpPeer.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new BgpPeer(Construct Scope, string Id, BgpPeerProps Props = null, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props BgpPeerProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.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

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

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

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Vpc;
BgpPeer.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

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

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrAdvertisedRouteCountRequired

public IResolvable AttrAdvertisedRouteCount { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute AdvertisedRouteCount: The number of advertised routes.


AttrAuthKeyRequired

public IResolvable AttrAuthKey { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute AuthKey: The authentication key of the BGP group.


AttrBfdMultiHopRequired

public IResolvable AttrBfdMultiHop { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrBgpGroupIdRequired

public IResolvable AttrBgpGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BgpGroupId: The ID of the BGP group.


AttrBgpPeerIdRequired

public IResolvable AttrBgpPeerId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BgpPeerId: The ID of the BGP peer.


AttrBgpStatusRequired

public IResolvable AttrBgpStatus { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.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

public IResolvable AttrDescription { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Description: The description of the BGP group.


AttrEnableBfdRequired

public IResolvable AttrEnableBfd { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute EnableBfd: Indicates whether BFD is enabled.

Valid values: false true


AttrGmtModifiedRequired

public IResolvable AttrGmtModified { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrHoldRequired

public IResolvable AttrHold { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Hold: The hold time.


AttrIpVersionRequired

public IResolvable AttrIpVersion { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute IpVersion: The version of the IP address.


AttrIsFakeRequired

public IResolvable AttrIsFake { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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

Valid values: false true


AttrKeepaliveRequired

public IResolvable AttrKeepalive { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Keepalive: The Keepalive interval.


AttrLocalAsnRequired

public IResolvable AttrLocalAsn { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrNameRequired

public IResolvable AttrName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Name: The name of the BGP peer.


AttrPeerAsnRequired

public IResolvable AttrPeerAsn { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrPeerIpAddressRequired

public IResolvable AttrPeerIpAddress { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PeerIpAddress: The IP address of the BGP peer.


AttrReceivedRouteCountRequired

public IResolvable AttrReceivedRouteCount { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ReceivedRouteCount: The number of received routes.


AttrRouteLimitRequired

public IResolvable AttrRouteLimit { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute RouteLimit: The maximum number of routes.


AttrRouterIdRequired

public IResolvable AttrRouterId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute RouterId: The Router ID.


AttrStatusRequired

public IResolvable AttrStatus { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Status: The status of the BGP peer.

Valid values: Pending Available Modifying Deleting Deleted