Class RouterBgpPeer (2.0.0)

public sealed class RouterBgpPeer : IMessage<RouterBgpPeer>, IEquatable<RouterBgpPeer>, IDeepCloneable<RouterBgpPeer>, IBufferMessage, IMessage

Inheritance

Object > RouterBgpPeer

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RouterBgpPeer()

public RouterBgpPeer()

RouterBgpPeer(RouterBgpPeer)

public RouterBgpPeer(RouterBgpPeer other)
Parameter
NameDescription
otherRouterBgpPeer

Properties

AdvertisedGroups

public RepeatedField<string> AdvertisedGroups { get; }

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. 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. Check the AdvertisedGroups enum for the list of possible values.

Property Value
TypeDescription
RepeatedField<String>

AdvertisedIpRanges

public RepeatedField<RouterAdvertisedIpRange> AdvertisedIpRanges { get; }

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.

Property Value
TypeDescription
RepeatedField<RouterAdvertisedIpRange>

AdvertisedRoutePriority

public uint AdvertisedRoutePriority { get; set; }

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.

Property Value
TypeDescription
UInt32

AdvertiseMode

public string AdvertiseMode { get; set; }

User-specified flag to indicate which mode to use for advertisement. Check the AdvertiseMode enum for the list of possible values.

Property Value
TypeDescription
String

Bfd

public RouterBgpPeerBfd Bfd { get; set; }

BFD configuration for the BGP peering.

Property Value
TypeDescription
RouterBgpPeerBfd

Enable

public string Enable { get; set; }

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. Check the Enable enum for the list of possible values.

Property Value
TypeDescription
String

EnableIpv6

public bool EnableIpv6 { get; set; }

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

Property Value
TypeDescription
Boolean

HasAdvertisedRoutePriority

public bool HasAdvertisedRoutePriority { get; }

Gets whether the "advertised_route_priority" field is set

Property Value
TypeDescription
Boolean

HasAdvertiseMode

public bool HasAdvertiseMode { get; }

Gets whether the "advertise_mode" field is set

Property Value
TypeDescription
Boolean

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
TypeDescription
Boolean

HasEnableIpv6

public bool HasEnableIpv6 { get; }

Gets whether the "enable_ipv6" field is set

Property Value
TypeDescription
Boolean

HasInterfaceName

public bool HasInterfaceName { get; }

Gets whether the "interface_name" field is set

Property Value
TypeDescription
Boolean

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
TypeDescription
Boolean

HasIpv6NexthopAddress

public bool HasIpv6NexthopAddress { get; }

Gets whether the "ipv6_nexthop_address" field is set

Property Value
TypeDescription
Boolean

HasManagementType

public bool HasManagementType { get; }

Gets whether the "management_type" field is set

Property Value
TypeDescription
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasPeerAsn

public bool HasPeerAsn { get; }

Gets whether the "peer_asn" field is set

Property Value
TypeDescription
Boolean

HasPeerIpAddress

public bool HasPeerIpAddress { get; }

Gets whether the "peer_ip_address" field is set

Property Value
TypeDescription
Boolean

HasPeerIpv6NexthopAddress

public bool HasPeerIpv6NexthopAddress { get; }

Gets whether the "peer_ipv6_nexthop_address" field is set

Property Value
TypeDescription
Boolean

HasRouterApplianceInstance

public bool HasRouterApplianceInstance { get; }

Gets whether the "router_appliance_instance" field is set

Property Value
TypeDescription
Boolean

InterfaceName

public string InterfaceName { get; set; }

Name of the interface the BGP peer is associated with.

Property Value
TypeDescription
String

IpAddress

public string IpAddress { get; set; }

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

Property Value
TypeDescription
String

Ipv6NexthopAddress

public string Ipv6NexthopAddress { get; set; }

IPv6 address of the interface inside Google Cloud Platform.

Property Value
TypeDescription
String

ManagementType

public string ManagementType { get; set; }

[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. Check the ManagementType enum for the list of possible values.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
String

PeerAsn

public uint PeerAsn { get; set; }

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

Property Value
TypeDescription
UInt32

PeerIpAddress

public string PeerIpAddress { get; set; }

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

Property Value
TypeDescription
String

PeerIpv6NexthopAddress

public string PeerIpv6NexthopAddress { get; set; }

IPv6 address of the BGP interface outside Google Cloud Platform.

Property Value
TypeDescription
String

RouterApplianceInstance

public string RouterApplianceInstance { get; set; }

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.

Property Value
TypeDescription
String