Class Ipv6ExpressRouteCircuitPeeringConfig

java.lang.Object
com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig

public final class Ipv6ExpressRouteCircuitPeeringConfig extends Object
Contains IPv6 peering config.
  • Constructor Details

    • Ipv6ExpressRouteCircuitPeeringConfig

      public Ipv6ExpressRouteCircuitPeeringConfig()
      Creates an instance of Ipv6ExpressRouteCircuitPeeringConfig class.
  • Method Details

    • primaryPeerAddressPrefix

      public String primaryPeerAddressPrefix()
      Get the primaryPeerAddressPrefix property: The primary address prefix.
      Returns:
      the primaryPeerAddressPrefix value.
    • withPrimaryPeerAddressPrefix

      public Ipv6ExpressRouteCircuitPeeringConfig withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)
      Set the primaryPeerAddressPrefix property: The primary address prefix.
      Parameters:
      primaryPeerAddressPrefix - the primaryPeerAddressPrefix value to set.
      Returns:
      the Ipv6ExpressRouteCircuitPeeringConfig object itself.
    • secondaryPeerAddressPrefix

      public String secondaryPeerAddressPrefix()
      Get the secondaryPeerAddressPrefix property: The secondary address prefix.
      Returns:
      the secondaryPeerAddressPrefix value.
    • withSecondaryPeerAddressPrefix

      public Ipv6ExpressRouteCircuitPeeringConfig withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)
      Set the secondaryPeerAddressPrefix property: The secondary address prefix.
      Parameters:
      secondaryPeerAddressPrefix - the secondaryPeerAddressPrefix value to set.
      Returns:
      the Ipv6ExpressRouteCircuitPeeringConfig object itself.
    • microsoftPeeringConfig

      public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()
      Get the microsoftPeeringConfig property: The Microsoft peering configuration.
      Returns:
      the microsoftPeeringConfig value.
    • withMicrosoftPeeringConfig

      public Ipv6ExpressRouteCircuitPeeringConfig withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)
      Set the microsoftPeeringConfig property: The Microsoft peering configuration.
      Parameters:
      microsoftPeeringConfig - the microsoftPeeringConfig value to set.
      Returns:
      the Ipv6ExpressRouteCircuitPeeringConfig object itself.
    • routeFilter

      public com.azure.core.management.SubResource routeFilter()
      Get the routeFilter property: The reference to the RouteFilter resource.
      Returns:
      the routeFilter value.
    • withRouteFilter

      public Ipv6ExpressRouteCircuitPeeringConfig withRouteFilter(com.azure.core.management.SubResource routeFilter)
      Set the routeFilter property: The reference to the RouteFilter resource.
      Parameters:
      routeFilter - the routeFilter value to set.
      Returns:
      the Ipv6ExpressRouteCircuitPeeringConfig object itself.
    • state

      Get the state property: The state of peering.
      Returns:
      the state value.
    • withState

      Set the state property: The state of peering.
      Parameters:
      state - the state value to set.
      Returns:
      the Ipv6ExpressRouteCircuitPeeringConfig object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.