NetworkPeering.DefinitionStages.WithRemoteNetwork Interface
public interface WithRemoteNetwork
The stage of a network peering definition allowing to specify the remote virtual network.
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
withRemoteNetwork(Network network)
Specifies the remote network to peer with. The remote network will have the matching peering associated with it automatically. |
Network |
withRemoteNetwork(String resourceId)
Specifies the remote network to peer with. The remote network will have the matching peering associated with it automatically. |
Method Details
withRemoteNetwork
public WithCreate withRemoteNetwork(Network network)
Specifies the remote network to peer with.
The remote network will have the matching peering associated with it automatically.
Parameters:
Returns:
withRemoteNetwork
public WithCreate withRemoteNetwork(String resourceId)
Specifies the remote network to peer with.
The remote network will have the matching peering associated with it automatically.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for