Interface NetworkPeering.DefinitionStages.WithRemoteNetwork
- All Known Subinterfaces:
NetworkPeering.Definition, NetworkPeering.DefinitionStages.Blank
- Enclosing interface:
NetworkPeering.DefinitionStages
public static interface NetworkPeering.DefinitionStages.WithRemoteNetwork
The stage of a network peering definition allowing to specify the remote virtual network.
-
Method Summary
Modifier and TypeMethodDescriptionwithRemoteNetwork(Network network) Specifies the remote network to peer with.withRemoteNetwork(String resourceId) Specifies the remote network to peer with.
-
Method Details
-
withRemoteNetwork
Specifies the remote network to peer with.The remote network will have the matching peering associated with it automatically.
- Parameters:
resourceId- the resource ID of an existing network- Returns:
- the next stage of the definition
-
withRemoteNetwork
Specifies the remote network to peer with.The remote network will have the matching peering associated with it automatically.
- Parameters:
network- an existing network- Returns:
- the next stage of the definition
-