你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualNetworkGatewayConnection interface
常规资源信息的通用类
- Extends
属性
authorization |
authorizationKey。 |
connection |
用于此连接的连接协议 |
connection |
虚拟网络网关连接状态。 可能的值为“Unknown”、“Connecting”、“Connected”和“NotConnected”。 注意:此属性不会序列化。 它只能由服务器填充。 |
connection |
网关连接类型。 可能的值包括:“Ipsec”、“Vnet2Vnet”、“ExpressRoute”和“VPNClient”。 |
egress |
在此连接中传输的出口字节数。 注意:此属性不会序列化。 它只能由服务器填充。 |
enable |
EnableBgp 标志 |
etag | 获取一个唯一的只读字符串,每当资源更新时,该字符串都会更改。 |
express |
绕过 ExpressRoute 网关进行数据转发 |
ingress |
在此连接中传输的入口字节数。 注意:此属性不会序列化。 它只能由服务器填充。 |
ipsec |
此连接要考虑的 IPSec 策略。 |
local |
对本地网络网关资源的引用。 |
peer | 对等互连资源的引用。 |
provisioning |
VirtualNetworkGatewayConnection 资源的预配状态。 可能的值为:“Updating”、“Deleting”和“Failed”。 注意:此属性不会序列化。 它只能由服务器填充。 |
resource |
VirtualNetworkGatewayConnection 资源的资源 GUID 属性。 |
routing |
路由权重。 |
shared |
IPSec 共享密钥。 |
tunnel |
所有隧道的连接运行状况的集合。 注意:此属性不会序列化。 它只能由服务器填充。 |
use |
启用基于策略的流量选择器。 |
virtual |
对虚拟网络网关资源的引用。 |
virtual |
对虚拟网络网关资源的引用。 |
继承属性
id | 资源 ID。 |
location | 资源位置。 |
name | 资源名称。 注意:此属性不会被序列化。 它只能由服务器填充。 |
tags | 资源标记。 |
type | 资源类型。 注意:此属性不会被序列化。 它只能由服务器填充。 |
属性详细信息
authorizationKey
authorizationKey。
authorizationKey?: string
属性值
string
connectionProtocol
用于此连接的连接协议
connectionProtocol?: string
属性值
string
connectionStatus
虚拟网络网关连接状态。 可能的值为“Unknown”、“Connecting”、“Connected”和“NotConnected”。 注意:此属性不会序列化。 它只能由服务器填充。
connectionStatus?: string
属性值
string
connectionType
网关连接类型。 可能的值包括:“Ipsec”、“Vnet2Vnet”、“ExpressRoute”和“VPNClient”。
connectionType: string
属性值
string
egressBytesTransferred
在此连接中传输的出口字节数。 注意:此属性不会序列化。 它只能由服务器填充。
egressBytesTransferred?: number
属性值
number
enableBgp
EnableBgp 标志
enableBgp?: boolean
属性值
boolean
etag
获取一个唯一的只读字符串,每当资源更新时,该字符串都会更改。
etag?: string
属性值
string
expressRouteGatewayBypass
绕过 ExpressRoute 网关进行数据转发
expressRouteGatewayBypass?: boolean
属性值
boolean
ingressBytesTransferred
在此连接中传输的入口字节数。 注意:此属性不会序列化。 它只能由服务器填充。
ingressBytesTransferred?: number
属性值
number
ipsecPolicies
localNetworkGateway2
peer
provisioningState
VirtualNetworkGatewayConnection 资源的预配状态。 可能的值为:“Updating”、“Deleting”和“Failed”。 注意:此属性不会序列化。 它只能由服务器填充。
provisioningState?: string
属性值
string
resourceGuid
VirtualNetworkGatewayConnection 资源的资源 GUID 属性。
resourceGuid?: string
属性值
string
routingWeight
路由权重。
routingWeight?: number
属性值
number
sharedKey
IPSec 共享密钥。
sharedKey?: string
属性值
string
tunnelConnectionStatus
所有隧道的连接运行状况的集合。 注意:此属性不会序列化。 它只能由服务器填充。
tunnelConnectionStatus?: TunnelConnectionHealth[]
属性值
usePolicyBasedTrafficSelectors
启用基于策略的流量选择器。
usePolicyBasedTrafficSelectors?: boolean
属性值
boolean