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

VirtualNetworkGatewayConnectionPropertiesFormat interface

VirtualNetworkGatewayConnection 属性。

属性

authorizationKey

authorizationKey。

connectionMode

此连接的连接模式。

connectionProtocol

用于此连接的连接协议。

connectionType

网关连接类型。

dpdTimeoutSeconds

此连接的死对等检测超时(以秒为单位)。

egressNatRules

出口 NatRules 列表。

enableBgp

EnableBgp 标志。

enablePrivateLinkFastPath

访问专用链接时绕过 ExpressRoute 网关。 必须启用 ExpressRoute FastPath (expressRouteGatewayBypass)。

expressRouteGatewayBypass

绕过 ExpressRoute 网关进行数据转发。

gatewayCustomBgpIpAddresses

用于虚拟网络网关连接的 GatewayCustomBgpIpAddresses。

ingressNatRules

入口 NatRules 列表。

ipsecPolicies

此连接要考虑的 IPSec 策略。

localNetworkGateway2

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

peer

对等互连资源的引用。

routingWeight

路由权重。

sharedKey

IPSec 共享密钥。

trafficSelectorPolicies

此连接要考虑的流量选择器策略。

useLocalAzureIpAddress

将专用本地 Azure IP 用于连接。

usePolicyBasedTrafficSelectors

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

virtualNetworkGateway1

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

virtualNetworkGateway2

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

属性详细信息

authorizationKey

authorizationKey。

authorizationKey?: string

属性值

string

connectionMode

此连接的连接模式。

connectionMode?: "Default" | "ResponderOnly" | "InitiatorOnly"

属性值

"Default" | "ResponderOnly" | "InitiatorOnly"

connectionProtocol

用于此连接的连接协议。

connectionProtocol?: "IKEv2" | "IKEv1"

属性值

"IKEv2" | "IKEv1"

connectionType

网关连接类型。

connectionType: "ExpressRoute" | "IPsec" | "Vnet2Vnet" | "VPNClient"

属性值

"ExpressRoute" | "IPsec" | "Vnet2Vnet" | "VPNClient"

dpdTimeoutSeconds

此连接的死对等检测超时(以秒为单位)。

dpdTimeoutSeconds?: number

属性值

number

egressNatRules

出口 NatRules 列表。

egressNatRules?: SubResource[]

属性值

enableBgp

EnableBgp 标志。

enableBgp?: boolean

属性值

boolean

enablePrivateLinkFastPath

访问专用链接时绕过 ExpressRoute 网关。 必须启用 ExpressRoute FastPath (expressRouteGatewayBypass)。

enablePrivateLinkFastPath?: boolean

属性值

boolean

expressRouteGatewayBypass

绕过 ExpressRoute 网关进行数据转发。

expressRouteGatewayBypass?: boolean

属性值

boolean

gatewayCustomBgpIpAddresses

用于虚拟网络网关连接的 GatewayCustomBgpIpAddresses。

gatewayCustomBgpIpAddresses?: GatewayCustomBgpIpAddressIpConfiguration[]

属性值

ingressNatRules

入口 NatRules 列表。

ingressNatRules?: SubResource[]

属性值

ipsecPolicies

此连接要考虑的 IPSec 策略。

ipsecPolicies?: IpsecPolicy[]

属性值

localNetworkGateway2

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

localNetworkGateway2?: LocalNetworkGateway

属性值

peer

对等互连资源的引用。

peer?: SubResource

属性值

routingWeight

路由权重。

routingWeight?: number

属性值

number

sharedKey

IPSec 共享密钥。

sharedKey?: string

属性值

string

trafficSelectorPolicies

此连接要考虑的流量选择器策略。

trafficSelectorPolicies?: TrafficSelectorPolicy[]

属性值

useLocalAzureIpAddress

将专用本地 Azure IP 用于连接。

useLocalAzureIpAddress?: boolean

属性值

boolean

usePolicyBasedTrafficSelectors

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

usePolicyBasedTrafficSelectors?: boolean

属性值

boolean

virtualNetworkGateway1

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

virtualNetworkGateway1: VirtualNetworkGateway

属性值

virtualNetworkGateway2

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

virtualNetworkGateway2?: VirtualNetworkGateway

属性值