RouterPeerState constructor

const RouterPeerState({
  1. Input<String?>? advertiseMode,
  2. Input<List<String>?>? advertisedGroups,
  3. Input<List<RouterPeerAdvertisedIpRange>?>? advertisedIpRanges,
  4. Input<int?>? advertisedRoutePriority,
  5. Input<RouterPeerBfd?>? bfd,
  6. Input<List<RouterPeerCustomLearnedIpRange>?>? customLearnedIpRanges,
  7. Input<int?>? customLearnedRoutePriority,
  8. Input<String?>? deletionPolicy,
  9. Input<bool?>? enable,
  10. Input<bool?>? enableIpv4,
  11. Input<bool?>? enableIpv6,
  12. Input<List<String>?>? exportPolicies,
  13. Input<List<String>?>? importPolicies,
  14. Input<String?>? interface,
  15. Input<String?>? ipAddress,
  16. Input<String?>? ipv4NexthopAddress,
  17. Input<String?>? ipv6NexthopAddress,
  18. Input<bool?>? isAdvertisedRoutePrioritySet,
  19. Input<bool?>? isCustomLearnedPrioritySet,
  20. Input<String?>? managementType,
  21. Input<RouterPeerMd5AuthenticationKey?>? md5AuthenticationKey,
  22. Input<String?>? name,
  23. Input<int?>? peerAsn,
  24. Input<String?>? peerIpAddress,
  25. Input<String?>? peerIpv4NexthopAddress,
  26. Input<String?>? peerIpv6NexthopAddress,
  27. Input<String?>? project,
  28. Input<String?>? region,
  29. Input<String?>? router,
  30. Input<String?>? routerApplianceInstance,
  31. Input<bool?>? zeroAdvertisedRoutePriority,
  32. Input<bool?>? zeroCustomLearnedRoutePriority,
})

Creates a new RouterPeerState. advertiseMode User-specified flag to indicate which mode to use for advertisement. advertisedGroups User-specified list of prefix groups to advertise in custom advertisedIpRanges User-specified list of individual IP ranges to advertise in advertisedRoutePriority The priority of routes advertised to this BGP peer. bfd BFD configuration for the BGP peering. customLearnedIpRanges The custom learned route IP address range. Must be a valid CIDR-formatted prefix. customLearnedRoutePriority The user-defined custom learned route priority for a BGP session. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". enable The status of the BGP peer connection. If set to false, any active session enableIpv4 Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. enableIpv6 Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. exportPolicies (Optional, Beta) importPolicies (Optional, Beta) interface Name of the interface the BGP peer is associated with. ipAddress IP address of the interface inside Google Cloud Platform. ipv4NexthopAddress IPv4 address of the interface inside Google Cloud Platform. ipv6NexthopAddress IPv6 address of the interface inside Google Cloud Platform. isAdvertisedRoutePrioritySet An internal boolean field for provider use for zero_advertised_route_priority. isCustomLearnedPrioritySet An internal boolean field for provider use. managementType The resource that configures and manages this BGP peer. md5AuthenticationKey Configuration for MD5 authentication on the BGP session. name Name of this BGP peer. The name must be 1-63 characters long, peerAsn Peer BGP Autonomous System Number (ASN). peerIpAddress IP address of the BGP interface outside Google Cloud Platform. peerIpv4NexthopAddress IPv4 address of the BGP interface outside Google Cloud Platform. peerIpv6NexthopAddress IPv6 address of the BGP interface outside Google Cloud Platform. project The ID of the project in which the resource belongs. region Region where the router and BgpPeer reside. router The name of the Cloud Router in which this BgpPeer will be configured. routerApplianceInstance The URI of the VM instance that is used as third-party router appliances zeroAdvertisedRoutePriority The user-defined zero-advertised-route-priority for a advertised-route-priority in BGP session. zeroCustomLearnedRoutePriority The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.

Implementation

const RouterPeerState({
  this.advertiseMode,
  this.advertisedGroups,
  this.advertisedIpRanges,
  this.advertisedRoutePriority,
  this.bfd,
  this.customLearnedIpRanges,
  this.customLearnedRoutePriority,
  this.deletionPolicy,
  this.enable,
  this.enableIpv4,
  this.enableIpv6,
  this.exportPolicies,
  this.importPolicies,
  this.interface,
  this.ipAddress,
  this.ipv4NexthopAddress,
  this.ipv6NexthopAddress,
  this.isAdvertisedRoutePrioritySet,
  this.isCustomLearnedPrioritySet,
  this.managementType,
  this.md5AuthenticationKey,
  this.name,
  this.peerAsn,
  this.peerIpAddress,
  this.peerIpv4NexthopAddress,
  this.peerIpv6NexthopAddress,
  this.project,
  this.region,
  this.router,
  this.routerApplianceInstance,
  this.zeroAdvertisedRoutePriority,
  this.zeroCustomLearnedRoutePriority,
});