Class ExpressRouteConnectionProperties

java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteConnectionProperties>

public final class ExpressRouteConnectionProperties extends Object implements com.azure.json.JsonSerializable<ExpressRouteConnectionProperties>
Properties of the ExpressRouteConnection subresource.
  • Constructor Details

    • ExpressRouteConnectionProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the express route connection resource.
      Returns:
      the provisioningState value.
    • expressRouteCircuitPeering

      public ExpressRouteCircuitPeeringId expressRouteCircuitPeering()
      Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.
      Returns:
      the expressRouteCircuitPeering value.
    • withExpressRouteCircuitPeering

      public ExpressRouteConnectionProperties withExpressRouteCircuitPeering(ExpressRouteCircuitPeeringId expressRouteCircuitPeering)
      Set the expressRouteCircuitPeering property: The ExpressRoute circuit peering.
      Parameters:
      expressRouteCircuitPeering - the expressRouteCircuitPeering value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • authorizationKey

      public String authorizationKey()
      Get the authorizationKey property: Authorization key to establish the connection.
      Returns:
      the authorizationKey value.
    • withAuthorizationKey

      public ExpressRouteConnectionProperties withAuthorizationKey(String authorizationKey)
      Set the authorizationKey property: Authorization key to establish the connection.
      Parameters:
      authorizationKey - the authorizationKey value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • routingWeight

      public Integer routingWeight()
      Get the routingWeight property: The routing weight associated to the connection.
      Returns:
      the routingWeight value.
    • withRoutingWeight

      public ExpressRouteConnectionProperties withRoutingWeight(Integer routingWeight)
      Set the routingWeight property: The routing weight associated to the connection.
      Parameters:
      routingWeight - the routingWeight value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • enableInternetSecurity

      public Boolean enableInternetSecurity()
      Get the enableInternetSecurity property: Enable internet security.
      Returns:
      the enableInternetSecurity value.
    • withEnableInternetSecurity

      public ExpressRouteConnectionProperties withEnableInternetSecurity(Boolean enableInternetSecurity)
      Set the enableInternetSecurity property: Enable internet security.
      Parameters:
      enableInternetSecurity - the enableInternetSecurity value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • expressRouteGatewayBypass

      public Boolean expressRouteGatewayBypass()
      Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.
      Returns:
      the expressRouteGatewayBypass value.
    • withExpressRouteGatewayBypass

      public ExpressRouteConnectionProperties withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)
      Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.
      Parameters:
      expressRouteGatewayBypass - the expressRouteGatewayBypass value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • enablePrivateLinkFastPath

      public Boolean enablePrivateLinkFastPath()
      Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
      Returns:
      the enablePrivateLinkFastPath value.
    • withEnablePrivateLinkFastPath

      public ExpressRouteConnectionProperties withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)
      Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
      Parameters:
      enablePrivateLinkFastPath - the enablePrivateLinkFastPath value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • routingConfiguration

      public RoutingConfiguration routingConfiguration()
      Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
      Returns:
      the routingConfiguration value.
    • withRoutingConfiguration

      public ExpressRouteConnectionProperties withRoutingConfiguration(RoutingConfiguration routingConfiguration)
      Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
      Parameters:
      routingConfiguration - the routingConfiguration value to set.
      Returns:
      the ExpressRouteConnectionProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ExpressRouteConnectionProperties>
      Throws:
      IOException
    • fromJson

      public static ExpressRouteConnectionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExpressRouteConnectionProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExpressRouteConnectionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ExpressRouteConnectionProperties.