azurermRouteServerBgpConnection
Manages a Bgp Connection for a Route Server
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.routeServerBgpConnection.RouteServerBgpConnection(this, "example", {
name: "example-rs-bgpconnection",
peer_asn: 65501,
peer_ip: "169.254.21.5",
route_server_id: "${azurerm_route_server.example.id}",
});
Arguments Reference
The following arguments are supported:
-
name
- (Required) The name which should be used for this Route Server Bgp Connection. Changing this forces a new resource to be created. -
routeServerId
- (Required) The ID of the Route Server within which this Bgp connection should be created. Changing this forces a new resource to be created. -
peerAsn
- (Required) The peer autonomous system number for the Route Server Bgp Connection. Changing this forces a new resource to be created. -
peerIp
- (Required) The peer ip address for the Route Server Bgp Connection. Changing this forces a new resource to be created.
Attributes Reference
The following attributes are exported:
id
- The ID of the Route Server Bgp Connection.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Route Server Bgp Connection.read
- (Defaults to 5 minutes) Used when retrieving the Route Server Bgp Connection.delete
- (Defaults to 30 minutes) Used when deleting the Route Server Bgp Connection.
Import
Route Server Bgp Connections can be imported using the resourceId
, e.g.