你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkPeeringPropertiesFormatOutput interface

虚拟网络对等互连的属性。

属性

allowForwardedTraffic

是否允许/禁止来自本地虚拟网络中的 VM 的转发流量。

allowGatewayTransit

如果网关链接可用于远程虚拟网络,则链接到此虚拟网络。

allowVirtualNetworkAccess

本地虚拟网络空间中的 VM 能否访问远程虚拟网络空间中的 VM。

doNotVerifyRemoteGateways

如果需要验证远程网关的预配状态。

peeringState

虚拟网络对等互连的状态。

peeringSyncLevel

虚拟网络对等互连的对等互连同步状态。

provisioningState

虚拟网络对等互连资源的预配状态。

remoteAddressSpace

对与远程虚拟网络对等的地址空间的引用。

remoteBgpCommunities

对远程虚拟网络的 Bgp 社区的引用。

remoteVirtualNetwork

对远程虚拟网络的引用。 远程虚拟网络可以位于相同或不同的区域(预览版)。 请参阅此处以注册预览版并了解详细信息(https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)。

remoteVirtualNetworkAddressSpace

对远程虚拟网络的当前地址空间的引用。

remoteVirtualNetworkEncryption

对远程虚拟网络加密的引用

resourceGuid

虚拟网络对等互连资源的 resourceGuid 属性。

useRemoteGateways

如果远程网关可用于此虚拟网络。 如果标志设置为 true,并且允许远程对等互连上的 allowGatewayTransit 也为 true,则虚拟网络将使用远程虚拟网络的网关进行传输。 只有一个对等互连可以将此标志设置为 true。 如果虚拟网络已有网关,则无法设置此标志。

属性详细信息

allowForwardedTraffic

是否允许/禁止来自本地虚拟网络中的 VM 的转发流量。

allowForwardedTraffic?: boolean

属性值

boolean

allowGatewayTransit

如果网关链接可用于远程虚拟网络,则链接到此虚拟网络。

allowGatewayTransit?: boolean

属性值

boolean

allowVirtualNetworkAccess

本地虚拟网络空间中的 VM 能否访问远程虚拟网络空间中的 VM。

allowVirtualNetworkAccess?: boolean

属性值

boolean

doNotVerifyRemoteGateways

如果需要验证远程网关的预配状态。

doNotVerifyRemoteGateways?: boolean

属性值

boolean

peeringState

虚拟网络对等互连的状态。

peeringState?: "Initiated" | "Connected" | "Disconnected"

属性值

"Initiated" | "Connected" | "Disconnected"

peeringSyncLevel

虚拟网络对等互连的对等互连同步状态。

peeringSyncLevel?: "FullyInSync" | "RemoteNotInSync" | "LocalNotInSync" | "LocalAndRemoteNotInSync"

属性值

"FullyInSync" | "RemoteNotInSync" | "LocalNotInSync" | "LocalAndRemoteNotInSync"

provisioningState

虚拟网络对等互连资源的预配状态。

provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"

属性值

"Succeeded" | "Updating" | "Deleting" | "Failed"

remoteAddressSpace

对与远程虚拟网络对等的地址空间的引用。

remoteAddressSpace?: AddressSpaceOutput

属性值

remoteBgpCommunities

对远程虚拟网络的 Bgp 社区的引用。

remoteBgpCommunities?: VirtualNetworkBgpCommunitiesOutput

属性值

remoteVirtualNetwork

对远程虚拟网络的引用。 远程虚拟网络可以位于相同或不同的区域(预览版)。 请参阅此处以注册预览版并了解详细信息(https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)。

remoteVirtualNetwork?: SubResourceOutput

属性值

remoteVirtualNetworkAddressSpace

对远程虚拟网络的当前地址空间的引用。

remoteVirtualNetworkAddressSpace?: AddressSpaceOutput

属性值

remoteVirtualNetworkEncryption

对远程虚拟网络加密的引用

remoteVirtualNetworkEncryption?: VirtualNetworkEncryptionOutput

属性值

resourceGuid

虚拟网络对等互连资源的 resourceGuid 属性。

resourceGuid?: string

属性值

string

useRemoteGateways

如果远程网关可用于此虚拟网络。 如果标志设置为 true,并且允许远程对等互连上的 allowGatewayTransit 也为 true,则虚拟网络将使用远程虚拟网络的网关进行传输。 只有一个对等互连可以将此标志设置为 true。 如果虚拟网络已有网关,则无法设置此标志。

useRemoteGateways?: boolean

属性值

boolean