Interface Route

All Superinterfaces:
ChildResource<RouteTable>, HasInnerModel<RouteInner>, HasName, HasParent<RouteTable>, Indexable

public interface Route extends HasInnerModel<RouteInner>, ChildResource<RouteTable>
An immutable client-side representation of a route of a route table.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of a route definition.
    static interface 
    Grouping of route definition stages.
    static interface 
    The entirety of a route update as part of a route table update.
    static interface 
    The entirety of a route definition as part of a route table update.
    static interface 
    Grouping of route definition stages applicable as part of a route table update.
    static interface 
    Grouping of route update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the destination address prefix.
    Gets the IP address of the next hop.
    Gets the type of the next hop.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent

    parent

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key
  • Method Details

    • destinationAddressPrefix

      String destinationAddressPrefix()
      Gets the destination address prefix.
      Returns:
      the destination address prefix, expressed using the CIDR notation, to which the route applies
    • nextHopType

      RouteNextHopType nextHopType()
      Gets the type of the next hop.
      Returns:
      the type of the next hop
    • nextHopIpAddress

      String nextHopIpAddress()
      Gets the IP address of the next hop.
      Returns:
      the IP address of the next hop