RouterBgpPeerArgs

data class RouterBgpPeerArgs(val advertiseMode: Output<RouterBgpPeerAdvertiseMode>? = null, val advertisedGroups: Output<List<RouterBgpPeerAdvertisedGroupsItem>>? = null, val advertisedIpRanges: Output<List<RouterAdvertisedIpRangeArgs>>? = null, val advertisedRoutePriority: Output<Int>? = null, val bfd: Output<RouterBgpPeerBfdArgs>? = null, val enable: Output<RouterBgpPeerEnable>? = null, val enableIpv6: Output<Boolean>? = null, val interfaceName: Output<String>? = null, val ipAddress: Output<String>? = null, val ipv6NexthopAddress: Output<String>? = null, val md5AuthenticationKeyName: Output<String>? = null, val name: Output<String>? = null, val peerAsn: Output<Int>? = null, val peerIpAddress: Output<String>? = null, val peerIpv6NexthopAddress: Output<String>? = null, val routerApplianceInstance: Output<String>? = null) : ConvertibleToJava<RouterBgpPeerArgs>

Constructors

Link copied to clipboard
fun RouterBgpPeerArgs(advertiseMode: Output<RouterBgpPeerAdvertiseMode>? = null, advertisedGroups: Output<List<RouterBgpPeerAdvertisedGroupsItem>>? = null, advertisedIpRanges: Output<List<RouterAdvertisedIpRangeArgs>>? = null, advertisedRoutePriority: Output<Int>? = null, bfd: Output<RouterBgpPeerBfdArgs>? = null, enable: Output<RouterBgpPeerEnable>? = null, enableIpv6: Output<Boolean>? = null, interfaceName: Output<String>? = null, ipAddress: Output<String>? = null, ipv6NexthopAddress: Output<String>? = null, md5AuthenticationKeyName: Output<String>? = null, name: Output<String>? = null, peerAsn: Output<Int>? = null, peerIpAddress: Output<String>? = null, peerIpv6NexthopAddress: Output<String>? = null, routerApplianceInstance: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RouterBgpPeerArgs

Properties

Link copied to clipboard

User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.

Link copied to clipboard

User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.

Link copied to clipboard
val advertisedRoutePriority: Output<Int>? = null

The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.

Link copied to clipboard

User-specified flag to indicate which mode to use for advertisement.

Link copied to clipboard
val bfd: Output<RouterBgpPeerBfdArgs>? = null

BFD configuration for the BGP peering.

Link copied to clipboard
val enable: Output<RouterBgpPeerEnable>? = null

The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.

Link copied to clipboard
val enableIpv6: Output<Boolean>? = null

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

Link copied to clipboard
val interfaceName: Output<String>? = null

Name of the interface the BGP peer is associated with.

Link copied to clipboard
val ipAddress: Output<String>? = null

IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.

Link copied to clipboard
val ipv6NexthopAddress: Output<String>? = null

IPv6 address of the interface inside Google Cloud Platform.

Link copied to clipboard
val md5AuthenticationKeyName: Output<String>? = null

Present if MD5 authentication is enabled for the peering. Must be the name of one of the entries in the Router.md5_authentication_keys. The field must comply with RFC1035.

Link copied to clipboard
val name: Output<String>? = null

Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Link copied to clipboard
val peerAsn: Output<Int>? = null

Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

Link copied to clipboard
val peerIpAddress: Output<String>? = null

IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.

Link copied to clipboard
val peerIpv6NexthopAddress: Output<String>? = null

IPv6 address of the BGP interface outside Google Cloud Platform.

Link copied to clipboard
val routerApplianceInstance: Output<String>? = null

URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session.