ExpressRouteConnectionInner Class

public final class ExpressRouteConnectionInner
extends SubResource

ExpressRouteConnection resource.

Constructor Summary

Constructor Description
ExpressRouteConnectionInner()

Creates an instance of ExpressRouteConnectionInner class.

Method Summary

Modifier and Type Method and Description
String authorizationKey()

Get the authorizationKey property: Authorization key to establish the connection.

Boolean enableInternetSecurity()

Get the enableInternetSecurity property: Enable internet security.

Boolean enablePrivateLinkFastPath()

Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.

ExpressRouteCircuitPeeringId expressRouteCircuitPeering()

Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.

Boolean expressRouteGatewayBypass()

Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.

static ExpressRouteConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteConnectionInner from the JsonReader.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route connection resource.

RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

Integer routingWeight()

Get the routingWeight property: The routing weight associated to the connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteConnectionInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: Authorization key to establish the connection.

ExpressRouteConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)

Set the enableInternetSecurity property: Enable internet security.

ExpressRouteConnectionInner withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)

Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.

ExpressRouteConnectionInner withExpressRouteCircuitPeering(ExpressRouteCircuitPeeringId expressRouteCircuitPeering)

Set the expressRouteCircuitPeering property: The ExpressRoute circuit peering.

ExpressRouteConnectionInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)

Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.

ExpressRouteConnectionInner withId(String id)
ExpressRouteConnectionInner withName(String name)

Set the name property: The name of the resource.

ExpressRouteConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)

Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

ExpressRouteConnectionInner withRoutingWeight(Integer routingWeight)

Set the routingWeight property: The routing weight associated to the connection.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteConnectionInner

public ExpressRouteConnectionInner()

Creates an instance of ExpressRouteConnectionInner class.

Method Details

authorizationKey

public String authorizationKey()

Get the authorizationKey property: Authorization key to establish the connection.

Returns:

the authorizationKey value.

enableInternetSecurity

public Boolean enableInternetSecurity()

Get the enableInternetSecurity property: Enable internet security.

Returns:

the enableInternetSecurity value.

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.

expressRouteCircuitPeering

public ExpressRouteCircuitPeeringId expressRouteCircuitPeering()

Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.

Returns:

the expressRouteCircuitPeering value.

expressRouteGatewayBypass

public Boolean expressRouteGatewayBypass()

Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.

Returns:

the expressRouteGatewayBypass value.

fromJson

public static ExpressRouteConnectionInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: The name of the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route connection resource.

Returns:

the provisioningState value.

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.

routingWeight

public Integer routingWeight()

Get the routingWeight property: The routing weight associated to the connection.

Returns:

the routingWeight value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAuthorizationKey

public ExpressRouteConnectionInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: Authorization key to establish the connection.

Parameters:

authorizationKey - the authorizationKey value to set.

Returns:

the ExpressRouteConnectionInner object itself.

withEnableInternetSecurity

public ExpressRouteConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)

Set the enableInternetSecurity property: Enable internet security.

Parameters:

enableInternetSecurity - the enableInternetSecurity value to set.

Returns:

the ExpressRouteConnectionInner object itself.

withEnablePrivateLinkFastPath

public ExpressRouteConnectionInner 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 ExpressRouteConnectionInner object itself.

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.

withExpressRouteGatewayBypass

public ExpressRouteConnectionInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)

Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.

Parameters:

expressRouteGatewayBypass - the expressRouteGatewayBypass value to set.

Returns:

the ExpressRouteConnectionInner object itself.

withId

public ExpressRouteConnectionInner withId(String id)

Overrides:

ExpressRouteConnectionInner.withId(String id)

Parameters:

id

withName

public ExpressRouteConnectionInner withName(String name)

Set the name property: The name of the resource.

Parameters:

name - the name value to set.

Returns:

the ExpressRouteConnectionInner object itself.

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.

withRoutingWeight

public ExpressRouteConnectionInner withRoutingWeight(Integer routingWeight)

Set the routingWeight property: The routing weight associated to the connection.

Parameters:

routingWeight - the routingWeight value to set.

Returns:

the ExpressRouteConnectionInner object itself.

Applies to