Skip to content

BgpPeer

  • Implements: AlibabaCloud.SDK.ROS.CDK.Vpc.datasource.IBgpPeer

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.
FetchCondition No description.
FetchDependency No description.
FetchResourceDesc 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

FetchCondition

private RosCondition FetchCondition()

FetchDependency

private string[] FetchDependency()

FetchResourceDesc

private string FetchResourceDesc()

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.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
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 object Attribute AdvertisedRouteCount: The number of advertised routes.
AttrAuthKey object Attribute AuthKey: The authentication key of the BGP group.
AttrBfdMultiHop object Attribute BfdMultiHop: The Bidirectional Forwarding Detection (BFD) hop count.
AttrBgpGroupId object Attribute BgpGroupId: The ID of the BGP group.
AttrBgpPeerId object Attribute BgpPeerId: The ID of the BGP peer.
AttrBgpStatus object Attribute BgpStatus: The status of the BGP connection.
AttrDescription object Attribute Description: The description of the BGP group.
AttrEnableBfd object Attribute EnableBfd: Indicates whether BFD is enabled.
AttrGmtModified object Attribute GmtModified: The time when the BGP peer is modified.
AttrHold object Attribute Hold: The hold time.
AttrIpVersion object Attribute IpVersion: The version of the IP address.
AttrIsFake object Attribute IsFake: Indicates whether a fake autonomous system number (ASN) is used.
AttrKeepalive object Attribute Keepalive: The Keepalive interval.
AttrLocalAsn object Attribute LocalAsn: The ASN of the device on the Alibaba Cloud side.
AttrName object Attribute Name: The name of the BGP peer.
AttrPeerAsn object Attribute PeerAsn: The autonomous system number (ASN)of the BGP peer.
AttrPeerIpAddress object Attribute PeerIpAddress: The IP address of the BGP peer.
AttrReceivedRouteCount object Attribute ReceivedRouteCount: The number of received routes.
AttrRouteLimit object Attribute RouteLimit: The maximum number of routes.
AttrRouterId object Attribute RouterId: The Router ID.
AttrStatus object Attribute Status: The status of the BGP peer.
Props BgpPeerProps No description.

NodeRequired

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

The construct tree node associated with this construct.


EnvRequired

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


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 object AttrAdvertisedRouteCount { get; }
  • Type: object

Attribute AdvertisedRouteCount: The number of advertised routes.


AttrAuthKeyRequired

public object AttrAuthKey { get; }
  • Type: object

Attribute AuthKey: The authentication key of the BGP group.


AttrBfdMultiHopRequired

public object AttrBfdMultiHop { get; }
  • Type: object

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


AttrBgpGroupIdRequired

public object AttrBgpGroupId { get; }
  • Type: object

Attribute BgpGroupId: The ID of the BGP group.


AttrBgpPeerIdRequired

public object AttrBgpPeerId { get; }
  • Type: object

Attribute BgpPeerId: The ID of the BGP peer.


AttrBgpStatusRequired

public object AttrBgpStatus { get; }
  • Type: object

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 object AttrDescription { get; }
  • Type: object

Attribute Description: The description of the BGP group.


AttrEnableBfdRequired

public object AttrEnableBfd { get; }
  • Type: object

Attribute EnableBfd: Indicates whether BFD is enabled.

Valid values: false true


AttrGmtModifiedRequired

public object AttrGmtModified { get; }
  • Type: object

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


AttrHoldRequired

public object AttrHold { get; }
  • Type: object

Attribute Hold: The hold time.


AttrIpVersionRequired

public object AttrIpVersion { get; }
  • Type: object

Attribute IpVersion: The version of the IP address.


AttrIsFakeRequired

public object AttrIsFake { get; }
  • Type: object

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

Valid values: false true


AttrKeepaliveRequired

public object AttrKeepalive { get; }
  • Type: object

Attribute Keepalive: The Keepalive interval.


AttrLocalAsnRequired

public object AttrLocalAsn { get; }
  • Type: object

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


AttrNameRequired

public object AttrName { get; }
  • Type: object

Attribute Name: The name of the BGP peer.


AttrPeerAsnRequired

public object AttrPeerAsn { get; }
  • Type: object

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


AttrPeerIpAddressRequired

public object AttrPeerIpAddress { get; }
  • Type: object

Attribute PeerIpAddress: The IP address of the BGP peer.


AttrReceivedRouteCountRequired

public object AttrReceivedRouteCount { get; }
  • Type: object

Attribute ReceivedRouteCount: The number of received routes.


AttrRouteLimitRequired

public object AttrRouteLimit { get; }
  • Type: object

Attribute RouteLimit: The maximum number of routes.


AttrRouterIdRequired

public object AttrRouterId { get; }
  • Type: object

Attribute RouterId: The Router ID.


AttrStatusRequired

public object AttrStatus { get; }
  • Type: object

Attribute Status: The status of the BGP peer.

Valid values: Pending Available Modifying Deleting Deleted


PropsRequired

public BgpPeerProps Props { get; }