1. Packages
  2. Alicloud Provider
  3. API Docs
  4. vpc
  5. BgpPeer
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.vpc.BgpPeer

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    Provides a Express Connect Bgp Peer resource.

    For information about VPC Bgp Peer and how to use it, see What is Bgp Peer.

    NOTE: Available since v1.153.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf-example";
    const example = alicloud.expressconnect.getPhysicalConnections({
        nameRegex: "^preserved-NODELETING",
    });
    const vlanId = new random.index.Integer("vlan_id", {
        max: 2999,
        min: 1,
    });
    const exampleVirtualBorderRouter = new alicloud.expressconnect.VirtualBorderRouter("example", {
        localGatewayIp: "10.0.0.1",
        peerGatewayIp: "10.0.0.2",
        peeringSubnetMask: "255.255.255.252",
        physicalConnectionId: example.then(example => example.connections?.[0]?.id),
        virtualBorderRouterName: name,
        vlanId: vlanId.id,
        minRxInterval: 1000,
        minTxInterval: 1000,
        detectMultiplier: 10,
    });
    const exampleBgpGroup = new alicloud.vpc.BgpGroup("example", {
        authKey: "YourPassword+12345678",
        bgpGroupName: name,
        description: name,
        peerAsn: 1111,
        routerId: exampleVirtualBorderRouter.id,
        isFakeAsn: true,
    });
    const exampleBgpPeer = new alicloud.vpc.BgpPeer("example", {
        bfdMultiHop: 10,
        bgpGroupId: exampleBgpGroup.id,
        enableBfd: true,
        ipVersion: "IPV4",
        peerIpAddress: "1.1.1.1",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf-example"
    example = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
    vlan_id = random.index.Integer("vlan_id",
        max=2999,
        min=1)
    example_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("example",
        local_gateway_ip="10.0.0.1",
        peer_gateway_ip="10.0.0.2",
        peering_subnet_mask="255.255.255.252",
        physical_connection_id=example.connections[0].id,
        virtual_border_router_name=name,
        vlan_id=vlan_id["id"],
        min_rx_interval=1000,
        min_tx_interval=1000,
        detect_multiplier=10)
    example_bgp_group = alicloud.vpc.BgpGroup("example",
        auth_key="YourPassword+12345678",
        bgp_group_name=name,
        description=name,
        peer_asn=1111,
        router_id=example_virtual_border_router.id,
        is_fake_asn=True)
    example_bgp_peer = alicloud.vpc.BgpPeer("example",
        bfd_multi_hop=10,
        bgp_group_id=example_bgp_group.id,
        enable_bfd=True,
        ip_version="IPV4",
        peer_ip_address="1.1.1.1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "tf-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		example, err := expressconnect.GetPhysicalConnections(ctx, &expressconnect.GetPhysicalConnectionsArgs{
    			NameRegex: pulumi.StringRef("^preserved-NODELETING"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		vlanId, err := random.NewInteger(ctx, "vlan_id", &random.IntegerArgs{
    			Max: 2999,
    			Min: 1,
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualBorderRouter, err := expressconnect.NewVirtualBorderRouter(ctx, "example", &expressconnect.VirtualBorderRouterArgs{
    			LocalGatewayIp:          pulumi.String("10.0.0.1"),
    			PeerGatewayIp:           pulumi.String("10.0.0.2"),
    			PeeringSubnetMask:       pulumi.String("255.255.255.252"),
    			PhysicalConnectionId:    pulumi.String(example.Connections[0].Id),
    			VirtualBorderRouterName: pulumi.String(name),
    			VlanId:                  vlanId.Id,
    			MinRxInterval:           pulumi.Int(1000),
    			MinTxInterval:           pulumi.Int(1000),
    			DetectMultiplier:        pulumi.Int(10),
    		})
    		if err != nil {
    			return err
    		}
    		exampleBgpGroup, err := vpc.NewBgpGroup(ctx, "example", &vpc.BgpGroupArgs{
    			AuthKey:      pulumi.String("YourPassword+12345678"),
    			BgpGroupName: pulumi.String(name),
    			Description:  pulumi.String(name),
    			PeerAsn:      pulumi.Int(1111),
    			RouterId:     exampleVirtualBorderRouter.ID(),
    			IsFakeAsn:    pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vpc.NewBgpPeer(ctx, "example", &vpc.BgpPeerArgs{
    			BfdMultiHop:   pulumi.Int(10),
    			BgpGroupId:    exampleBgpGroup.ID(),
    			EnableBfd:     pulumi.Bool(true),
    			IpVersion:     pulumi.String("IPV4"),
    			PeerIpAddress: pulumi.String("1.1.1.1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "tf-example";
        var example = AliCloud.ExpressConnect.GetPhysicalConnections.Invoke(new()
        {
            NameRegex = "^preserved-NODELETING",
        });
    
        var vlanId = new Random.Index.Integer("vlan_id", new()
        {
            Max = 2999,
            Min = 1,
        });
    
        var exampleVirtualBorderRouter = new AliCloud.ExpressConnect.VirtualBorderRouter("example", new()
        {
            LocalGatewayIp = "10.0.0.1",
            PeerGatewayIp = "10.0.0.2",
            PeeringSubnetMask = "255.255.255.252",
            PhysicalConnectionId = example.Apply(getPhysicalConnectionsResult => getPhysicalConnectionsResult.Connections[0]?.Id),
            VirtualBorderRouterName = name,
            VlanId = vlanId.Id,
            MinRxInterval = 1000,
            MinTxInterval = 1000,
            DetectMultiplier = 10,
        });
    
        var exampleBgpGroup = new AliCloud.Vpc.BgpGroup("example", new()
        {
            AuthKey = "YourPassword+12345678",
            BgpGroupName = name,
            Description = name,
            PeerAsn = 1111,
            RouterId = exampleVirtualBorderRouter.Id,
            IsFakeAsn = true,
        });
    
        var exampleBgpPeer = new AliCloud.Vpc.BgpPeer("example", new()
        {
            BfdMultiHop = 10,
            BgpGroupId = exampleBgpGroup.Id,
            EnableBfd = true,
            IpVersion = "IPV4",
            PeerIpAddress = "1.1.1.1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
    import com.pulumi.alicloud.expressconnect.inputs.GetPhysicalConnectionsArgs;
    import com.pulumi.random.integer;
    import com.pulumi.random.IntegerArgs;
    import com.pulumi.alicloud.expressconnect.VirtualBorderRouter;
    import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
    import com.pulumi.alicloud.vpc.BgpGroup;
    import com.pulumi.alicloud.vpc.BgpGroupArgs;
    import com.pulumi.alicloud.vpc.BgpPeer;
    import com.pulumi.alicloud.vpc.BgpPeerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("tf-example");
            final var example = ExpressconnectFunctions.getPhysicalConnections(GetPhysicalConnectionsArgs.builder()
                .nameRegex("^preserved-NODELETING")
                .build());
    
            var vlanId = new Integer("vlanId", IntegerArgs.builder()
                .max(2999)
                .min(1)
                .build());
    
            var exampleVirtualBorderRouter = new VirtualBorderRouter("exampleVirtualBorderRouter", VirtualBorderRouterArgs.builder()
                .localGatewayIp("10.0.0.1")
                .peerGatewayIp("10.0.0.2")
                .peeringSubnetMask("255.255.255.252")
                .physicalConnectionId(example.applyValue(getPhysicalConnectionsResult -> getPhysicalConnectionsResult.connections()[0].id()))
                .virtualBorderRouterName(name)
                .vlanId(vlanId.id())
                .minRxInterval(1000)
                .minTxInterval(1000)
                .detectMultiplier(10)
                .build());
    
            var exampleBgpGroup = new BgpGroup("exampleBgpGroup", BgpGroupArgs.builder()
                .authKey("YourPassword+12345678")
                .bgpGroupName(name)
                .description(name)
                .peerAsn(1111)
                .routerId(exampleVirtualBorderRouter.id())
                .isFakeAsn(true)
                .build());
    
            var exampleBgpPeer = new BgpPeer("exampleBgpPeer", BgpPeerArgs.builder()
                .bfdMultiHop("10")
                .bgpGroupId(exampleBgpGroup.id())
                .enableBfd(true)
                .ipVersion("IPV4")
                .peerIpAddress("1.1.1.1")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf-example
    resources:
      vlanId:
        type: random:integer
        name: vlan_id
        properties:
          max: 2999
          min: 1
      exampleVirtualBorderRouter:
        type: alicloud:expressconnect:VirtualBorderRouter
        name: example
        properties:
          localGatewayIp: 10.0.0.1
          peerGatewayIp: 10.0.0.2
          peeringSubnetMask: 255.255.255.252
          physicalConnectionId: ${example.connections[0].id}
          virtualBorderRouterName: ${name}
          vlanId: ${vlanId.id}
          minRxInterval: 1000
          minTxInterval: 1000
          detectMultiplier: 10
      exampleBgpGroup:
        type: alicloud:vpc:BgpGroup
        name: example
        properties:
          authKey: YourPassword+12345678
          bgpGroupName: ${name}
          description: ${name}
          peerAsn: 1111
          routerId: ${exampleVirtualBorderRouter.id}
          isFakeAsn: true
      exampleBgpPeer:
        type: alicloud:vpc:BgpPeer
        name: example
        properties:
          bfdMultiHop: '10'
          bgpGroupId: ${exampleBgpGroup.id}
          enableBfd: true
          ipVersion: IPV4
          peerIpAddress: 1.1.1.1
    variables:
      example:
        fn::invoke:
          Function: alicloud:expressconnect:getPhysicalConnections
          Arguments:
            nameRegex: ^preserved-NODELETING
    

    Create BgpPeer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BgpPeer(name: string, args: BgpPeerArgs, opts?: CustomResourceOptions);
    @overload
    def BgpPeer(resource_name: str,
                args: BgpPeerArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def BgpPeer(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                bgp_group_id: Optional[str] = None,
                bfd_multi_hop: Optional[int] = None,
                enable_bfd: Optional[bool] = None,
                ip_version: Optional[str] = None,
                peer_ip_address: Optional[str] = None)
    func NewBgpPeer(ctx *Context, name string, args BgpPeerArgs, opts ...ResourceOption) (*BgpPeer, error)
    public BgpPeer(string name, BgpPeerArgs args, CustomResourceOptions? opts = null)
    public BgpPeer(String name, BgpPeerArgs args)
    public BgpPeer(String name, BgpPeerArgs args, CustomResourceOptions options)
    
    type: alicloud:vpc:BgpPeer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BgpPeerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BgpPeerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BgpPeerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BgpPeerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BgpPeerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var bgpPeerResource = new AliCloud.Vpc.BgpPeer("bgpPeerResource", new()
    {
        BgpGroupId = "string",
        BfdMultiHop = 0,
        EnableBfd = false,
        IpVersion = "string",
        PeerIpAddress = "string",
    });
    
    example, err := vpc.NewBgpPeer(ctx, "bgpPeerResource", &vpc.BgpPeerArgs{
    	BgpGroupId:    pulumi.String("string"),
    	BfdMultiHop:   pulumi.Int(0),
    	EnableBfd:     pulumi.Bool(false),
    	IpVersion:     pulumi.String("string"),
    	PeerIpAddress: pulumi.String("string"),
    })
    
    var bgpPeerResource = new BgpPeer("bgpPeerResource", BgpPeerArgs.builder()
        .bgpGroupId("string")
        .bfdMultiHop(0)
        .enableBfd(false)
        .ipVersion("string")
        .peerIpAddress("string")
        .build());
    
    bgp_peer_resource = alicloud.vpc.BgpPeer("bgpPeerResource",
        bgp_group_id="string",
        bfd_multi_hop=0,
        enable_bfd=False,
        ip_version="string",
        peer_ip_address="string")
    
    const bgpPeerResource = new alicloud.vpc.BgpPeer("bgpPeerResource", {
        bgpGroupId: "string",
        bfdMultiHop: 0,
        enableBfd: false,
        ipVersion: "string",
        peerIpAddress: "string",
    });
    
    type: alicloud:vpc:BgpPeer
    properties:
        bfdMultiHop: 0
        bgpGroupId: string
        enableBfd: false
        ipVersion: string
        peerIpAddress: string
    

    BgpPeer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BgpPeer resource accepts the following input properties:

    BgpGroupId string
    The ID of the BGP group.
    BfdMultiHop int
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    EnableBfd bool
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    IpVersion string
    The IP version.
    PeerIpAddress string
    The IP address of the BGP peer.
    BgpGroupId string
    The ID of the BGP group.
    BfdMultiHop int
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    EnableBfd bool
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    IpVersion string
    The IP version.
    PeerIpAddress string
    The IP address of the BGP peer.
    bgpGroupId String
    The ID of the BGP group.
    bfdMultiHop Integer
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    enableBfd Boolean
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ipVersion String
    The IP version.
    peerIpAddress String
    The IP address of the BGP peer.
    bgpGroupId string
    The ID of the BGP group.
    bfdMultiHop number
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    enableBfd boolean
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ipVersion string
    The IP version.
    peerIpAddress string
    The IP address of the BGP peer.
    bgp_group_id str
    The ID of the BGP group.
    bfd_multi_hop int
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    enable_bfd bool
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ip_version str
    The IP version.
    peer_ip_address str
    The IP address of the BGP peer.
    bgpGroupId String
    The ID of the BGP group.
    bfdMultiHop Number
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    enableBfd Boolean
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ipVersion String
    The IP version.
    peerIpAddress String
    The IP address of the BGP peer.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BgpPeer resource produces the following output properties:

    BgpPeerName string
    The name of the BGP neighbor.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of BGP neighbors.
    BgpPeerName string
    The name of the BGP neighbor.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of BGP neighbors.
    bgpPeerName String
    The name of the BGP neighbor.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of BGP neighbors.
    bgpPeerName string
    The name of the BGP neighbor.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of BGP neighbors.
    bgp_peer_name str
    The name of the BGP neighbor.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Status of BGP neighbors.
    bgpPeerName String
    The name of the BGP neighbor.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of BGP neighbors.

    Look up Existing BgpPeer Resource

    Get an existing BgpPeer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BgpPeerState, opts?: CustomResourceOptions): BgpPeer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bfd_multi_hop: Optional[int] = None,
            bgp_group_id: Optional[str] = None,
            bgp_peer_name: Optional[str] = None,
            enable_bfd: Optional[bool] = None,
            ip_version: Optional[str] = None,
            peer_ip_address: Optional[str] = None,
            status: Optional[str] = None) -> BgpPeer
    func GetBgpPeer(ctx *Context, name string, id IDInput, state *BgpPeerState, opts ...ResourceOption) (*BgpPeer, error)
    public static BgpPeer Get(string name, Input<string> id, BgpPeerState? state, CustomResourceOptions? opts = null)
    public static BgpPeer get(String name, Output<String> id, BgpPeerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BfdMultiHop int
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    BgpGroupId string
    The ID of the BGP group.
    BgpPeerName string
    The name of the BGP neighbor.
    EnableBfd bool
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    IpVersion string
    The IP version.
    PeerIpAddress string
    The IP address of the BGP peer.
    Status string
    Status of BGP neighbors.
    BfdMultiHop int
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    BgpGroupId string
    The ID of the BGP group.
    BgpPeerName string
    The name of the BGP neighbor.
    EnableBfd bool
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    IpVersion string
    The IP version.
    PeerIpAddress string
    The IP address of the BGP peer.
    Status string
    Status of BGP neighbors.
    bfdMultiHop Integer
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    bgpGroupId String
    The ID of the BGP group.
    bgpPeerName String
    The name of the BGP neighbor.
    enableBfd Boolean
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ipVersion String
    The IP version.
    peerIpAddress String
    The IP address of the BGP peer.
    status String
    Status of BGP neighbors.
    bfdMultiHop number
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    bgpGroupId string
    The ID of the BGP group.
    bgpPeerName string
    The name of the BGP neighbor.
    enableBfd boolean
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ipVersion string
    The IP version.
    peerIpAddress string
    The IP address of the BGP peer.
    status string
    Status of BGP neighbors.
    bfd_multi_hop int
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    bgp_group_id str
    The ID of the BGP group.
    bgp_peer_name str
    The name of the BGP neighbor.
    enable_bfd bool
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ip_version str
    The IP version.
    peer_ip_address str
    The IP address of the BGP peer.
    status str
    Status of BGP neighbors.
    bfdMultiHop Number
    The BFD hop count. Valid values: 1 to 255. NOTE: The attribute is valid when the attribute enable_bfd is true. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. You can set a proper value based on the factors that affect the physical connection.
    bgpGroupId String
    The ID of the BGP group.
    bgpPeerName String
    The name of the BGP neighbor.
    enableBfd Boolean
    Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
    ipVersion String
    The IP version.
    peerIpAddress String
    The IP address of the BGP peer.
    status String
    Status of BGP neighbors.

    Import

    Express Connect Bgp Peer can be imported using the id, e.g.

    $ pulumi import alicloud:vpc/bgpPeer:BgpPeer example <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi