hpegl.VmaasRouterBgpNeighbor
Explore with Pulumi AI
Router Bgp Neighbor resource facilitates creating, updating and deleting NSX-T Network Router BGP Neighbors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
const tfRouterBgpNeighbor = new hpegl.VmaasRouterBgpNeighbor("tfRouterBgpNeighbor", {
    routerId: data.hpegl_vmaas_router.tf_tier0.id,
    ipAddress: "10.201.227.84",
    remoteAs: 65000,
    keepalive: 60,
    holddown: 180,
    routerFilteringType: "IPV4",
    bfdEnabled: false,
    bfdInterval: 1000,
    bfdMultiple: 3,
    allowAsIn: false,
    hopLimit: 1,
    restartMode: "HELPER_ONLY",
    config: {
        sourceAddresses: [data.hpegl_vmaas_router.tf_tier0.interfaces[0].source_addresses],
    },
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
tf_router_bgp_neighbor = hpegl.VmaasRouterBgpNeighbor("tfRouterBgpNeighbor",
    router_id=data["hpegl_vmaas_router"]["tf_tier0"]["id"],
    ip_address="10.201.227.84",
    remote_as=65000,
    keepalive=60,
    holddown=180,
    router_filtering_type="IPV4",
    bfd_enabled=False,
    bfd_interval=1000,
    bfd_multiple=3,
    allow_as_in=False,
    hop_limit=1,
    restart_mode="HELPER_ONLY",
    config={
        "source_addresses": [data["hpegl_vmaas_router"]["tf_tier0"]["interfaces"][0]["source_addresses"]],
    })
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
		_, err := hpegl.NewVmaasRouterBgpNeighbor(ctx, "tfRouterBgpNeighbor", &hpegl.VmaasRouterBgpNeighborArgs{
			RouterId:            pulumi.Any(data.Hpegl_vmaas_router.Tf_tier0.Id),
			IpAddress:           pulumi.String("10.201.227.84"),
			RemoteAs:            pulumi.Float64(65000),
			Keepalive:           pulumi.Float64(60),
			Holddown:            pulumi.Float64(180),
			RouterFilteringType: pulumi.String("IPV4"),
			BfdEnabled:          pulumi.Bool(false),
			BfdInterval:         pulumi.Float64(1000),
			BfdMultiple:         pulumi.Float64(3),
			AllowAsIn:           pulumi.Bool(false),
			HopLimit:            pulumi.Float64(1),
			RestartMode:         pulumi.String("HELPER_ONLY"),
			Config: &hpegl.VmaasRouterBgpNeighborConfigArgs{
				SourceAddresses: pulumi.StringArray{
					data.Hpegl_vmaas_router.Tf_tier0.Interfaces[0].Source_addresses,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() => 
{
    // (C) Copyright 2021 Hewlett Packard Enterprise Development LP
    var tfRouterBgpNeighbor = new Hpegl.VmaasRouterBgpNeighbor("tfRouterBgpNeighbor", new()
    {
        RouterId = data.Hpegl_vmaas_router.Tf_tier0.Id,
        IpAddress = "10.201.227.84",
        RemoteAs = 65000,
        Keepalive = 60,
        Holddown = 180,
        RouterFilteringType = "IPV4",
        BfdEnabled = false,
        BfdInterval = 1000,
        BfdMultiple = 3,
        AllowAsIn = false,
        HopLimit = 1,
        RestartMode = "HELPER_ONLY",
        Config = new Hpegl.Inputs.VmaasRouterBgpNeighborConfigArgs
        {
            SourceAddresses = new[]
            {
                data.Hpegl_vmaas_router.Tf_tier0.Interfaces[0].Source_addresses,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.VmaasRouterBgpNeighbor;
import com.pulumi.hpegl.VmaasRouterBgpNeighborArgs;
import com.pulumi.hpegl.inputs.VmaasRouterBgpNeighborConfigArgs;
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) {
        // (C) Copyright 2021 Hewlett Packard Enterprise Development LP
        var tfRouterBgpNeighbor = new VmaasRouterBgpNeighbor("tfRouterBgpNeighbor", VmaasRouterBgpNeighborArgs.builder()
            .routerId(data.hpegl_vmaas_router().tf_tier0().id())
            .ipAddress("10.201.227.84")
            .remoteAs(65000)
            .keepalive(60)
            .holddown(180)
            .routerFilteringType("IPV4")
            .bfdEnabled(false)
            .bfdInterval(1000)
            .bfdMultiple(3)
            .allowAsIn(false)
            .hopLimit(1)
            .restartMode("HELPER_ONLY")
            .config(VmaasRouterBgpNeighborConfigArgs.builder()
                .sourceAddresses(data.hpegl_vmaas_router().tf_tier0().interfaces()[0].source_addresses())
                .build())
            .build());
    }
}
resources:
  # (C) Copyright 2021 Hewlett Packard Enterprise Development LP
  tfRouterBgpNeighbor:
    type: hpegl:VmaasRouterBgpNeighbor
    properties:
      routerId: ${data.hpegl_vmaas_router.tf_tier0.id}
      ipAddress: 10.201.227.84
      remoteAs: 65000
      keepalive: 60
      holddown: 180
      routerFilteringType: IPV4
      bfdEnabled: false
      bfdInterval: 1000
      bfdMultiple: 3
      allowAsIn: false
      hopLimit: 1
      restartMode: HELPER_ONLY
      config:
        sourceAddresses:
          - ${data.hpegl_vmaas_router.tf_tier0.interfaces[0].source_addresses}
Create VmaasRouterBgpNeighbor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmaasRouterBgpNeighbor(name: string, args: VmaasRouterBgpNeighborArgs, opts?: CustomResourceOptions);@overload
def VmaasRouterBgpNeighbor(resource_name: str,
                           args: VmaasRouterBgpNeighborArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def VmaasRouterBgpNeighbor(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           hop_limit: Optional[float] = None,
                           bfd_enabled: Optional[bool] = None,
                           bfd_interval: Optional[float] = None,
                           router_id: Optional[float] = None,
                           remote_as: Optional[float] = None,
                           ip_address: Optional[str] = None,
                           keepalive: Optional[float] = None,
                           holddown: Optional[float] = None,
                           allow_as_in: Optional[bool] = None,
                           config: Optional[VmaasRouterBgpNeighborConfigArgs] = None,
                           restart_mode: Optional[str] = None,
                           router_filtering_in: Optional[str] = None,
                           router_filtering_out: Optional[str] = None,
                           router_filtering_type: Optional[str] = None,
                           bfd_multiple: Optional[float] = None,
                           vmaas_router_bgp_neighbor_id: Optional[str] = None)func NewVmaasRouterBgpNeighbor(ctx *Context, name string, args VmaasRouterBgpNeighborArgs, opts ...ResourceOption) (*VmaasRouterBgpNeighbor, error)public VmaasRouterBgpNeighbor(string name, VmaasRouterBgpNeighborArgs args, CustomResourceOptions? opts = null)
public VmaasRouterBgpNeighbor(String name, VmaasRouterBgpNeighborArgs args)
public VmaasRouterBgpNeighbor(String name, VmaasRouterBgpNeighborArgs args, CustomResourceOptions options)
type: hpegl:VmaasRouterBgpNeighbor
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 VmaasRouterBgpNeighborArgs
- 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 VmaasRouterBgpNeighborArgs
- 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 VmaasRouterBgpNeighborArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmaasRouterBgpNeighborArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmaasRouterBgpNeighborArgs
- 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 vmaasRouterBgpNeighborResource = new Hpegl.VmaasRouterBgpNeighbor("vmaasRouterBgpNeighborResource", new()
{
    HopLimit = 0,
    BfdEnabled = false,
    BfdInterval = 0,
    RouterId = 0,
    RemoteAs = 0,
    IpAddress = "string",
    Keepalive = 0,
    Holddown = 0,
    AllowAsIn = false,
    Config = new Hpegl.Inputs.VmaasRouterBgpNeighborConfigArgs
    {
        SourceAddresses = new[]
        {
            "string",
        },
    },
    RestartMode = "string",
    RouterFilteringIn = "string",
    RouterFilteringOut = "string",
    RouterFilteringType = "string",
    BfdMultiple = 0,
    VmaasRouterBgpNeighborId = "string",
});
example, err := hpegl.NewVmaasRouterBgpNeighbor(ctx, "vmaasRouterBgpNeighborResource", &hpegl.VmaasRouterBgpNeighborArgs{
	HopLimit:    pulumi.Float64(0),
	BfdEnabled:  pulumi.Bool(false),
	BfdInterval: pulumi.Float64(0),
	RouterId:    pulumi.Float64(0),
	RemoteAs:    pulumi.Float64(0),
	IpAddress:   pulumi.String("string"),
	Keepalive:   pulumi.Float64(0),
	Holddown:    pulumi.Float64(0),
	AllowAsIn:   pulumi.Bool(false),
	Config: &hpegl.VmaasRouterBgpNeighborConfigArgs{
		SourceAddresses: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	RestartMode:              pulumi.String("string"),
	RouterFilteringIn:        pulumi.String("string"),
	RouterFilteringOut:       pulumi.String("string"),
	RouterFilteringType:      pulumi.String("string"),
	BfdMultiple:              pulumi.Float64(0),
	VmaasRouterBgpNeighborId: pulumi.String("string"),
})
var vmaasRouterBgpNeighborResource = new VmaasRouterBgpNeighbor("vmaasRouterBgpNeighborResource", VmaasRouterBgpNeighborArgs.builder()
    .hopLimit(0.0)
    .bfdEnabled(false)
    .bfdInterval(0.0)
    .routerId(0.0)
    .remoteAs(0.0)
    .ipAddress("string")
    .keepalive(0.0)
    .holddown(0.0)
    .allowAsIn(false)
    .config(VmaasRouterBgpNeighborConfigArgs.builder()
        .sourceAddresses("string")
        .build())
    .restartMode("string")
    .routerFilteringIn("string")
    .routerFilteringOut("string")
    .routerFilteringType("string")
    .bfdMultiple(0.0)
    .vmaasRouterBgpNeighborId("string")
    .build());
vmaas_router_bgp_neighbor_resource = hpegl.VmaasRouterBgpNeighbor("vmaasRouterBgpNeighborResource",
    hop_limit=0,
    bfd_enabled=False,
    bfd_interval=0,
    router_id=0,
    remote_as=0,
    ip_address="string",
    keepalive=0,
    holddown=0,
    allow_as_in=False,
    config={
        "source_addresses": ["string"],
    },
    restart_mode="string",
    router_filtering_in="string",
    router_filtering_out="string",
    router_filtering_type="string",
    bfd_multiple=0,
    vmaas_router_bgp_neighbor_id="string")
const vmaasRouterBgpNeighborResource = new hpegl.VmaasRouterBgpNeighbor("vmaasRouterBgpNeighborResource", {
    hopLimit: 0,
    bfdEnabled: false,
    bfdInterval: 0,
    routerId: 0,
    remoteAs: 0,
    ipAddress: "string",
    keepalive: 0,
    holddown: 0,
    allowAsIn: false,
    config: {
        sourceAddresses: ["string"],
    },
    restartMode: "string",
    routerFilteringIn: "string",
    routerFilteringOut: "string",
    routerFilteringType: "string",
    bfdMultiple: 0,
    vmaasRouterBgpNeighborId: "string",
});
type: hpegl:VmaasRouterBgpNeighbor
properties:
    allowAsIn: false
    bfdEnabled: false
    bfdInterval: 0
    bfdMultiple: 0
    config:
        sourceAddresses:
            - string
    holddown: 0
    hopLimit: 0
    ipAddress: string
    keepalive: 0
    remoteAs: 0
    restartMode: string
    routerFilteringIn: string
    routerFilteringOut: string
    routerFilteringType: string
    routerId: 0
    vmaasRouterBgpNeighborId: string
VmaasRouterBgpNeighbor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VmaasRouterBgpNeighbor resource accepts the following input properties:
- BfdEnabled bool
- BFD Enabled.
- BfdInterval double
- BFD Interval(ms).
- HopLimit double
- Max Hop Limit.
- IpAddress string
- IP Address.
- RemoteAs double
- Remote AS number.
- RouterId double
- Parent router ID, router_id can be obtained by using router datasource/resource.
- AllowAs boolIn 
- Allow-as-in.
- BfdMultiple double
- BFD Multiplier.
- Config
VmaasRouter Bgp Neighbor Config 
- Interface configurations
- Holddown double
- Hold Down Time.
- Keepalive double
- Keep Alive Time.
- RestartMode string
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- RouterFiltering stringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- VmaasRouter stringBgp Neighbor Id 
- The ID of this resource.
- BfdEnabled bool
- BFD Enabled.
- BfdInterval float64
- BFD Interval(ms).
- HopLimit float64
- Max Hop Limit.
- IpAddress string
- IP Address.
- RemoteAs float64
- Remote AS number.
- RouterId float64
- Parent router ID, router_id can be obtained by using router datasource/resource.
- AllowAs boolIn 
- Allow-as-in.
- BfdMultiple float64
- BFD Multiplier.
- Config
VmaasRouter Bgp Neighbor Config Args 
- Interface configurations
- Holddown float64
- Hold Down Time.
- Keepalive float64
- Keep Alive Time.
- RestartMode string
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- RouterFiltering stringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- VmaasRouter stringBgp Neighbor Id 
- The ID of this resource.
- bfdEnabled Boolean
- BFD Enabled.
- bfdInterval Double
- BFD Interval(ms).
- hopLimit Double
- Max Hop Limit.
- ipAddress String
- IP Address.
- remoteAs Double
- Remote AS number.
- routerId Double
- Parent router ID, router_id can be obtained by using router datasource/resource.
- allowAs BooleanIn 
- Allow-as-in.
- bfdMultiple Double
- BFD Multiplier.
- config
VmaasRouter Bgp Neighbor Config 
- Interface configurations
- holddown Double
- Hold Down Time.
- keepalive Double
- Keep Alive Time.
- restartMode String
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- routerFiltering StringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- vmaasRouter StringBgp Neighbor Id 
- The ID of this resource.
- bfdEnabled boolean
- BFD Enabled.
- bfdInterval number
- BFD Interval(ms).
- hopLimit number
- Max Hop Limit.
- ipAddress string
- IP Address.
- remoteAs number
- Remote AS number.
- routerId number
- Parent router ID, router_id can be obtained by using router datasource/resource.
- allowAs booleanIn 
- Allow-as-in.
- bfdMultiple number
- BFD Multiplier.
- config
VmaasRouter Bgp Neighbor Config 
- Interface configurations
- holddown number
- Hold Down Time.
- keepalive number
- Keep Alive Time.
- restartMode string
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- routerFiltering stringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering stringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering stringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- vmaasRouter stringBgp Neighbor Id 
- The ID of this resource.
- bfd_enabled bool
- BFD Enabled.
- bfd_interval float
- BFD Interval(ms).
- hop_limit float
- Max Hop Limit.
- ip_address str
- IP Address.
- remote_as float
- Remote AS number.
- router_id float
- Parent router ID, router_id can be obtained by using router datasource/resource.
- allow_as_ boolin 
- Allow-as-in.
- bfd_multiple float
- BFD Multiplier.
- config
VmaasRouter Bgp Neighbor Config Args 
- Interface configurations
- holddown float
- Hold Down Time.
- keepalive float
- Keep Alive Time.
- restart_mode str
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- router_filtering_ strin 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- router_filtering_ strout 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- router_filtering_ strtype 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- vmaas_router_ strbgp_ neighbor_ id 
- The ID of this resource.
- bfdEnabled Boolean
- BFD Enabled.
- bfdInterval Number
- BFD Interval(ms).
- hopLimit Number
- Max Hop Limit.
- ipAddress String
- IP Address.
- remoteAs Number
- Remote AS number.
- routerId Number
- Parent router ID, router_id can be obtained by using router datasource/resource.
- allowAs BooleanIn 
- Allow-as-in.
- bfdMultiple Number
- BFD Multiplier.
- config Property Map
- Interface configurations
- holddown Number
- Hold Down Time.
- keepalive Number
- Keep Alive Time.
- restartMode String
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- routerFiltering StringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- vmaasRouter StringBgp Neighbor Id 
- The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmaasRouterBgpNeighbor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VmaasRouterBgpNeighbor Resource
Get an existing VmaasRouterBgpNeighbor 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?: VmaasRouterBgpNeighborState, opts?: CustomResourceOptions): VmaasRouterBgpNeighbor@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_as_in: Optional[bool] = None,
        bfd_enabled: Optional[bool] = None,
        bfd_interval: Optional[float] = None,
        bfd_multiple: Optional[float] = None,
        config: Optional[VmaasRouterBgpNeighborConfigArgs] = None,
        holddown: Optional[float] = None,
        hop_limit: Optional[float] = None,
        ip_address: Optional[str] = None,
        keepalive: Optional[float] = None,
        remote_as: Optional[float] = None,
        restart_mode: Optional[str] = None,
        router_filtering_in: Optional[str] = None,
        router_filtering_out: Optional[str] = None,
        router_filtering_type: Optional[str] = None,
        router_id: Optional[float] = None,
        vmaas_router_bgp_neighbor_id: Optional[str] = None) -> VmaasRouterBgpNeighborfunc GetVmaasRouterBgpNeighbor(ctx *Context, name string, id IDInput, state *VmaasRouterBgpNeighborState, opts ...ResourceOption) (*VmaasRouterBgpNeighbor, error)public static VmaasRouterBgpNeighbor Get(string name, Input<string> id, VmaasRouterBgpNeighborState? state, CustomResourceOptions? opts = null)public static VmaasRouterBgpNeighbor get(String name, Output<String> id, VmaasRouterBgpNeighborState state, CustomResourceOptions options)resources:  _:    type: hpegl:VmaasRouterBgpNeighbor    get:      id: ${id}- 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.
- AllowAs boolIn 
- Allow-as-in.
- BfdEnabled bool
- BFD Enabled.
- BfdInterval double
- BFD Interval(ms).
- BfdMultiple double
- BFD Multiplier.
- Config
VmaasRouter Bgp Neighbor Config 
- Interface configurations
- Holddown double
- Hold Down Time.
- HopLimit double
- Max Hop Limit.
- IpAddress string
- IP Address.
- Keepalive double
- Keep Alive Time.
- RemoteAs double
- Remote AS number.
- RestartMode string
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- RouterFiltering stringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- RouterId double
- Parent router ID, router_id can be obtained by using router datasource/resource.
- VmaasRouter stringBgp Neighbor Id 
- The ID of this resource.
- AllowAs boolIn 
- Allow-as-in.
- BfdEnabled bool
- BFD Enabled.
- BfdInterval float64
- BFD Interval(ms).
- BfdMultiple float64
- BFD Multiplier.
- Config
VmaasRouter Bgp Neighbor Config Args 
- Interface configurations
- Holddown float64
- Hold Down Time.
- HopLimit float64
- Max Hop Limit.
- IpAddress string
- IP Address.
- Keepalive float64
- Keep Alive Time.
- RemoteAs float64
- Remote AS number.
- RestartMode string
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- RouterFiltering stringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- RouterFiltering stringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- RouterId float64
- Parent router ID, router_id can be obtained by using router datasource/resource.
- VmaasRouter stringBgp Neighbor Id 
- The ID of this resource.
- allowAs BooleanIn 
- Allow-as-in.
- bfdEnabled Boolean
- BFD Enabled.
- bfdInterval Double
- BFD Interval(ms).
- bfdMultiple Double
- BFD Multiplier.
- config
VmaasRouter Bgp Neighbor Config 
- Interface configurations
- holddown Double
- Hold Down Time.
- hopLimit Double
- Max Hop Limit.
- ipAddress String
- IP Address.
- keepalive Double
- Keep Alive Time.
- remoteAs Double
- Remote AS number.
- restartMode String
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- routerFiltering StringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- routerId Double
- Parent router ID, router_id can be obtained by using router datasource/resource.
- vmaasRouter StringBgp Neighbor Id 
- The ID of this resource.
- allowAs booleanIn 
- Allow-as-in.
- bfdEnabled boolean
- BFD Enabled.
- bfdInterval number
- BFD Interval(ms).
- bfdMultiple number
- BFD Multiplier.
- config
VmaasRouter Bgp Neighbor Config 
- Interface configurations
- holddown number
- Hold Down Time.
- hopLimit number
- Max Hop Limit.
- ipAddress string
- IP Address.
- keepalive number
- Keep Alive Time.
- remoteAs number
- Remote AS number.
- restartMode string
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- routerFiltering stringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering stringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering stringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- routerId number
- Parent router ID, router_id can be obtained by using router datasource/resource.
- vmaasRouter stringBgp Neighbor Id 
- The ID of this resource.
- allow_as_ boolin 
- Allow-as-in.
- bfd_enabled bool
- BFD Enabled.
- bfd_interval float
- BFD Interval(ms).
- bfd_multiple float
- BFD Multiplier.
- config
VmaasRouter Bgp Neighbor Config Args 
- Interface configurations
- holddown float
- Hold Down Time.
- hop_limit float
- Max Hop Limit.
- ip_address str
- IP Address.
- keepalive float
- Keep Alive Time.
- remote_as float
- Remote AS number.
- restart_mode str
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- router_filtering_ strin 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- router_filtering_ strout 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- router_filtering_ strtype 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- router_id float
- Parent router ID, router_id can be obtained by using router datasource/resource.
- vmaas_router_ strbgp_ neighbor_ id 
- The ID of this resource.
- allowAs BooleanIn 
- Allow-as-in.
- bfdEnabled Boolean
- BFD Enabled.
- bfdInterval Number
- BFD Interval(ms).
- bfdMultiple Number
- BFD Multiplier.
- config Property Map
- Interface configurations
- holddown Number
- Hold Down Time.
- hopLimit Number
- Max Hop Limit.
- ipAddress String
- IP Address.
- keepalive Number
- Keep Alive Time.
- remoteAs Number
- Remote AS number.
- restartMode String
- Graceful Restart. Supported Values are "HELPERONLY" "GRAND_HELPER" "DISABLE".
- routerFiltering StringIn 
- In Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringOut 
- Out Filter. Supported Values are "DNSFORWARDERIP", "EVPNTEPIP", "EXTERNALINTERFACE", "INTERNALTRANSITSUBNET", "IPSECLOCALIP", "LOOPBACKINTERFACE", "prefixlist-out-default", "ROUTERLINK", "SEGMENT", "SERVICEINTERFACE"
- routerFiltering StringType 
- IP Address Family. Supported Values are IPV4,IPV6andL2VPN_EVPN
- routerId Number
- Parent router ID, router_id can be obtained by using router datasource/resource.
- vmaasRouter StringBgp Neighbor Id 
- The ID of this resource.
Supporting Types
VmaasRouterBgpNeighborConfig, VmaasRouterBgpNeighborConfigArgs          
- SourceAddresses List<string>
- Source Addresses. This can be retrieved using Network Router Data Source
- SourceAddresses []string
- Source Addresses. This can be retrieved using Network Router Data Source
- sourceAddresses List<String>
- Source Addresses. This can be retrieved using Network Router Data Source
- sourceAddresses string[]
- Source Addresses. This can be retrieved using Network Router Data Source
- source_addresses Sequence[str]
- Source Addresses. This can be retrieved using Network Router Data Source
- sourceAddresses List<String>
- Source Addresses. This can be retrieved using Network Router Data Source
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the hpeglTerraform Provider.