### YamlMime:JavaType uid: "com.microsoft.azure.management.network.GatewayRoute" fullName: "com.microsoft.azure.management.network.GatewayRoute" name: "GatewayRoute" nameWithType: "GatewayRoute" summary: "Gateway routing details." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **GatewayRoute**" constructors: - uid: "com.microsoft.azure.management.network.GatewayRoute.GatewayRoute()" fullName: "com.microsoft.azure.management.network.GatewayRoute.GatewayRoute()" name: "GatewayRoute()" nameWithType: "GatewayRoute.GatewayRoute()" syntax: "public GatewayRoute()" methods: - uid: "com.microsoft.azure.management.network.GatewayRoute.asPath()" fullName: "com.microsoft.azure.management.network.GatewayRoute.asPath()" name: "asPath()" nameWithType: "GatewayRoute.asPath()" summary: "Get the route's AS path sequence." syntax: "public String asPath()" desc: "Get the route's AS path sequence." returns: description: "the asPath value" type: "" - uid: "com.microsoft.azure.management.network.GatewayRoute.localAddress()" fullName: "com.microsoft.azure.management.network.GatewayRoute.localAddress()" name: "localAddress()" nameWithType: "GatewayRoute.localAddress()" summary: "Get the gateway's local address." syntax: "public String localAddress()" desc: "Get the gateway's local address." returns: description: "the localAddress value" type: "" - uid: "com.microsoft.azure.management.network.GatewayRoute.network()" fullName: "com.microsoft.azure.management.network.GatewayRoute.network()" name: "network()" nameWithType: "GatewayRoute.network()" summary: "Get the route's network prefix." syntax: "public String network()" desc: "Get the route's network prefix." returns: description: "the network value" type: "" - uid: "com.microsoft.azure.management.network.GatewayRoute.nextHop()" fullName: "com.microsoft.azure.management.network.GatewayRoute.nextHop()" name: "nextHop()" nameWithType: "GatewayRoute.nextHop()" summary: "Get the route's next hop." syntax: "public String nextHop()" desc: "Get the route's next hop." returns: description: "the nextHop value" type: "" - uid: "com.microsoft.azure.management.network.GatewayRoute.origin()" fullName: "com.microsoft.azure.management.network.GatewayRoute.origin()" name: "origin()" nameWithType: "GatewayRoute.origin()" summary: "Get the source this route was learned from." syntax: "public String origin()" desc: "Get the source this route was learned from." returns: description: "the origin value" type: "" - uid: "com.microsoft.azure.management.network.GatewayRoute.sourcePeer()" fullName: "com.microsoft.azure.management.network.GatewayRoute.sourcePeer()" name: "sourcePeer()" nameWithType: "GatewayRoute.sourcePeer()" summary: "Get the peer this route was learned from." syntax: "public String sourcePeer()" desc: "Get the peer this route was learned from." returns: description: "the sourcePeer value" type: "" - uid: "com.microsoft.azure.management.network.GatewayRoute.weight()" fullName: "com.microsoft.azure.management.network.GatewayRoute.weight()" name: "weight()" nameWithType: "GatewayRoute.weight()" summary: "Get the route's weight." syntax: "public Integer weight()" desc: "Get the route's weight." returns: description: "the weight value" type: "" type: "class" desc: "Gateway routing details." metadata: {} package: "com.microsoft.azure.management.network" artifact: com.microsoft.azure:azure-mgmt-network:1.41.4