nsxt.PolicyBgpNeighbor
Explore with Pulumi AI
Create PolicyBgpNeighbor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyBgpNeighbor(name: string, args: PolicyBgpNeighborArgs, opts?: CustomResourceOptions);
@overload
def PolicyBgpNeighbor(resource_name: str,
args: PolicyBgpNeighborArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyBgpNeighbor(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
remote_as_num: Optional[str] = None,
bgp_path: Optional[str] = None,
neighbor_address: Optional[str] = None,
maximum_hop_limit: Optional[float] = None,
graceful_restart_mode: Optional[str] = None,
hold_down_time: Optional[float] = None,
keep_alive_time: Optional[float] = None,
allow_as_in: Optional[bool] = None,
description: Optional[str] = None,
nsx_id: Optional[str] = None,
password: Optional[str] = None,
policy_bgp_neighbor_id: Optional[str] = None,
bfd_config: Optional[PolicyBgpNeighborBfdConfigArgs] = None,
route_filterings: Optional[Sequence[PolicyBgpNeighborRouteFilteringArgs]] = None,
source_addresses: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyBgpNeighborTagArgs]] = None)
func NewPolicyBgpNeighbor(ctx *Context, name string, args PolicyBgpNeighborArgs, opts ...ResourceOption) (*PolicyBgpNeighbor, error)
public PolicyBgpNeighbor(string name, PolicyBgpNeighborArgs args, CustomResourceOptions? opts = null)
public PolicyBgpNeighbor(String name, PolicyBgpNeighborArgs args)
public PolicyBgpNeighbor(String name, PolicyBgpNeighborArgs args, CustomResourceOptions options)
type: nsxt:PolicyBgpNeighbor
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 PolicyBgpNeighborArgs
- 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 PolicyBgpNeighborArgs
- 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 PolicyBgpNeighborArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyBgpNeighborArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyBgpNeighborArgs
- 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 policyBgpNeighborResource = new Nsxt.PolicyBgpNeighbor("policyBgpNeighborResource", new()
{
DisplayName = "string",
RemoteAsNum = "string",
BgpPath = "string",
NeighborAddress = "string",
MaximumHopLimit = 0,
GracefulRestartMode = "string",
HoldDownTime = 0,
KeepAliveTime = 0,
AllowAsIn = false,
Description = "string",
NsxId = "string",
Password = "string",
PolicyBgpNeighborId = "string",
BfdConfig = new Nsxt.Inputs.PolicyBgpNeighborBfdConfigArgs
{
Enabled = false,
Interval = 0,
Multiple = 0,
},
RouteFilterings = new[]
{
new Nsxt.Inputs.PolicyBgpNeighborRouteFilteringArgs
{
AddressFamily = "string",
Enabled = false,
InRouteFilter = "string",
MaximumRoutes = 0,
OutRouteFilter = "string",
},
},
SourceAddresses = new[]
{
"string",
},
Tags = new[]
{
new Nsxt.Inputs.PolicyBgpNeighborTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyBgpNeighbor(ctx, "policyBgpNeighborResource", &nsxt.PolicyBgpNeighborArgs{
DisplayName: pulumi.String("string"),
RemoteAsNum: pulumi.String("string"),
BgpPath: pulumi.String("string"),
NeighborAddress: pulumi.String("string"),
MaximumHopLimit: pulumi.Float64(0),
GracefulRestartMode: pulumi.String("string"),
HoldDownTime: pulumi.Float64(0),
KeepAliveTime: pulumi.Float64(0),
AllowAsIn: pulumi.Bool(false),
Description: pulumi.String("string"),
NsxId: pulumi.String("string"),
Password: pulumi.String("string"),
PolicyBgpNeighborId: pulumi.String("string"),
BfdConfig: &nsxt.PolicyBgpNeighborBfdConfigArgs{
Enabled: pulumi.Bool(false),
Interval: pulumi.Float64(0),
Multiple: pulumi.Float64(0),
},
RouteFilterings: nsxt.PolicyBgpNeighborRouteFilteringArray{
&nsxt.PolicyBgpNeighborRouteFilteringArgs{
AddressFamily: pulumi.String("string"),
Enabled: pulumi.Bool(false),
InRouteFilter: pulumi.String("string"),
MaximumRoutes: pulumi.Float64(0),
OutRouteFilter: pulumi.String("string"),
},
},
SourceAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Tags: nsxt.PolicyBgpNeighborTagArray{
&nsxt.PolicyBgpNeighborTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyBgpNeighborResource = new PolicyBgpNeighbor("policyBgpNeighborResource", PolicyBgpNeighborArgs.builder()
.displayName("string")
.remoteAsNum("string")
.bgpPath("string")
.neighborAddress("string")
.maximumHopLimit(0)
.gracefulRestartMode("string")
.holdDownTime(0)
.keepAliveTime(0)
.allowAsIn(false)
.description("string")
.nsxId("string")
.password("string")
.policyBgpNeighborId("string")
.bfdConfig(PolicyBgpNeighborBfdConfigArgs.builder()
.enabled(false)
.interval(0)
.multiple(0)
.build())
.routeFilterings(PolicyBgpNeighborRouteFilteringArgs.builder()
.addressFamily("string")
.enabled(false)
.inRouteFilter("string")
.maximumRoutes(0)
.outRouteFilter("string")
.build())
.sourceAddresses("string")
.tags(PolicyBgpNeighborTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_bgp_neighbor_resource = nsxt.PolicyBgpNeighbor("policyBgpNeighborResource",
display_name="string",
remote_as_num="string",
bgp_path="string",
neighbor_address="string",
maximum_hop_limit=0,
graceful_restart_mode="string",
hold_down_time=0,
keep_alive_time=0,
allow_as_in=False,
description="string",
nsx_id="string",
password="string",
policy_bgp_neighbor_id="string",
bfd_config={
"enabled": False,
"interval": 0,
"multiple": 0,
},
route_filterings=[{
"address_family": "string",
"enabled": False,
"in_route_filter": "string",
"maximum_routes": 0,
"out_route_filter": "string",
}],
source_addresses=["string"],
tags=[{
"scope": "string",
"tag": "string",
}])
const policyBgpNeighborResource = new nsxt.PolicyBgpNeighbor("policyBgpNeighborResource", {
displayName: "string",
remoteAsNum: "string",
bgpPath: "string",
neighborAddress: "string",
maximumHopLimit: 0,
gracefulRestartMode: "string",
holdDownTime: 0,
keepAliveTime: 0,
allowAsIn: false,
description: "string",
nsxId: "string",
password: "string",
policyBgpNeighborId: "string",
bfdConfig: {
enabled: false,
interval: 0,
multiple: 0,
},
routeFilterings: [{
addressFamily: "string",
enabled: false,
inRouteFilter: "string",
maximumRoutes: 0,
outRouteFilter: "string",
}],
sourceAddresses: ["string"],
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyBgpNeighbor
properties:
allowAsIn: false
bfdConfig:
enabled: false
interval: 0
multiple: 0
bgpPath: string
description: string
displayName: string
gracefulRestartMode: string
holdDownTime: 0
keepAliveTime: 0
maximumHopLimit: 0
neighborAddress: string
nsxId: string
password: string
policyBgpNeighborId: string
remoteAsNum: string
routeFilterings:
- addressFamily: string
enabled: false
inRouteFilter: string
maximumRoutes: 0
outRouteFilter: string
sourceAddresses:
- string
tags:
- scope: string
tag: string
PolicyBgpNeighbor 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 PolicyBgpNeighbor resource accepts the following input properties:
- Bgp
Path string - The policy path to the BGP configuration for this neighbor.
- Display
Name string - Display name of the resource.
- Neighbor
Address string - Neighbor IP Address.
- Remote
As stringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- Allow
As boolIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - Bfd
Config PolicyBgp Neighbor Bfd Config - The BFD configuration.
- Description string
- Description of the resource.
- Graceful
Restart stringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - Hold
Down doubleTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - Keep
Alive doubleTime - Interval between keep alive messages sent to peer. Defaults to
60
. - Maximum
Hop doubleLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Password string
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- Policy
Bgp stringNeighbor Id - ID of the resource.
- Route
Filterings List<PolicyBgp Neighbor Route Filtering> - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- Source
Addresses List<string> - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - List<Policy
Bgp Neighbor Tag> - A list of scope + tag pairs to associate with this resource.
- Bgp
Path string - The policy path to the BGP configuration for this neighbor.
- Display
Name string - Display name of the resource.
- Neighbor
Address string - Neighbor IP Address.
- Remote
As stringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- Allow
As boolIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - Bfd
Config PolicyBgp Neighbor Bfd Config Args - The BFD configuration.
- Description string
- Description of the resource.
- Graceful
Restart stringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - Hold
Down float64Time - Wait time in seconds before declaring peer dead. Defaults to
180
. - Keep
Alive float64Time - Interval between keep alive messages sent to peer. Defaults to
60
. - Maximum
Hop float64Limit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Password string
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- Policy
Bgp stringNeighbor Id - ID of the resource.
- Route
Filterings []PolicyBgp Neighbor Route Filtering Args - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- Source
Addresses []string - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - []Policy
Bgp Neighbor Tag Args - A list of scope + tag pairs to associate with this resource.
- bgp
Path String - The policy path to the BGP configuration for this neighbor.
- display
Name String - Display name of the resource.
- neighbor
Address String - Neighbor IP Address.
- remote
As StringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- allow
As BooleanIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd
Config PolicyBgp Neighbor Bfd Config - The BFD configuration.
- description String
- Description of the resource.
- graceful
Restart StringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold
Down DoubleTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep
Alive DoubleTime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum
Hop DoubleLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password String
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- policy
Bgp StringNeighbor Id - ID of the resource.
- route
Filterings List<PolicyBgp Neighbor Route Filtering> - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source
Addresses List<String> - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - List<Policy
Bgp Neighbor Tag> - A list of scope + tag pairs to associate with this resource.
- bgp
Path string - The policy path to the BGP configuration for this neighbor.
- display
Name string - Display name of the resource.
- neighbor
Address string - Neighbor IP Address.
- remote
As stringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- allow
As booleanIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd
Config PolicyBgp Neighbor Bfd Config - The BFD configuration.
- description string
- Description of the resource.
- graceful
Restart stringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold
Down numberTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep
Alive numberTime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum
Hop numberLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password string
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- policy
Bgp stringNeighbor Id - ID of the resource.
- route
Filterings PolicyBgp Neighbor Route Filtering[] - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source
Addresses string[] - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - Policy
Bgp Neighbor Tag[] - A list of scope + tag pairs to associate with this resource.
- bgp_
path str - The policy path to the BGP configuration for this neighbor.
- display_
name str - Display name of the resource.
- neighbor_
address str - Neighbor IP Address.
- remote_
as_ strnum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- allow_
as_ boolin - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd_
config PolicyBgp Neighbor Bfd Config Args - The BFD configuration.
- description str
- Description of the resource.
- graceful_
restart_ strmode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold_
down_ floattime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep_
alive_ floattime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum_
hop_ floatlimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password str
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- policy_
bgp_ strneighbor_ id - ID of the resource.
- route_
filterings Sequence[PolicyBgp Neighbor Route Filtering Args] - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source_
addresses Sequence[str] - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - Sequence[Policy
Bgp Neighbor Tag Args] - A list of scope + tag pairs to associate with this resource.
- bgp
Path String - The policy path to the BGP configuration for this neighbor.
- display
Name String - Display name of the resource.
- neighbor
Address String - Neighbor IP Address.
- remote
As StringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- allow
As BooleanIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd
Config Property Map - The BFD configuration.
- description String
- Description of the resource.
- graceful
Restart StringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold
Down NumberTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep
Alive NumberTime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum
Hop NumberLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password String
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- policy
Bgp StringNeighbor Id - ID of the resource.
- route
Filterings List<Property Map> - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source
Addresses List<String> - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyBgpNeighbor resource produces the following output properties:
Look up Existing PolicyBgpNeighbor Resource
Get an existing PolicyBgpNeighbor 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?: PolicyBgpNeighborState, opts?: CustomResourceOptions): PolicyBgpNeighbor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_as_in: Optional[bool] = None,
bfd_config: Optional[PolicyBgpNeighborBfdConfigArgs] = None,
bgp_path: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
graceful_restart_mode: Optional[str] = None,
hold_down_time: Optional[float] = None,
keep_alive_time: Optional[float] = None,
maximum_hop_limit: Optional[float] = None,
neighbor_address: Optional[str] = None,
nsx_id: Optional[str] = None,
password: Optional[str] = None,
path: Optional[str] = None,
policy_bgp_neighbor_id: Optional[str] = None,
remote_as_num: Optional[str] = None,
revision: Optional[float] = None,
route_filterings: Optional[Sequence[PolicyBgpNeighborRouteFilteringArgs]] = None,
source_addresses: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyBgpNeighborTagArgs]] = None) -> PolicyBgpNeighbor
func GetPolicyBgpNeighbor(ctx *Context, name string, id IDInput, state *PolicyBgpNeighborState, opts ...ResourceOption) (*PolicyBgpNeighbor, error)
public static PolicyBgpNeighbor Get(string name, Input<string> id, PolicyBgpNeighborState? state, CustomResourceOptions? opts = null)
public static PolicyBgpNeighbor get(String name, Output<String> id, PolicyBgpNeighborState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyBgpNeighbor 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.
- Allow
As boolIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - Bfd
Config PolicyBgp Neighbor Bfd Config - The BFD configuration.
- Bgp
Path string - The policy path to the BGP configuration for this neighbor.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Graceful
Restart stringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - Hold
Down doubleTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - Keep
Alive doubleTime - Interval between keep alive messages sent to peer. Defaults to
60
. - Maximum
Hop doubleLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - Neighbor
Address string - Neighbor IP Address.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Password string
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- Path string
- The NSX path of the policy resource.
- Policy
Bgp stringNeighbor Id - ID of the resource.
- Remote
As stringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Route
Filterings List<PolicyBgp Neighbor Route Filtering> - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- Source
Addresses List<string> - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - List<Policy
Bgp Neighbor Tag> - A list of scope + tag pairs to associate with this resource.
- Allow
As boolIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - Bfd
Config PolicyBgp Neighbor Bfd Config Args - The BFD configuration.
- Bgp
Path string - The policy path to the BGP configuration for this neighbor.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Graceful
Restart stringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - Hold
Down float64Time - Wait time in seconds before declaring peer dead. Defaults to
180
. - Keep
Alive float64Time - Interval between keep alive messages sent to peer. Defaults to
60
. - Maximum
Hop float64Limit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - Neighbor
Address string - Neighbor IP Address.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Password string
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- Path string
- The NSX path of the policy resource.
- Policy
Bgp stringNeighbor Id - ID of the resource.
- Remote
As stringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Route
Filterings []PolicyBgp Neighbor Route Filtering Args - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- Source
Addresses []string - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - []Policy
Bgp Neighbor Tag Args - A list of scope + tag pairs to associate with this resource.
- allow
As BooleanIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd
Config PolicyBgp Neighbor Bfd Config - The BFD configuration.
- bgp
Path String - The policy path to the BGP configuration for this neighbor.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- graceful
Restart StringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold
Down DoubleTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep
Alive DoubleTime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum
Hop DoubleLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - neighbor
Address String - Neighbor IP Address.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password String
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- path String
- The NSX path of the policy resource.
- policy
Bgp StringNeighbor Id - ID of the resource.
- remote
As StringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route
Filterings List<PolicyBgp Neighbor Route Filtering> - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source
Addresses List<String> - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - List<Policy
Bgp Neighbor Tag> - A list of scope + tag pairs to associate with this resource.
- allow
As booleanIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd
Config PolicyBgp Neighbor Bfd Config - The BFD configuration.
- bgp
Path string - The policy path to the BGP configuration for this neighbor.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- graceful
Restart stringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold
Down numberTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep
Alive numberTime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum
Hop numberLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - neighbor
Address string - Neighbor IP Address.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password string
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- path string
- The NSX path of the policy resource.
- policy
Bgp stringNeighbor Id - ID of the resource.
- remote
As stringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route
Filterings PolicyBgp Neighbor Route Filtering[] - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source
Addresses string[] - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - Policy
Bgp Neighbor Tag[] - A list of scope + tag pairs to associate with this resource.
- allow_
as_ boolin - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd_
config PolicyBgp Neighbor Bfd Config Args - The BFD configuration.
- bgp_
path str - The policy path to the BGP configuration for this neighbor.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- graceful_
restart_ strmode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold_
down_ floattime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep_
alive_ floattime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum_
hop_ floatlimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - neighbor_
address str - Neighbor IP Address.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password str
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- path str
- The NSX path of the policy resource.
- policy_
bgp_ strneighbor_ id - ID of the resource.
- remote_
as_ strnum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route_
filterings Sequence[PolicyBgp Neighbor Route Filtering Args] - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source_
addresses Sequence[str] - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - Sequence[Policy
Bgp Neighbor Tag Args] - A list of scope + tag pairs to associate with this resource.
- allow
As BooleanIn - Flag to enable allowas_in option for BGP neighbor. Defaults to
false
. - bfd
Config Property Map - The BFD configuration.
- bgp
Path String - The policy path to the BGP configuration for this neighbor.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- graceful
Restart StringMode - BGP Graceful Restart Configuration Mode. One of
DISABLE
,GR_AND_HELPER
orHELPER_ONLY
. - hold
Down NumberTime - Wait time in seconds before declaring peer dead. Defaults to
180
. - keep
Alive NumberTime - Interval between keep alive messages sent to peer. Defaults to
60
. - maximum
Hop NumberLimit - Maximum number of hops allowed to reach BGP neighbor. Defaults to
1
. - neighbor
Address String - Neighbor IP Address.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- password String
- Password for BGP neighbor authentication. Set to the empty string to clear out the password.
- path String
- The NSX path of the policy resource.
- policy
Bgp StringNeighbor Id - ID of the resource.
- remote
As StringNum - ASN of the neighbor in ASPLAIN/ASDOT Format.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route
Filterings List<Property Map> - Up to 2 route filters for the neighbor. Note that prior to NSX version 3.0.0, only 1 element is supported.
- source
Addresses List<String> - A list of up to 8 source IP Addresses for BGP peering.
ip_addresses
field of an existingnsxt.PolicyTier0GatewayInterface
can be used here. - List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyBgpNeighborBfdConfig, PolicyBgpNeighborBfdConfigArgs
PolicyBgpNeighborRouteFiltering, PolicyBgpNeighborRouteFilteringArgs
- Address
Family string - Address family type. Must be one of
L2VPN_EVPN
,IPV4
orIPV6
. Note theL2VPN_EVPN
property is only available starting with NSX version 3.0.0. - Enabled bool
- A boolean flag to enable/disable address family. Defaults to
false
. - In
Route stringFilter - Path of prefix-list or route map to filter routes for IN direction.
- Maximum
Routes double - Maximum number of routes for the address family. Note this property is only available starting with NSX version 3.0.0.
- Out
Route stringFilter - Path of prefix-list or route map to filter routes for OUT direction.
- Address
Family string - Address family type. Must be one of
L2VPN_EVPN
,IPV4
orIPV6
. Note theL2VPN_EVPN
property is only available starting with NSX version 3.0.0. - Enabled bool
- A boolean flag to enable/disable address family. Defaults to
false
. - In
Route stringFilter - Path of prefix-list or route map to filter routes for IN direction.
- Maximum
Routes float64 - Maximum number of routes for the address family. Note this property is only available starting with NSX version 3.0.0.
- Out
Route stringFilter - Path of prefix-list or route map to filter routes for OUT direction.
- address
Family String - Address family type. Must be one of
L2VPN_EVPN
,IPV4
orIPV6
. Note theL2VPN_EVPN
property is only available starting with NSX version 3.0.0. - enabled Boolean
- A boolean flag to enable/disable address family. Defaults to
false
. - in
Route StringFilter - Path of prefix-list or route map to filter routes for IN direction.
- maximum
Routes Double - Maximum number of routes for the address family. Note this property is only available starting with NSX version 3.0.0.
- out
Route StringFilter - Path of prefix-list or route map to filter routes for OUT direction.
- address
Family string - Address family type. Must be one of
L2VPN_EVPN
,IPV4
orIPV6
. Note theL2VPN_EVPN
property is only available starting with NSX version 3.0.0. - enabled boolean
- A boolean flag to enable/disable address family. Defaults to
false
. - in
Route stringFilter - Path of prefix-list or route map to filter routes for IN direction.
- maximum
Routes number - Maximum number of routes for the address family. Note this property is only available starting with NSX version 3.0.0.
- out
Route stringFilter - Path of prefix-list or route map to filter routes for OUT direction.
- address_
family str - Address family type. Must be one of
L2VPN_EVPN
,IPV4
orIPV6
. Note theL2VPN_EVPN
property is only available starting with NSX version 3.0.0. - enabled bool
- A boolean flag to enable/disable address family. Defaults to
false
. - in_
route_ strfilter - Path of prefix-list or route map to filter routes for IN direction.
- maximum_
routes float - Maximum number of routes for the address family. Note this property is only available starting with NSX version 3.0.0.
- out_
route_ strfilter - Path of prefix-list or route map to filter routes for OUT direction.
- address
Family String - Address family type. Must be one of
L2VPN_EVPN
,IPV4
orIPV6
. Note theL2VPN_EVPN
property is only available starting with NSX version 3.0.0. - enabled Boolean
- A boolean flag to enable/disable address family. Defaults to
false
. - in
Route StringFilter - Path of prefix-list or route map to filter routes for IN direction.
- maximum
Routes Number - Maximum number of routes for the address family. Note this property is only available starting with NSX version 3.0.0.
- out
Route StringFilter - Path of prefix-list or route map to filter routes for OUT direction.
PolicyBgpNeighborTag, PolicyBgpNeighborTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.