public sealed class NetworkRoutingConfig : IMessage<NetworkRoutingConfig>, IEquatable<NetworkRoutingConfig>, IDeepCloneable<NetworkRoutingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class NetworkRoutingConfig.
A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.
Implements
IMessageNetworkRoutingConfig, IEquatableNetworkRoutingConfig, IDeepCloneableNetworkRoutingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NetworkRoutingConfig()
public NetworkRoutingConfig()
NetworkRoutingConfig(NetworkRoutingConfig)
public NetworkRoutingConfig(NetworkRoutingConfig other)
Parameter | |
---|---|
Name | Description |
other |
NetworkRoutingConfig |
Properties
BgpAlwaysCompareMed
public bool BgpAlwaysCompareMed { get; set; }
Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.
Property Value | |
---|---|
Type | Description |
bool |
BgpBestPathSelectionMode
public string BgpBestPathSelectionMode { get; set; }
The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |
BgpInterRegionCost
public string BgpInterRegionCost { get; set; }
Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |
HasBgpAlwaysCompareMed
public bool HasBgpAlwaysCompareMed { get; }
Gets whether the "bgp_always_compare_med" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasBgpBestPathSelectionMode
public bool HasBgpBestPathSelectionMode { get; }
Gets whether the "bgp_best_path_selection_mode" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasBgpInterRegionCost
public bool HasBgpInterRegionCost { get; }
Gets whether the "bgp_inter_region_cost" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRoutingMode
public bool HasRoutingMode { get; }
Gets whether the "routing_mode" field is set
Property Value | |
---|---|
Type | Description |
bool |
RoutingMode
public string RoutingMode { get; set; }
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |