public sealed class RouteInfo : IMessage<RouteInfo>, IEquatable<RouteInfo>, IDeepCloneable<RouteInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Management v1 API class RouteInfo.
For display only. Metadata associated with a Compute Engine route.
Implements
IMessageRouteInfo, IEquatableRouteInfo, IDeepCloneableRouteInfo, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Constructors
RouteInfo()
public RouteInfo()
RouteInfo(RouteInfo)
public RouteInfo(RouteInfo other)
Parameter | |
---|---|
Name | Description |
other |
RouteInfo |
Properties
AdvertisedRouteNextHopUri
[Obsolete]
public string AdvertisedRouteNextHopUri { get; set; }
For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
Property Value | |
---|---|
Type | Description |
string |
AdvertisedRouteSourceRouterUri
public string AdvertisedRouteSourceRouterUri { get; set; }
For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
Property Value | |
---|---|
Type | Description |
string |
DestIpRange
public string DestIpRange { get; set; }
Destination IP range of the route.
Property Value | |
---|---|
Type | Description |
string |
DestPortRanges
public RepeatedField<string> DestPortRanges { get; }
Destination port ranges of the route. POLICY_BASED routes only.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
DisplayName
public string DisplayName { get; set; }
Name of a route.
Property Value | |
---|---|
Type | Description |
string |
HasAdvertisedRouteNextHopUri
[Obsolete]
public bool HasAdvertisedRouteNextHopUri { get; }
Gets whether the "advertised_route_next_hop_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasAdvertisedRouteSourceRouterUri
public bool HasAdvertisedRouteSourceRouterUri { get; }
Gets whether the "advertised_route_source_router_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasNccHubUri
public bool HasNccHubUri { get; }
Gets whether the "ncc_hub_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasNccSpokeUri
public bool HasNccSpokeUri { get; }
Gets whether the "ncc_spoke_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
InstanceTags
public RepeatedField<string> InstanceTags { get; }
Instance tags of the route.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
NccHubRouteUri
public string NccHubRouteUri { get; set; }
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
Property Value | |
---|---|
Type | Description |
string |
NccHubUri
public string NccHubUri { get; set; }
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
Property Value | |
---|---|
Type | Description |
string |
NccSpokeUri
public string NccSpokeUri { get; set; }
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
Property Value | |
---|---|
Type | Description |
string |
NetworkUri
public string NetworkUri { get; set; }
URI of a VPC network where route is located.
Property Value | |
---|---|
Type | Description |
string |
NextHop
[Obsolete]
public string NextHop { get; set; }
String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
Property Value | |
---|---|
Type | Description |
string |
NextHopNetworkUri
public string NextHopNetworkUri { get; set; }
URI of a VPC network where the next hop resource is located.
Property Value | |
---|---|
Type | Description |
string |
NextHopType
public RouteInfo.Types.NextHopType NextHopType { get; set; }
Type of next hop.
Property Value | |
---|---|
Type | Description |
RouteInfoTypesNextHopType |
NextHopUri
public string NextHopUri { get; set; }
URI of the next hop resource.
Property Value | |
---|---|
Type | Description |
string |
OriginatingRouteDisplayName
public string OriginatingRouteDisplayName { get; set; }
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
Property Value | |
---|---|
Type | Description |
string |
OriginatingRouteUri
public string OriginatingRouteUri { get; set; }
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
Property Value | |
---|---|
Type | Description |
string |
Priority
public int Priority { get; set; }
Priority of the route.
Property Value | |
---|---|
Type | Description |
int |
Protocols
public RepeatedField<string> Protocols { get; }
Protocols of the route. POLICY_BASED routes only.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Region
public string Region { get; set; }
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.
Property Value | |
---|---|
Type | Description |
string |
RouteScope
[Obsolete]
public RouteInfo.Types.RouteScope RouteScope { get; set; }
Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
Property Value | |
---|---|
Type | Description |
RouteInfoTypesRouteScope |
RouteType
public RouteInfo.Types.RouteType RouteType { get; set; }
Type of route.
Property Value | |
---|---|
Type | Description |
RouteInfoTypesRouteType |
SrcIpRange
public string SrcIpRange { get; set; }
Source IP address range of the route. POLICY_BASED routes only.
Property Value | |
---|---|
Type | Description |
string |
SrcPortRanges
public RepeatedField<string> SrcPortRanges { get; }
Source port ranges of the route. POLICY_BASED routes only.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Uri
public string Uri { get; set; }
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
Property Value | |
---|---|
Type | Description |
string |