Class PeerExpressRouteCircuitConnectionPropertiesFormat

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

public final class PeerExpressRouteCircuitConnectionPropertiesFormat extends Object implements com.azure.json.JsonSerializable<PeerExpressRouteCircuitConnectionPropertiesFormat>
Properties of the peer express route circuit connection.
  • Constructor Details

    • PeerExpressRouteCircuitConnectionPropertiesFormat

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

    • expressRouteCircuitPeering

      public com.azure.core.management.SubResource expressRouteCircuitPeering()
      Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.
      Returns:
      the expressRouteCircuitPeering value.
    • withExpressRouteCircuitPeering

      public PeerExpressRouteCircuitConnectionPropertiesFormat withExpressRouteCircuitPeering(com.azure.core.management.SubResource expressRouteCircuitPeering)
      Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.
      Parameters:
      expressRouteCircuitPeering - the expressRouteCircuitPeering value to set.
      Returns:
      the PeerExpressRouteCircuitConnectionPropertiesFormat object itself.
    • peerExpressRouteCircuitPeering

      public com.azure.core.management.SubResource peerExpressRouteCircuitPeering()
      Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
      Returns:
      the peerExpressRouteCircuitPeering value.
    • withPeerExpressRouteCircuitPeering

      public PeerExpressRouteCircuitConnectionPropertiesFormat withPeerExpressRouteCircuitPeering(com.azure.core.management.SubResource peerExpressRouteCircuitPeering)
      Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
      Parameters:
      peerExpressRouteCircuitPeering - the peerExpressRouteCircuitPeering value to set.
      Returns:
      the PeerExpressRouteCircuitConnectionPropertiesFormat object itself.
    • addressPrefix

      public String addressPrefix()
      Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.
      Returns:
      the addressPrefix value.
    • withAddressPrefix

      public PeerExpressRouteCircuitConnectionPropertiesFormat withAddressPrefix(String addressPrefix)
      Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.
      Parameters:
      addressPrefix - the addressPrefix value to set.
      Returns:
      the PeerExpressRouteCircuitConnectionPropertiesFormat object itself.
    • circuitConnectionStatus

      public CircuitConnectionStatus circuitConnectionStatus()
      Get the circuitConnectionStatus property: Express Route Circuit connection state.
      Returns:
      the circuitConnectionStatus value.
    • connectionName

      public String connectionName()
      Get the connectionName property: The name of the express route circuit connection resource.
      Returns:
      the connectionName value.
    • withConnectionName

      public PeerExpressRouteCircuitConnectionPropertiesFormat withConnectionName(String connectionName)
      Set the connectionName property: The name of the express route circuit connection resource.
      Parameters:
      connectionName - the connectionName value to set.
      Returns:
      the PeerExpressRouteCircuitConnectionPropertiesFormat object itself.
    • authResourceGuid

      public String authResourceGuid()
      Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.
      Returns:
      the authResourceGuid value.
    • withAuthResourceGuid

      public PeerExpressRouteCircuitConnectionPropertiesFormat withAuthResourceGuid(String authResourceGuid)
      Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.
      Parameters:
      authResourceGuid - the authResourceGuid value to set.
      Returns:
      the PeerExpressRouteCircuitConnectionPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the peer express route circuit connection resource.
      Returns:
      the provisioningState value.
    • 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<PeerExpressRouteCircuitConnectionPropertiesFormat>
      Throws:
      IOException
    • fromJson

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