Class ExpressRouteCircuitConnectionPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitConnectionPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteCircuitConnectionPropertiesFormat>
public final class ExpressRouteCircuitConnectionPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ExpressRouteCircuitConnectionPropertiesFormat>
Properties of the express route circuit connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteCircuitConnectionPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.Get the authorizationKey property: The authorization key.Get the circuitConnectionStatus property: Express Route Circuit connection state.com.azure.core.management.SubResourceGet the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteCircuitConnectionPropertiesFormat from the JsonReader.Get the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.com.azure.core.management.SubResourceGet the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.Get the provisioningState property: The provisioning state of the express route circuit connection resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAddressPrefix(String addressPrefix) Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.withAuthorizationKey(String authorizationKey) Set the authorizationKey property: The authorization key.withExpressRouteCircuitPeering(com.azure.core.management.SubResource expressRouteCircuitPeering) Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.withIpv6CircuitConnectionConfig(Ipv6CircuitConnectionConfig ipv6CircuitConnectionConfig) Set the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.withPeerExpressRouteCircuitPeering(com.azure.core.management.SubResource peerExpressRouteCircuitPeering) Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRouteCircuitConnectionPropertiesFormat
public ExpressRouteCircuitConnectionPropertiesFormat()Creates an instance of ExpressRouteCircuitConnectionPropertiesFormat 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 initiating connection.- Returns:
- the expressRouteCircuitPeering value.
-
withExpressRouteCircuitPeering
public ExpressRouteCircuitConnectionPropertiesFormat withExpressRouteCircuitPeering(com.azure.core.management.SubResource expressRouteCircuitPeering) Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.- Parameters:
expressRouteCircuitPeering- the expressRouteCircuitPeering value to set.- Returns:
- the ExpressRouteCircuitConnectionPropertiesFormat 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 ExpressRouteCircuitConnectionPropertiesFormat 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 ExpressRouteCircuitConnectionPropertiesFormat object itself.
-
addressPrefix
Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.- Returns:
- the addressPrefix value.
-
withAddressPrefix
Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.- Parameters:
addressPrefix- the addressPrefix value to set.- Returns:
- the ExpressRouteCircuitConnectionPropertiesFormat object itself.
-
authorizationKey
Get the authorizationKey property: The authorization key.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
Set the authorizationKey property: The authorization key.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the ExpressRouteCircuitConnectionPropertiesFormat object itself.
-
ipv6CircuitConnectionConfig
Get the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.- Returns:
- the ipv6CircuitConnectionConfig value.
-
withIpv6CircuitConnectionConfig
public ExpressRouteCircuitConnectionPropertiesFormat withIpv6CircuitConnectionConfig(Ipv6CircuitConnectionConfig ipv6CircuitConnectionConfig) Set the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.- Parameters:
ipv6CircuitConnectionConfig- the ipv6CircuitConnectionConfig value to set.- Returns:
- the ExpressRouteCircuitConnectionPropertiesFormat object itself.
-
circuitConnectionStatus
Get the circuitConnectionStatus property: Express Route Circuit connection state.- Returns:
- the circuitConnectionStatus value.
-
provisioningState
Get the provisioningState property: The provisioning state of the 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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExpressRouteCircuitConnectionPropertiesFormat>- Throws:
IOException
-
fromJson
public static ExpressRouteCircuitConnectionPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRouteCircuitConnectionPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRouteCircuitConnectionPropertiesFormat 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 ExpressRouteCircuitConnectionPropertiesFormat.
-