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