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
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. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Optional
- Type: BgpPeerProps
EnableResourcePropertyConstraint
Optional
- 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- 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.
- 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. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAdvertisedRouteCount
Required
public IResolvable AttrAdvertisedRouteCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AdvertisedRouteCount: The number of advertised routes.
AttrAuthKey
Required
public IResolvable AttrAuthKey { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AuthKey: The authentication key of the BGP group.
AttrBfdMultiHop
Required
public IResolvable AttrBfdMultiHop { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BfdMultiHop: The Bidirectional Forwarding Detection (BFD) hop count.
AttrBgpGroupId
Required
public IResolvable AttrBgpGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BgpGroupId: The ID of the BGP group.
AttrBgpPeerId
Required
public IResolvable AttrBgpPeerId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BgpPeerId: The ID of the BGP peer.
AttrBgpStatus
Required
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.
AttrDescription
Required
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description of the BGP group.
AttrEnableBfd
Required
public IResolvable AttrEnableBfd { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EnableBfd: Indicates whether BFD is enabled.
Valid values: false true
AttrGmtModified
Required
public IResolvable AttrGmtModified { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute GmtModified: The time when the BGP peer is modified.
AttrHold
Required
public IResolvable AttrHold { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Hold: The hold time.
AttrIpVersion
Required
public IResolvable AttrIpVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IpVersion: The version of the IP address.
AttrIsFake
Required
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
AttrKeepalive
Required
public IResolvable AttrKeepalive { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Keepalive: The Keepalive interval.
AttrLocalAsn
Required
public IResolvable AttrLocalAsn { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LocalAsn: The ASN of the device on the Alibaba Cloud side.
AttrName
Required
public IResolvable AttrName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Name: The name of the BGP peer.
AttrPeerAsn
Required
public IResolvable AttrPeerAsn { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PeerAsn: The autonomous system number (ASN)of the BGP peer.
AttrPeerIpAddress
Required
public IResolvable AttrPeerIpAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PeerIpAddress: The IP address of the BGP peer.
AttrReceivedRouteCount
Required
public IResolvable AttrReceivedRouteCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ReceivedRouteCount: The number of received routes.
AttrRouteLimit
Required
public IResolvable AttrRouteLimit { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RouteLimit: The maximum number of routes.
AttrRouterId
Required
public IResolvable AttrRouterId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RouterId: The Router ID.
AttrStatus
Required
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