你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkPeering 接口
实现
public interface NetworkPeering
extends IndependentChild<com.microsoft.azure.management.network.implementation.NetworkManager>, HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkPeeringInner>, Refreshable<NetworkPeering>, Updatable<Update>
网络对等互连的客户端表示形式。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
abstract boolean | checkAccessBetweenNetworks() |
abstract
Network |
gatewayUse() |
abstract Network | getRemoteNetwork() |
abstract rx.Observable<Network> |
getRemoteNetworkAsync()
异步获取与此对等互连关联的远程网络。 |
abstract
Network |
getRemotePeering() |
abstract
rx.Observable<Network |
getRemotePeeringAsync()
获取远程网络上的关联匹配对等互连(如果该对等互连位于同一订阅中)。 |
abstract boolean | isSameSubscription() |
abstract boolean | isTrafficForwardingFromRemoteNetworkAllowed() |
abstract java.lang.String | networkId() |
abstract java.util.List<java.lang.String> | remoteAddressSpaces() |
abstract java.lang.String | remoteNetworkId() |
abstract
Virtual |
state() |
方法详细信息
checkAccessBetweenNetworks
public abstract boolean checkAccessBetweenNetworks()
Returns:
(请注意,此方法单独调用 Azure.)
gatewayUse
public abstract NetworkPeeringGatewayUse gatewayUse()
Returns:
getRemoteNetwork
public abstract Network getRemoteNetwork()
Returns:
getRemoteNetworkAsync
public abstract Observable
异步获取与此对等互连关联的远程网络。
Returns:
getRemotePeering
public abstract NetworkPeering getRemotePeering()
Returns:
getRemotePeeringAsync
public abstract Observable
获取远程网络上的关联匹配对等互连(如果该对等互连位于同一订阅中)。
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: