pub struct RouterBgpPeer {
Show 19 fields pub advertise_mode: Option<String>, pub advertised_groups: Option<Vec<String>>, pub advertised_ip_ranges: Option<Vec<RouterAdvertisedIpRange>>, pub advertised_route_priority: Option<u32>, pub bfd: Option<RouterBgpPeerBfd>, pub custom_learned_ip_ranges: Option<Vec<RouterBgpPeerCustomLearnedIpRange>>, pub custom_learned_route_priority: Option<i32>, pub enable: Option<String>, pub enable_ipv6: Option<bool>, pub interface_name: Option<String>, pub ip_address: Option<String>, pub ipv6_nexthop_address: Option<String>, pub management_type: Option<String>, pub md5_authentication_key_name: Option<String>, pub name: Option<String>, pub peer_asn: Option<u32>, pub peer_ip_address: Option<String>, pub peer_ipv6_nexthop_address: Option<String>, pub router_appliance_instance: Option<String>,
}
Expand description

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields§

§advertise_mode: Option<String>

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

§advertised_groups: Option<Vec<String>>

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.

§advertised_ip_ranges: Option<Vec<RouterAdvertisedIpRange>>

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.

§advertised_route_priority: Option<u32>

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.

§bfd: Option<RouterBgpPeerBfd>

BFD configuration for the BGP peering.

§custom_learned_ip_ranges: Option<Vec<RouterBgpPeerCustomLearnedIpRange>>

A list of user-defined custom learned route IP address ranges for a BGP session.

§custom_learned_route_priority: Option<i32>

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.

§enable: Option<String>

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.

§enable_ipv6: Option<bool>

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

§interface_name: Option<String>

Name of the interface the BGP peer is associated with.

§ip_address: Option<String>

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

§ipv6_nexthop_address: Option<String>

IPv6 address of the interface inside Google Cloud Platform.

§management_type: Option<String>

[Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.

§md5_authentication_key_name: Option<String>

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.

§name: Option<String>

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.

§peer_asn: Option<u32>

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

§peer_ip_address: Option<String>

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

§peer_ipv6_nexthop_address: Option<String>

IPv6 address of the BGP interface outside Google Cloud Platform.

§router_appliance_instance: Option<String>

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.

Trait Implementations§

source§

impl Clone for RouterBgpPeer

source§

fn clone(&self) -> RouterBgpPeer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RouterBgpPeer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RouterBgpPeer

source§

fn default() -> RouterBgpPeer

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for RouterBgpPeer

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for RouterBgpPeer

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Part for RouterBgpPeer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,