[][src]Struct google_compute1::RouterBgpPeer

pub struct RouterBgpPeer {
    pub advertised_route_priority: Option<u32>,
    pub interface_name: Option<String>,
    pub advertise_mode: Option<String>,
    pub peer_ip_address: Option<String>,
    pub peer_asn: Option<u32>,
    pub advertised_groups: Option<Vec<String>>,
    pub advertised_ip_ranges: Option<Vec<RouterAdvertisedIpRange>>,
    pub management_type: Option<String>,
    pub ip_address: Option<String>,
    pub name: Option<String>,
}

There is no detailed description.

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

Fields

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.

interface_name: Option<String>

Name of the interface the BGP peer is associated with.

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

peer_ip_address: Option<String>

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

peer_asn: Option<u32>

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

advertised_groups: Option<Vec<String>>

User-specified list of prefix groups to advertise in custom mode, which can take one of the following options:

  • ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.
  • ALL_VPC_SUBNETS: Advertises the router's own VPC subnets.
  • ALL_PEER_VPC_SUBNETS: Advertises peer subnets of the router's VPC network. 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.

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.
ip_address: Option<String>

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

name: Option<String>

Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035.

Trait Implementations

impl Part for RouterBgpPeer[src]

impl Clone for RouterBgpPeer[src]

impl Default for RouterBgpPeer[src]

impl Debug for RouterBgpPeer[src]

impl Serialize for RouterBgpPeer[src]

impl<'de> Deserialize<'de> for RouterBgpPeer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

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