pub struct RouterPeerArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RouterPeerArgsBuilder<S>
impl<S: State> RouterPeerArgsBuilder<S>
sourcepub fn build_struct(self) -> RouterPeerArgswhere
S: IsComplete,
pub fn build_struct(self) -> RouterPeerArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn advertise_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetAdvertiseMode<S>>where
S::AdvertiseMode: IsUnset,
pub fn advertise_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetAdvertiseMode<S>>where
S::AdvertiseMode: IsUnset,
sourcepub fn maybe_advertise_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetAdvertiseMode<S>>where
S::AdvertiseMode: IsUnset,
pub fn maybe_advertise_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetAdvertiseMode<S>>where
S::AdvertiseMode: IsUnset,
sourcepub fn advertised_groups(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedGroups<S>>where
S::AdvertisedGroups: IsUnset,
pub fn advertised_groups(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedGroups<S>>where
S::AdvertisedGroups: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
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 advertiseMode 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.
sourcepub fn maybe_advertised_groups(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedGroups<S>>where
S::AdvertisedGroups: IsUnset,
pub fn maybe_advertised_groups(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedGroups<S>>where
S::AdvertisedGroups: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
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 advertiseMode 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.
sourcepub fn advertised_ip_ranges(
self,
value: impl Into<Output<Option<Vec<RouterPeerAdvertisedIpRange>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedIpRanges<S>>where
S::AdvertisedIpRanges: IsUnset,
pub fn advertised_ip_ranges(
self,
value: impl Into<Output<Option<Vec<RouterPeerAdvertisedIpRange>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedIpRanges<S>>where
S::AdvertisedIpRanges: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RouterPeerAdvertisedIpRange>>,
> as Default>::default()
User-specified list of individual IP ranges to advertise in
custom mode. This field can only be populated if advertiseMode
is CUSTOM
and is advertised to all peers of the router. These IP
ranges will be advertised in addition to any specified groups.
Leave this field blank to advertise no custom IP ranges.
Structure is documented below.
sourcepub fn maybe_advertised_ip_ranges(
self,
value: Option<impl Into<Output<Option<Vec<RouterPeerAdvertisedIpRange>>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedIpRanges<S>>where
S::AdvertisedIpRanges: IsUnset,
pub fn maybe_advertised_ip_ranges(
self,
value: Option<impl Into<Output<Option<Vec<RouterPeerAdvertisedIpRange>>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedIpRanges<S>>where
S::AdvertisedIpRanges: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RouterPeerAdvertisedIpRange>>,
> as Default>::default()
User-specified list of individual IP ranges to advertise in
custom mode. This field can only be populated if advertiseMode
is CUSTOM
and is advertised to all peers of the router. These IP
ranges will be advertised in addition to any specified groups.
Leave this field blank to advertise no custom IP ranges.
Structure is documented below.
sourcepub fn advertised_route_priority(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedRoutePriority<S>>where
S::AdvertisedRoutePriority: IsUnset,
pub fn advertised_route_priority(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedRoutePriority<S>>where
S::AdvertisedRoutePriority: IsUnset,
sourcepub fn maybe_advertised_route_priority(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedRoutePriority<S>>where
S::AdvertisedRoutePriority: IsUnset,
pub fn maybe_advertised_route_priority(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterPeerArgsBuilder<SetAdvertisedRoutePriority<S>>where
S::AdvertisedRoutePriority: IsUnset,
sourcepub fn bfd(
self,
value: impl Into<Output<Option<RouterPeerBfd>>>,
) -> RouterPeerArgsBuilder<SetBfd<S>>where
S::Bfd: IsUnset,
pub fn bfd(
self,
value: impl Into<Output<Option<RouterPeerBfd>>>,
) -> RouterPeerArgsBuilder<SetBfd<S>>where
S::Bfd: IsUnset,
sourcepub fn maybe_bfd(
self,
value: Option<impl Into<Output<Option<RouterPeerBfd>>>>,
) -> RouterPeerArgsBuilder<SetBfd<S>>where
S::Bfd: IsUnset,
pub fn maybe_bfd(
self,
value: Option<impl Into<Output<Option<RouterPeerBfd>>>>,
) -> RouterPeerArgsBuilder<SetBfd<S>>where
S::Bfd: IsUnset,
sourcepub fn custom_learned_ip_ranges(
self,
value: impl Into<Output<Option<Vec<RouterPeerCustomLearnedIpRange>>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedIpRanges<S>>where
S::CustomLearnedIpRanges: IsUnset,
pub fn custom_learned_ip_ranges(
self,
value: impl Into<Output<Option<Vec<RouterPeerCustomLearnedIpRange>>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedIpRanges<S>>where
S::CustomLearnedIpRanges: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RouterPeerCustomLearnedIpRange>>,
> as Default>::default()
The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128. Structure is documented below.
sourcepub fn maybe_custom_learned_ip_ranges(
self,
value: Option<impl Into<Output<Option<Vec<RouterPeerCustomLearnedIpRange>>>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedIpRanges<S>>where
S::CustomLearnedIpRanges: IsUnset,
pub fn maybe_custom_learned_ip_ranges(
self,
value: Option<impl Into<Output<Option<Vec<RouterPeerCustomLearnedIpRange>>>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedIpRanges<S>>where
S::CustomLearnedIpRanges: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RouterPeerCustomLearnedIpRange>>,
> as Default>::default()
The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128. Structure is documented below.
sourcepub fn custom_learned_route_priority(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedRoutePriority<S>>where
S::CustomLearnedRoutePriority: IsUnset,
pub fn custom_learned_route_priority(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedRoutePriority<S>>where
S::CustomLearnedRoutePriority: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The user-defined custom learned route priority for a BGP session. This value is applied to all custom learned route ranges for the session. You can choose a value from 0 to 65335. If you don’t provide a value, Google Cloud assigns a priority of 100 to the ranges.
sourcepub fn maybe_custom_learned_route_priority(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedRoutePriority<S>>where
S::CustomLearnedRoutePriority: IsUnset,
pub fn maybe_custom_learned_route_priority(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterPeerArgsBuilder<SetCustomLearnedRoutePriority<S>>where
S::CustomLearnedRoutePriority: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The user-defined custom learned route priority for a BGP session. This value is applied to all custom learned route ranges for the session. You can choose a value from 0 to 65335. If you don’t provide a value, Google Cloud assigns a priority of 100 to the ranges.
sourcepub fn enable(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterPeerArgsBuilder<SetEnable<S>>where
S::Enable: IsUnset,
pub fn enable(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterPeerArgsBuilder<SetEnable<S>>where
S::Enable: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn maybe_enable(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterPeerArgsBuilder<SetEnable<S>>where
S::Enable: IsUnset,
pub fn maybe_enable(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterPeerArgsBuilder<SetEnable<S>>where
S::Enable: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn enable_ipv4(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv4<S>>where
S::EnableIpv4: IsUnset,
pub fn enable_ipv4(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv4<S>>where
S::EnableIpv4: IsUnset,
sourcepub fn maybe_enable_ipv4(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv4<S>>where
S::EnableIpv4: IsUnset,
pub fn maybe_enable_ipv4(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv4<S>>where
S::EnableIpv4: IsUnset,
sourcepub fn enable_ipv6(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv6<S>>where
S::EnableIpv6: IsUnset,
pub fn enable_ipv6(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv6<S>>where
S::EnableIpv6: IsUnset,
sourcepub fn maybe_enable_ipv6(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv6<S>>where
S::EnableIpv6: IsUnset,
pub fn maybe_enable_ipv6(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterPeerArgsBuilder<SetEnableIpv6<S>>where
S::EnableIpv6: IsUnset,
sourcepub fn export_policies(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterPeerArgsBuilder<SetExportPolicies<S>>where
S::ExportPolicies: IsUnset,
pub fn export_policies(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterPeerArgsBuilder<SetExportPolicies<S>>where
S::ExportPolicies: IsUnset,
sourcepub fn maybe_export_policies(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterPeerArgsBuilder<SetExportPolicies<S>>where
S::ExportPolicies: IsUnset,
pub fn maybe_export_policies(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterPeerArgsBuilder<SetExportPolicies<S>>where
S::ExportPolicies: IsUnset,
sourcepub fn import_policies(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterPeerArgsBuilder<SetImportPolicies<S>>where
S::ImportPolicies: IsUnset,
pub fn import_policies(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterPeerArgsBuilder<SetImportPolicies<S>>where
S::ImportPolicies: IsUnset,
sourcepub fn maybe_import_policies(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterPeerArgsBuilder<SetImportPolicies<S>>where
S::ImportPolicies: IsUnset,
pub fn maybe_import_policies(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterPeerArgsBuilder<SetImportPolicies<S>>where
S::ImportPolicies: IsUnset,
sourcepub fn interface(
self,
value: impl Into<Output<String>>,
) -> RouterPeerArgsBuilder<SetInterface<S>>where
S::Interface: IsUnset,
pub fn interface(
self,
value: impl Into<Output<String>>,
) -> RouterPeerArgsBuilder<SetInterface<S>>where
S::Interface: IsUnset,
Required.
Name of the interface the BGP peer is associated with.
sourcepub fn ip_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetIpAddress<S>>where
S::IpAddress: IsUnset,
pub fn ip_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetIpAddress<S>>where
S::IpAddress: IsUnset,
sourcepub fn maybe_ip_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetIpAddress<S>>where
S::IpAddress: IsUnset,
pub fn maybe_ip_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetIpAddress<S>>where
S::IpAddress: IsUnset,
sourcepub fn ipv4_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetIpv4NexthopAddress<S>>where
S::Ipv4NexthopAddress: IsUnset,
pub fn ipv4_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetIpv4NexthopAddress<S>>where
S::Ipv4NexthopAddress: IsUnset,
sourcepub fn maybe_ipv4_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetIpv4NexthopAddress<S>>where
S::Ipv4NexthopAddress: IsUnset,
pub fn maybe_ipv4_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetIpv4NexthopAddress<S>>where
S::Ipv4NexthopAddress: IsUnset,
sourcepub fn ipv6_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetIpv6NexthopAddress<S>>where
S::Ipv6NexthopAddress: IsUnset,
pub fn ipv6_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetIpv6NexthopAddress<S>>where
S::Ipv6NexthopAddress: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
IPv6 address of the interface inside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
sourcepub fn maybe_ipv6_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetIpv6NexthopAddress<S>>where
S::Ipv6NexthopAddress: IsUnset,
pub fn maybe_ipv6_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetIpv6NexthopAddress<S>>where
S::Ipv6NexthopAddress: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
IPv6 address of the interface inside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
sourcepub fn md5_authentication_key(
self,
value: impl Into<Output<Option<RouterPeerMd5AuthenticationKey>>>,
) -> RouterPeerArgsBuilder<SetMd5AuthenticationKey<S>>where
S::Md5AuthenticationKey: IsUnset,
pub fn md5_authentication_key(
self,
value: impl Into<Output<Option<RouterPeerMd5AuthenticationKey>>>,
) -> RouterPeerArgsBuilder<SetMd5AuthenticationKey<S>>where
S::Md5AuthenticationKey: IsUnset,
sourcepub fn maybe_md5_authentication_key(
self,
value: Option<impl Into<Output<Option<RouterPeerMd5AuthenticationKey>>>>,
) -> RouterPeerArgsBuilder<SetMd5AuthenticationKey<S>>where
S::Md5AuthenticationKey: IsUnset,
pub fn maybe_md5_authentication_key(
self,
value: Option<impl Into<Output<Option<RouterPeerMd5AuthenticationKey>>>>,
) -> RouterPeerArgsBuilder<SetMd5AuthenticationKey<S>>where
S::Md5AuthenticationKey: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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?
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.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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?
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.
sourcepub fn peer_asn(
self,
value: impl Into<Output<i32>>,
) -> RouterPeerArgsBuilder<SetPeerAsn<S>>where
S::PeerAsn: IsUnset,
pub fn peer_asn(
self,
value: impl Into<Output<i32>>,
) -> RouterPeerArgsBuilder<SetPeerAsn<S>>where
S::PeerAsn: IsUnset,
Required.
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
sourcepub fn peer_ip_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetPeerIpAddress<S>>where
S::PeerIpAddress: IsUnset,
pub fn peer_ip_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetPeerIpAddress<S>>where
S::PeerIpAddress: IsUnset,
sourcepub fn maybe_peer_ip_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetPeerIpAddress<S>>where
S::PeerIpAddress: IsUnset,
pub fn maybe_peer_ip_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetPeerIpAddress<S>>where
S::PeerIpAddress: IsUnset,
sourcepub fn peer_ipv4_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv4NexthopAddress<S>>where
S::PeerIpv4NexthopAddress: IsUnset,
pub fn peer_ipv4_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv4NexthopAddress<S>>where
S::PeerIpv4NexthopAddress: IsUnset,
sourcepub fn maybe_peer_ipv4_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv4NexthopAddress<S>>where
S::PeerIpv4NexthopAddress: IsUnset,
pub fn maybe_peer_ipv4_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv4NexthopAddress<S>>where
S::PeerIpv4NexthopAddress: IsUnset,
sourcepub fn peer_ipv6_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv6NexthopAddress<S>>where
S::PeerIpv6NexthopAddress: IsUnset,
pub fn peer_ipv6_nexthop_address(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv6NexthopAddress<S>>where
S::PeerIpv6NexthopAddress: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
IPv6 address of the BGP interface outside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
sourcepub fn maybe_peer_ipv6_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv6NexthopAddress<S>>where
S::PeerIpv6NexthopAddress: IsUnset,
pub fn maybe_peer_ipv6_nexthop_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetPeerIpv6NexthopAddress<S>>where
S::PeerIpv6NexthopAddress: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
IPv6 address of the BGP interface outside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterPeerArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
pub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterPeerArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
Required.
The name of the Cloud Router in which this BgpPeer will be configured.
sourcepub fn router_appliance_instance(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetRouterApplianceInstance<S>>where
S::RouterApplianceInstance: IsUnset,
pub fn router_appliance_instance(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterPeerArgsBuilder<SetRouterApplianceInstance<S>>where
S::RouterApplianceInstance: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The 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.
sourcepub fn maybe_router_appliance_instance(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetRouterApplianceInstance<S>>where
S::RouterApplianceInstance: IsUnset,
pub fn maybe_router_appliance_instance(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterPeerArgsBuilder<SetRouterApplianceInstance<S>>where
S::RouterApplianceInstance: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The 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.