NetworkPeering Interface
public interface NetworkPeering extends IndependentChild,HasInner,Refreshable,Updatable<NetworkPeering.Update>
An client-side representation of a network peering.
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
checkAccessBetweenNetworks()
(Note this method makes a separate call to Azure.) |
Network |
gatewayUse() |
Network | getRemoteNetwork() |
Observable<Network> |
getRemoteNetworkAsync()
Gets the remote network associated with this peering asynchronously. |
Network |
getRemotePeering() |
Observable<Network |
getRemotePeeringAsync()
Gets the associated matching peering on the remote network if it is in the same subscription. |
boolean | isSameSubscription() |
boolean | isTrafficForwardingFromRemoteNetworkAllowed() |
String | networkId() |
String | remoteNetworkId() |
Virtual |
state() |
Inherited Members
Method Details
checkAccessBetweenNetworks
public boolean checkAccessBetweenNetworks()
(Note this method makes a separate call to Azure.)
Returns:
gatewayUse
public NetworkPeeringGatewayUse gatewayUse()
Returns:
getRemoteNetwork
public Network getRemoteNetwork()
Returns:
getRemoteNetworkAsync
public Observable
Gets the remote network associated with this peering asynchronously.
Returns:
getRemotePeering
public NetworkPeering getRemotePeering()
Returns:
getRemotePeeringAsync
public Observable
Gets the associated matching peering on the remote network if it is in the same subscription.
Returns:
isSameSubscription
public boolean isSameSubscription()
Returns:
isTrafficForwardingFromRemoteNetworkAllowed
public boolean isTrafficForwardingFromRemoteNetworkAllowed()
Returns:
networkId
public String networkId()
Returns:
remoteNetworkId
public String remoteNetworkId()
Returns:
state
public VirtualNetworkPeeringState state()
Returns:
Applies to
Azure SDK for Java