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

VirtualNetworkGatewayConnection interface

常规资源信息的通用类

Extends

属性

authorizationKey

authorizationKey。

connectionProtocol

用于此连接的连接协议

connectionStatus

虚拟网络网关连接状态。 可能的值为“Unknown”、“Connecting”、“Connected”和“NotConnected”。 注意:此属性不会序列化。 它只能由服务器填充。

connectionType

网关连接类型。 可能的值包括:“Ipsec”、“Vnet2Vnet”、“ExpressRoute”和“VPNClient”。

egressBytesTransferred

在此连接中传输的出口字节数。 注意:此属性不会序列化。 它只能由服务器填充。

enableBgp

EnableBgp 标志

etag

获取一个唯一的只读字符串,每当资源更新时,该字符串都会更改。

expressRouteGatewayBypass

绕过 ExpressRoute 网关进行数据转发

ingressBytesTransferred

在此连接中传输的入口字节数。 注意:此属性不会序列化。 它只能由服务器填充。

ipsecPolicies

此连接要考虑的 IPSec 策略。

localNetworkGateway2

对本地网络网关资源的引用。

peer

对等互连资源的引用。

provisioningState

VirtualNetworkGatewayConnection 资源的预配状态。 可能的值为:“Updating”、“Deleting”和“Failed”。 注意:此属性不会序列化。 它只能由服务器填充。

resourceGuid

VirtualNetworkGatewayConnection 资源的资源 GUID 属性。

routingWeight

路由权重。

sharedKey

IPSec 共享密钥。

tunnelConnectionStatus

所有隧道的连接运行状况的集合。 注意:此属性不会序列化。 它只能由服务器填充。

usePolicyBasedTrafficSelectors

启用基于策略的流量选择器。

virtualNetworkGateway1

对虚拟网络网关资源的引用。

virtualNetworkGateway2

对虚拟网络网关资源的引用。

继承属性

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

此连接要考虑的 IPSec 策略。

ipsecPolicies?: IpsecPolicy[]

属性值

localNetworkGateway2

对本地网络网关资源的引用。

localNetworkGateway2?: LocalNetworkGateway

属性值

peer

对等互连资源的引用。

peer?: SubResource

属性值

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

virtualNetworkGateway1

对虚拟网络网关资源的引用。

virtualNetworkGateway1: VirtualNetworkGateway

属性值

virtualNetworkGateway2

对虚拟网络网关资源的引用。

virtualNetworkGateway2?: VirtualNetworkGateway

属性值

继承属性详细信息

id

资源 ID。

id?: string

属性值

string

继承自Resource.id

location

资源位置。

location?: string

属性值

string

继承自Resource.location

name

资源名称。 注意:此属性不会被序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自Resource.name

tags

资源标记。

tags?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自Resource.tags

type

资源类型。 注意:此属性不会被序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自Resource.type