Interface VirtualNetworkGatewayConnection.DefinitionStages.WithConnectionType
- All Known Subinterfaces:
VirtualNetworkGatewayConnection.Definition, VirtualNetworkGatewayConnection.DefinitionStages.Blank
- Enclosing interface:
VirtualNetworkGatewayConnection.DefinitionStages
public static interface VirtualNetworkGatewayConnection.DefinitionStages.WithConnectionType
Stage of definition allowing to specify connection type.
-
Method Summary
Modifier and TypeMethodDescriptionwithExpressRoute(ExpressRouteCircuit circuit) Create Express Route connection.withExpressRoute(String circuitId) Create Express Route connection.Create Site-to-Site connection.Create VNet-to-VNet connection.
-
Method Details
-
withSiteToSite
Create Site-to-Site connection.- Returns:
- next stage of definition, allowing to specify local network gateway
-
withVNetToVNet
Create VNet-to-VNet connection.- Returns:
- the next stage of the definition, allowing to specify virtual network gateway to connect to.
-
withExpressRoute
Create Express Route connection.- Parameters:
circuitId- id of Express Route circuit used for connection- Returns:
- next stage of definition
-
withExpressRoute
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
-