NetworkPeering.DefinitionStages.WithGatewayUse Interface

public static interface NetworkPeering.DefinitionStages.WithGatewayUse

The stage of a network peering definition allowing to control the gateway use by or on the remote network.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withGatewayUseByRemoteNetworkAllowed()

Allows the remote network to use this network's gateway (a.k.a.

abstract WithCreate withGatewayUseByRemoteNetworkStarted()

Allows and starts the use of this network's gateway by the remote network (a.k.a.

abstract WithCreate withGatewayUseOnRemoteNetworkStarted()

Starts the use of the remote network's gateway.

abstract WithCreate withoutAnyGatewayUse()

Disables any gateway use by this network and the remote one.

Method Details

withGatewayUseByRemoteNetworkAllowed

public abstract NetworkPeering.DefinitionStages.WithCreate withGatewayUseByRemoteNetworkAllowed()

Allows the remote network to use this network's gateway (a.k.a. gateway transit), but does not start the use of the gateway by the remote network.

If this network is currently configured to use the remote network's gateway, that use will be automatically disabled, as these two settings cannot be used together.

Returns:

the next stage of the definition

withGatewayUseByRemoteNetworkStarted

public abstract NetworkPeering.DefinitionStages.WithCreate withGatewayUseByRemoteNetworkStarted()

Allows and starts the use of this network's gateway by the remote network (a.k.a. gateway transit).

If the remote network is not in the same subscription as this network, then gateway use by the remote gateway will only be allowed on this network, but not started. The matching peering on the remote network must be modified explicitly to start it.

If this network is currently configured to use the remote network's gateway, that use will be automatically disabled, as these two settings cannot be used together.

Before gateway use by a remote network can be started, a working gateway must already be in place within this network.

Returns:

the next stage of the definition

withGatewayUseOnRemoteNetworkStarted

public abstract NetworkPeering.DefinitionStages.WithCreate withGatewayUseOnRemoteNetworkStarted()

Starts the use of the remote network's gateway.

If the remote network is in the same subscription, remote gateway use by this network (a.k.a. gateway transit) will also be automatically allowed on the remote network's side. Otherwise, this network will only be configured to use the remote gateway, but the matching peering on the remote network must still be additionally modified explicitly to allow gateway use by this network.

If this network is currently configured to allow the remote network to use its gateway, that use will be automatically disabled, as these two settings cannot be used together.

Before gateway use on a remote network can be started, a working gateway must already be in place within the remote network.

Returns:

the next stage of the definition

withoutAnyGatewayUse

public abstract NetworkPeering.DefinitionStages.WithCreate withoutAnyGatewayUse()

Disables any gateway use by this network and the remote one.

Returns:

the next stage of the definition

Applies to