Skip to content

BgpPeersProps

Properties for defining a BgpPeers.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-bgppeers

Initializer

import com.aliyun.ros.cdk.vpc.datasource.BgpPeersProps;
BgpPeersProps.builder()
//  .bgpGroupId(java.lang.String)
//  .bgpGroupId(IResolvable)
//  .bgpPeerId(java.lang.String)
//  .bgpPeerId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .routerId(java.lang.String)
//  .routerId(IResolvable)
    .build();

Properties

Name Type Description
bgpGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bgpGroupId: The ID of the BGP group to which the BGP peer that you want to query belongs.
bgpPeerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bgpPeerId: The ID of the BGP peer that you want to query.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
routerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routerId: The ID of the virtual border router (VBR) that is associated with the BGP peer that you want to query.

bgpGroupIdOptional

public java.lang.Object getBgpGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bgpGroupId: The ID of the BGP group to which the BGP peer that you want to query belongs.


bgpPeerIdOptional

public java.lang.Object getBgpPeerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bgpPeerId: The ID of the BGP peer that you want to query.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

routerIdOptional

public java.lang.Object getRouterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property routerId: The ID of the virtual border router (VBR) that is associated with the BGP peer that you want to query.