Class ExpressRouteCircuitPeeringConfig

java.lang.Object
com.microsoft.azure.management.network.ExpressRouteCircuitPeeringConfig

public class ExpressRouteCircuitPeeringConfig extends Object
Specifies the peering configuration.
  • Constructor Details

    • ExpressRouteCircuitPeeringConfig

      public ExpressRouteCircuitPeeringConfig()
  • Method Details

    • advertisedPublicPrefixes

      public List<String> advertisedPublicPrefixes()
      Get the reference to AdvertisedPublicPrefixes.
      Returns:
      the advertisedPublicPrefixes value
    • withAdvertisedPublicPrefixes

      public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
      Set the reference to AdvertisedPublicPrefixes.
      Parameters:
      advertisedPublicPrefixes - the advertisedPublicPrefixes value to set
      Returns:
      the ExpressRouteCircuitPeeringConfig object itself.
    • advertisedCommunities

      public List<String> advertisedCommunities()
      Get the communities of bgp peering. Specified for microsoft peering.
      Returns:
      the advertisedCommunities value
    • withAdvertisedCommunities

      public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List<String> advertisedCommunities)
      Set the communities of bgp peering. Specified for microsoft peering.
      Parameters:
      advertisedCommunities - the advertisedCommunities value to set
      Returns:
      the ExpressRouteCircuitPeeringConfig object itself.
    • advertisedPublicPrefixesState

      public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()
      Get the advertised public prefix state of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'.
      Returns:
      the advertisedPublicPrefixesState value
    • legacyMode

      public Integer legacyMode()
      Get the legacy mode of the peering.
      Returns:
      the legacyMode value
    • withLegacyMode

      public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)
      Set the legacy mode of the peering.
      Parameters:
      legacyMode - the legacyMode value to set
      Returns:
      the ExpressRouteCircuitPeeringConfig object itself.
    • customerASN

      public Integer customerASN()
      Get the CustomerASN of the peering.
      Returns:
      the customerASN value
    • withCustomerASN

      public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)
      Set the CustomerASN of the peering.
      Parameters:
      customerASN - the customerASN value to set
      Returns:
      the ExpressRouteCircuitPeeringConfig object itself.
    • routingRegistryName

      public String routingRegistryName()
      Get the RoutingRegistryName of the configuration.
      Returns:
      the routingRegistryName value
    • withRoutingRegistryName

      public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)
      Set the RoutingRegistryName of the configuration.
      Parameters:
      routingRegistryName - the routingRegistryName value to set
      Returns:
      the ExpressRouteCircuitPeeringConfig object itself.