VirtualNetworkGatewayConnection.DefinitionStages.WithConnectionType Interface

public static interface VirtualNetworkGatewayConnection.DefinitionStages.WithConnectionType

Stage of definition allowing to specify connection type.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExpressRoute(ExpressRouteCircuit circuit)

Create Express Route connection.

abstract WithCreate withExpressRoute(String circuitId)

Create Express Route connection.

abstract WithLocalNetworkGateway withSiteToSite()

Create Site-to-Site connection.

abstract WithSecondVirtualNetworkGateway withVNetToVNet()

Create VNet-to-VNet connection.

Method Details

withExpressRoute

public abstract VirtualNetworkGatewayConnection.DefinitionStages.WithCreate withExpressRoute(ExpressRouteCircuit circuit)

Create Express Route connection.

Parameters:

circuit - Express Route circuit used for connection

Returns:

the next stage of the definition

withExpressRoute

public abstract VirtualNetworkGatewayConnection.DefinitionStages.WithCreate withExpressRoute(String circuitId)

Create Express Route connection.

Parameters:

circuitId - id of Express Route circuit used for connection

Returns:

next stage of definition

withSiteToSite

public abstract VirtualNetworkGatewayConnection.DefinitionStages.WithLocalNetworkGateway withSiteToSite()

Create Site-to-Site connection.

Returns:

next stage of definition, allowing to specify local network gateway

withVNetToVNet

public abstract VirtualNetworkGatewayConnection.DefinitionStages.WithSecondVirtualNetworkGateway withVNetToVNet()

Create VNet-to-VNet connection.

Returns:

the next stage of the definition, allowing to specify virtual network gateway to connect to.

Applies to