Class ExpressRouteConnectionInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class ExpressRouteConnectionInner
extends com.azure.core.management.SubResource
ExpressRouteConnection resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteConnectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authorizationKey property: Authorization key to establish the connection.Get the enableInternetSecurity property: Enable internet security.Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.static ExpressRouteConnectionInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteConnectionInner from the JsonReader.name()Get the name property: The name of the resource.Get the provisioningState property: The provisioning state of the express route connection resource.Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.Get the routingWeight property: The routing weight associated to the connection.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAuthorizationKey(String authorizationKey) Set the authorizationKey property: Authorization key to establish the connection.withEnableInternetSecurity(Boolean enableInternetSecurity) Set the enableInternetSecurity property: Enable internet security.withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath) Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.withExpressRouteCircuitPeering(ExpressRouteCircuitPeeringId expressRouteCircuitPeering) Set the expressRouteCircuitPeering property: The ExpressRoute circuit peering.withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass) Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.Set the name property: The name of the resource.withRoutingConfiguration(RoutingConfiguration routingConfiguration) Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.withRoutingWeight(Integer routingWeight) Set the routingWeight property: The routing weight associated to the connection.Methods inherited from class com.azure.core.management.SubResource
idMethods 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
-
ExpressRouteConnectionInner
public ExpressRouteConnectionInner()Creates an instance of ExpressRouteConnectionInner class.
-
-
Method Details
-
name
Get the name property: The name of the resource.- Returns:
- the name value.
-
withName
Set the name property: The name of the resource.- Parameters:
name- the name value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
provisioningState
Get the provisioningState property: The provisioning state of the express route connection resource.- Returns:
- the provisioningState value.
-
expressRouteCircuitPeering
Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.- Returns:
- the expressRouteCircuitPeering value.
-
withExpressRouteCircuitPeering
public ExpressRouteConnectionInner withExpressRouteCircuitPeering(ExpressRouteCircuitPeeringId expressRouteCircuitPeering) Set the expressRouteCircuitPeering property: The ExpressRoute circuit peering.- Parameters:
expressRouteCircuitPeering- the expressRouteCircuitPeering value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
authorizationKey
Get the authorizationKey property: Authorization key to establish the connection.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
Set the authorizationKey property: Authorization key to establish the connection.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
routingWeight
Get the routingWeight property: The routing weight associated to the connection.- Returns:
- the routingWeight value.
-
withRoutingWeight
Set the routingWeight property: The routing weight associated to the connection.- Parameters:
routingWeight- the routingWeight value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
enableInternetSecurity
Get the enableInternetSecurity property: Enable internet security.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
Set the enableInternetSecurity property: Enable internet security.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
expressRouteGatewayBypass
Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.- Returns:
- the expressRouteGatewayBypass value.
-
withExpressRouteGatewayBypass
Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.- Parameters:
expressRouteGatewayBypass- the expressRouteGatewayBypass value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
enablePrivateLinkFastPath
Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.- Returns:
- the enablePrivateLinkFastPath value.
-
withEnablePrivateLinkFastPath
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 ExpressRouteConnectionInner object itself.
-
routingConfiguration
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Returns:
- the routingConfiguration value.
-
withRoutingConfiguration
public ExpressRouteConnectionInner 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 ExpressRouteConnectionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.azure.core.management.SubResource- Throws:
IOException
-
fromJson
public static ExpressRouteConnectionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRouteConnectionInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRouteConnectionInner 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 ExpressRouteConnectionInner.
-