共用方式為


Microsoft.Network vpnGateways/vpnConnections

Bicep 資源定義

vpnGateways/vpnConnections 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄

資源格式

若要建立 Microsoft.Network/vpnGateways/vpnConnections 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.Network/vpnGateways/vpnConnections@2023-11-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    connectionBandwidth: int
    dpdTimeoutSeconds: int
    enableBgp: bool
    enableInternetSecurity: bool
    enableRateLimiting: bool
    ipsecPolicies: [
      {
        dhGroup: 'string'
        ikeEncryption: 'string'
        ikeIntegrity: 'string'
        ipsecEncryption: 'string'
        ipsecIntegrity: 'string'
        pfsGroup: 'string'
        saDataSizeKilobytes: int
        saLifeTimeSeconds: int
      }
    ]
    remoteVpnSite: {
      id: 'string'
    }
    routingConfiguration: {
      associatedRouteTable: {
        id: 'string'
      }
      inboundRouteMap: {
        id: 'string'
      }
      outboundRouteMap: {
        id: 'string'
      }
      propagatedRouteTables: {
        ids: [
          {
            id: 'string'
          }
        ]
        labels: [
          'string'
        ]
      }
      vnetRoutes: {
        staticRoutes: [
          {
            addressPrefixes: [
              'string'
            ]
            name: 'string'
            nextHopIpAddress: 'string'
          }
        ]
        staticRoutesConfig: {
          vnetLocalRouteOverrideCriteria: 'string'
        }
      }
    }
    routingWeight: int
    sharedKey: 'string'
    trafficSelectorPolicies: [
      {
        localAddressRanges: [
          'string'
        ]
        remoteAddressRanges: [
          'string'
        ]
      }
    ]
    useLocalAzureIpAddress: bool
    usePolicyBasedTrafficSelectors: bool
    vpnConnectionProtocolType: 'string'
    vpnLinkConnections: [
      {
        id: 'string'
        name: 'string'
        properties: {
          connectionBandwidth: int
          dpdTimeoutSeconds: int
          egressNatRules: [
            {
              id: 'string'
            }
          ]
          enableBgp: bool
          enableRateLimiting: bool
          ingressNatRules: [
            {
              id: 'string'
            }
          ]
          ipsecPolicies: [
            {
              dhGroup: 'string'
              ikeEncryption: 'string'
              ikeIntegrity: 'string'
              ipsecEncryption: 'string'
              ipsecIntegrity: 'string'
              pfsGroup: 'string'
              saDataSizeKilobytes: int
              saLifeTimeSeconds: int
            }
          ]
          routingWeight: int
          sharedKey: 'string'
          useLocalAzureIpAddress: bool
          usePolicyBasedTrafficSelectors: bool
          vpnConnectionProtocolType: 'string'
          vpnGatewayCustomBgpAddresses: [
            {
              customBgpIpAddress: 'string'
              ipConfigurationId: 'string'
            }
          ]
          vpnLinkConnectionMode: 'string'
          vpnSiteLink: {
            id: 'string'
          }
        }
      }
    ]
  }
}

屬性值

vpnGateways/vpnConnections

名稱 描述
NAME 資源名稱

瞭解如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)

字元限制:1-80

合法字元:
英數字元、底線、句號和連字號。

以英數字元開頭。 以英數字元或底線結尾。
父系 (parent) 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源之外宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱: vpnGateways
properties VPN 連線的屬性。 VpnConnectionProperties

VpnConnectionProperties

名稱 描述
connectionBandwidth MBPS 的預期頻寬。 int
dpdTimeoutSeconds VPN 連線的 DPD 逾時以秒為單位。 int
enableBgp EnableBgp 旗標。 bool
enableInternetSecurity 啟用因特網安全性。 bool
enableRateLimiting EnableBgp 旗標。 bool
ipsecPolicies 此連線要考慮的IPSec原則。 IpsecPolicy[]
remoteVpnSite 已連線 VPN 網站的識別碼。 SubResource
routingConfiguration 路由組態,指出此聯機上相關聯的和傳播的路由表。 RoutingConfiguration
routingWeight VPN 連線的路由權數。 int
sharedKey VPN 連線的 SharedKey。 字串
trafficSelectorPolicies 此連線要考慮的流量選取器原則。 TrafficSelectorPolicy[]
useLocalAzureIpAddress 使用本機 Azure IP 起始連線。 bool
usePolicyBasedTrafficSelectors 啟用以原則為基礎的流量選取器。 bool
vpnConnectionProtocolType 用於此連線的連線通訊協定。 'IKEv1'
'IKEv2'
vpnLinkConnections 所有 VPN 網站連結連線到閘道的清單。 VpnSiteLinkConnection[]

IpsecPolicy

名稱 描述
dhGroup IKE 階段 1 中用於初始 SA 的 DH 群組。 'DHGroup1'
'DHGroup14'
'DHGroup2'
'DHGroup2048'
'DHGroup24'
'ECP256'
'ECP384'
必要) ('None'
ikeEncryption IKE 加密演算法 (IKE 階段 2) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
需要 『GCMAES256』 ()
ikeIntegrity IKE 完整性演算法 (IKE 階段 2) 。 'GCMAES128'
'GCMAES256'
'MD5'
'SHA1'
'SHA256'
'SHA384' (必要)
ipsecEncryption IPSec 加密演算法 (IKE 階段 1) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
'GCMAES192'
'GCMAES256'
必要) ('None'
ipsecIntegrity IPSec 完整性演算法 (IKE 階段 1) 。 'GCMAES128'
'GCMAES192'
'GCMAES256'
'MD5'
'SHA1'
必要) 'SHA256' (
pfsGroup IKE 階段 2 中用於新子 SA 的 Pfs 群組。 'ECP256'
'ECP384'
'None'
'PFS1'
'PFS14'
'PFS2'
'PFS2048'
'PFS24'
需要 『PFSMM』 ()
saDataSizeKilobytes IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) KB 的承載大小,供站對站 VPN 通道使用。 int (必要)
saLifeTimeSeconds IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) 存留期,以秒為單位,讓站對站 VPN 通道。 int (必要)

SubResource

名稱 描述
id 資源識別碼。 字串

RoutingConfiguration

名稱 描述
associatedRouteTable 與此 RoutingConfiguration 相關聯的資源標識碼 RouteTable。 SubResource
inboundRouteMap 與這個 RoutingConfiguration 相關聯的 RouteMap 資源識別碼,用於輸入學習的路由。 SubResource
outboundRouteMap 與這個 RoutingConfiguration 相關聯的RouteMap 資源標識碼,用於輸出公告的路由。 SubResource
propagatedRouteTables 要公告路由的 RouteTable 列表。 PropagatedRouteTable
vnetRoutes 控制從 VirtualHub 到虛擬網路連線之路由的路由清單。 VnetRoute

PropagatedRouteTable

名稱 描述
ids 所有 RouteTable 的資源標識符清單。 SubResource[]
標籤 標籤清單。 string[]

VnetRoute

名稱 描述
staticRoutes 所有靜態路由的清單。 StaticRoute[]
staticRoutesConfig 此 HubVnetConnection 上的靜態路由設定。 StaticRoutesConfig

StaticRoute

名稱 描述
addressPrefixes 所有地址前綴的清單。 string[]
NAME VnetRoute 內唯一的 StaticRoute 名稱。 字串
nextHopIpAddress 下一個躍點的IP位址。 字串

StaticRoutesConfig

名稱 描述
vnetLocalRouteOverrideCriteria 判斷輪輻 vnet 中 NVA 是否略過輪輻中具有目的地之流量的參數。 'Contains'
'Equal'

TrafficSelectorPolicy

名稱 描述
localAddressRanges CIDR 格式的本機位址空間集合。 string[] (必要)
remoteAddressRanges CIDR 格式的遠端位址空間集合。 string[] (必要)

VpnSiteLinkConnection

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties VPN 網站連結連線的屬性。 VpnSiteLinkConnectionProperties

VpnSiteLinkConnectionProperties

名稱 描述
connectionBandwidth MBPS 的預期頻寬。 int
dpdTimeoutSeconds VpnLink 連線的死對等偵測逾時,以秒為單位。 int
egressNatRules 輸出 NatRules 的清單。 SubResource[]
enableBgp EnableBgp 旗標。 bool
enableRateLimiting EnableBgp 旗標。 bool
ingressNatRules 輸入 NatRules 的清單。 SubResource[]
ipsecPolicies 此連線要考慮的IPSec原則。 IpsecPolicy[]
routingWeight VPN 連線的路由權數。 int
sharedKey Vpn 連線的 SharedKey。 字串
useLocalAzureIpAddress 使用本機 Azure IP 起始連線。 bool
usePolicyBasedTrafficSelectors 啟用以原則為基礎的流量選取器。 bool
vpnConnectionProtocolType 用於此連線的連線通訊協定。 'IKEv1'
'IKEv2'
vpnGatewayCustomBgpAddresses vpnGatewayCustomBgpAddresses 由此連線使用。 GatewayCustomBgpIpAddressIpConfiguration[]
vpnLinkConnectionMode Vpn 連結連線模式。 'Default'
'InitiatorOnly'
'ResponderOnly'
vpnSiteLink 線上的 VPN 網站鏈接識別碼。 SubResource

GatewayCustomBgpIpAddressIpConfiguration

名稱 描述
customBgpIpAddress 屬於 IpconfigurationId 的自定義 BgpPeeringAddress。 字串 (必要)
ipConfigurationId 屬於閘道之 ipconfiguration 的 IpconfigurationId。 字串 (必要)

ARM 範本資源定義

vpnGateways/vpnConnections 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄

資源格式

若要建立 Microsoft.Network/vpnGateways/vpnConnections 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.Network/vpnGateways/vpnConnections",
  "apiVersion": "2023-11-01",
  "name": "string",
  "properties": {
    "connectionBandwidth": "int",
    "dpdTimeoutSeconds": "int",
    "enableBgp": "bool",
    "enableInternetSecurity": "bool",
    "enableRateLimiting": "bool",
    "ipsecPolicies": [
      {
        "dhGroup": "string",
        "ikeEncryption": "string",
        "ikeIntegrity": "string",
        "ipsecEncryption": "string",
        "ipsecIntegrity": "string",
        "pfsGroup": "string",
        "saDataSizeKilobytes": "int",
        "saLifeTimeSeconds": "int"
      }
    ],
    "remoteVpnSite": {
      "id": "string"
    },
    "routingConfiguration": {
      "associatedRouteTable": {
        "id": "string"
      },
      "inboundRouteMap": {
        "id": "string"
      },
      "outboundRouteMap": {
        "id": "string"
      },
      "propagatedRouteTables": {
        "ids": [
          {
            "id": "string"
          }
        ],
        "labels": [ "string" ]
      },
      "vnetRoutes": {
        "staticRoutes": [
          {
            "addressPrefixes": [ "string" ],
            "name": "string",
            "nextHopIpAddress": "string"
          }
        ],
        "staticRoutesConfig": {
          "vnetLocalRouteOverrideCriteria": "string"
        }
      }
    },
    "routingWeight": "int",
    "sharedKey": "string",
    "trafficSelectorPolicies": [
      {
        "localAddressRanges": [ "string" ],
        "remoteAddressRanges": [ "string" ]
      }
    ],
    "useLocalAzureIpAddress": "bool",
    "usePolicyBasedTrafficSelectors": "bool",
    "vpnConnectionProtocolType": "string",
    "vpnLinkConnections": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "connectionBandwidth": "int",
          "dpdTimeoutSeconds": "int",
          "egressNatRules": [
            {
              "id": "string"
            }
          ],
          "enableBgp": "bool",
          "enableRateLimiting": "bool",
          "ingressNatRules": [
            {
              "id": "string"
            }
          ],
          "ipsecPolicies": [
            {
              "dhGroup": "string",
              "ikeEncryption": "string",
              "ikeIntegrity": "string",
              "ipsecEncryption": "string",
              "ipsecIntegrity": "string",
              "pfsGroup": "string",
              "saDataSizeKilobytes": "int",
              "saLifeTimeSeconds": "int"
            }
          ],
          "routingWeight": "int",
          "sharedKey": "string",
          "useLocalAzureIpAddress": "bool",
          "usePolicyBasedTrafficSelectors": "bool",
          "vpnConnectionProtocolType": "string",
          "vpnGatewayCustomBgpAddresses": [
            {
              "customBgpIpAddress": "string",
              "ipConfigurationId": "string"
            }
          ],
          "vpnLinkConnectionMode": "string",
          "vpnSiteLink": {
            "id": "string"
          }
        }
      }
    ]
  }
}

屬性值

vpnGateways/vpnConnections

名稱 描述
類型 資源類型 'Microsoft.Network/vpnGateways/vpnConnections'
apiVersion 資源 API 版本 '2023-11-01'
NAME 資源名稱

請參閱如何在 JSON ARM 樣本中設定子資源的名稱和類型。
字串 (必要)

字元限制:1-80

合法字元:
英數字元、底線、句號和連字號。

以英數字元開頭。 以英數字元或底線結尾。
properties VPN 連線的屬性。 VpnConnectionProperties

VpnConnectionProperties

名稱 描述
connectionBandwidth MBPS 的預期頻寬。 int
dpdTimeoutSeconds VPN 連線的 DPD 逾時以秒為單位。 int
enableBgp EnableBgp 旗標。 bool
enableInternetSecurity 啟用因特網安全性。 bool
enableRateLimiting EnableBgp 旗標。 bool
ipsecPolicies 此連線要考慮的IPSec原則。 IpsecPolicy[]
remoteVpnSite 已連線 VPN 網站的識別碼。 SubResource
routingConfiguration 路由組態,指出此聯機上相關聯的和傳播的路由表。 RoutingConfiguration
routingWeight VPN 連線的路由權數。 int
sharedKey VPN 連線的 SharedKey。 字串
trafficSelectorPolicies 此連線要考慮的流量選取器原則。 TrafficSelectorPolicy[]
useLocalAzureIpAddress 使用本機 Azure IP 起始連線。 bool
usePolicyBasedTrafficSelectors 啟用以原則為基礎的流量選取器。 bool
vpnConnectionProtocolType 用於此連線的連線通訊協定。 'IKEv1'
'IKEv2'
vpnLinkConnections 所有 VPN 網站連結連線到閘道的清單。 VpnSiteLinkConnection[]

IpsecPolicy

名稱 描述
dhGroup IKE 階段 1 中用於初始 SA 的 DH 群組。 'DHGroup1'
'DHGroup14'
'DHGroup2'
'DHGroup2048'
'DHGroup24'
'ECP256'
'ECP384'
必要) ('None'
ikeEncryption IKE 加密演算法 (IKE 階段 2) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
需要 『GCMAES256』 ()
ikeIntegrity IKE 完整性演算法 (IKE 階段 2) 。 'GCMAES128'
'GCMAES256'
'MD5'
'SHA1'
'SHA256'
'SHA384' (必要)
ipsecEncryption IPSec 加密演算法 (IKE 階段 1) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
'GCMAES192'
'GCMAES256'
必要) ('None'
ipsecIntegrity IPSec 完整性演算法 (IKE 階段 1) 。 'GCMAES128'
'GCMAES192'
'GCMAES256'
'MD5'
'SHA1'
必要) 'SHA256' (
pfsGroup IKE 階段 2 中用於新子 SA 的 Pfs 群組。 'ECP256'
'ECP384'
'None'
'PFS1'
'PFS14'
'PFS2'
'PFS2048'
'PFS24'
需要 『PFSMM』 ()
saDataSizeKilobytes IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) KB 的承載大小,供站對站 VPN 通道使用。 int (必要)
saLifeTimeSeconds IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) 存留期,以秒為單位,讓站對站 VPN 通道。 int (必要)

SubResource

名稱 描述
id 資源識別碼。 字串

RoutingConfiguration

名稱 描述
associatedRouteTable 與此 RoutingConfiguration 相關聯的資源標識碼 RouteTable。 SubResource
inboundRouteMap 與這個 RoutingConfiguration 相關聯的 RouteMap 資源識別碼,用於輸入學習的路由。 SubResource
outboundRouteMap 與這個 RoutingConfiguration 相關聯的RouteMap 資源標識碼,用於輸出公告的路由。 SubResource
propagatedRouteTables 要公告路由的 RouteTable 列表。 PropagatedRouteTable
vnetRoutes 控制從 VirtualHub 到虛擬網路連線之路由的路由清單。 VnetRoute

PropagatedRouteTable

名稱 描述
ids 所有 RouteTable 的資源標識符清單。 SubResource[]
標籤 標籤清單。 string[]

VnetRoute

名稱 描述
staticRoutes 所有靜態路由的清單。 StaticRoute[]
staticRoutesConfig 此 HubVnetConnection 上的靜態路由設定。 StaticRoutesConfig

StaticRoute

名稱 描述
addressPrefixes 所有位址前置詞的清單。 string[]
NAME VnetRoute 內唯一的 StaticRoute 名稱。 字串
nextHopIpAddress 下一個躍點的IP位址。 字串

StaticRoutesConfig

名稱 描述
vnetLocalRouteOverrideCriteria 判斷輪輻 vnet 中 NVA 是否略過具有輪輻目的地之流量的參數。 'Contains'
'Equal'

TrafficSelectorPolicy

名稱 描述
localAddressRanges CIDR 格式的本機位址空間集合。 string[] (必要)
remoteAddressRanges CIDR 格式的遠端位址空間集合。 string[] (必要)

VpnSiteLinkConnection

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties VPN 網站連結連線的屬性。 VpnSiteLinkConnectionProperties

VpnSiteLinkConnectionProperties

名稱 描述
connectionBandwidth MBPS 的預期頻寬。 int
dpdTimeoutSeconds VpnLink 連線的死對等偵測逾時數秒。 int
egressNatRules 輸出 NatRules 的清單。 SubResource[]
enableBgp EnableBgp 旗標。 bool
enableRateLimiting EnableBgp 旗標。 bool
ingressNatRules 輸入 NatRules 的清單。 SubResource[]
ipsecPolicies 此連線要考慮的IPSec原則。 IpsecPolicy[]
routingWeight VPN 連線的路由權數。 int
sharedKey VPN 連線的 SharedKey。 字串
useLocalAzureIpAddress 使用本機 Azure IP 起始連線。 bool
usePolicyBasedTrafficSelectors 啟用以原則為基礎的流量選取器。 bool
vpnConnectionProtocolType 用於此連線的連線通訊協定。 'IKEv1'
'IKEv2'
vpnGatewayCustomBgpAddresses vpnGatewayCustomBgpAddresses 使用此聯機。 GatewayCustomBgpIpAddressIpConfiguration[]
vpnLinkConnectionMode Vpn 連結連線模式。 'Default'
'InitiatorOnly'
'ResponderOnly'
vpnSiteLink 線上的 VPN 網站鏈接識別碼。 SubResource

GatewayCustomBgpIpAddressIpConfiguration

名稱 描述
customBgpIpAddress 屬於 IpconfigurationId 的自定義 BgpPeeringAddress。 字串 (必要)
ipConfigurationId 屬於閘道之 ipconfiguration 的 IpconfigurationId。 字串 (必要)

Terraform (AzAPI 提供者) 資源定義

vpnGateways/vpnConnections 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄

資源格式

若要建立 Microsoft.Network/vpnGateways/vpnConnections 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/vpnGateways/vpnConnections@2023-11-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      connectionBandwidth = int
      dpdTimeoutSeconds = int
      enableBgp = bool
      enableInternetSecurity = bool
      enableRateLimiting = bool
      ipsecPolicies = [
        {
          dhGroup = "string"
          ikeEncryption = "string"
          ikeIntegrity = "string"
          ipsecEncryption = "string"
          ipsecIntegrity = "string"
          pfsGroup = "string"
          saDataSizeKilobytes = int
          saLifeTimeSeconds = int
        }
      ]
      remoteVpnSite = {
        id = "string"
      }
      routingConfiguration = {
        associatedRouteTable = {
          id = "string"
        }
        inboundRouteMap = {
          id = "string"
        }
        outboundRouteMap = {
          id = "string"
        }
        propagatedRouteTables = {
          ids = [
            {
              id = "string"
            }
          ]
          labels = [
            "string"
          ]
        }
        vnetRoutes = {
          staticRoutes = [
            {
              addressPrefixes = [
                "string"
              ]
              name = "string"
              nextHopIpAddress = "string"
            }
          ]
          staticRoutesConfig = {
            vnetLocalRouteOverrideCriteria = "string"
          }
        }
      }
      routingWeight = int
      sharedKey = "string"
      trafficSelectorPolicies = [
        {
          localAddressRanges = [
            "string"
          ]
          remoteAddressRanges = [
            "string"
          ]
        }
      ]
      useLocalAzureIpAddress = bool
      usePolicyBasedTrafficSelectors = bool
      vpnConnectionProtocolType = "string"
      vpnLinkConnections = [
        {
          id = "string"
          name = "string"
          properties = {
            connectionBandwidth = int
            dpdTimeoutSeconds = int
            egressNatRules = [
              {
                id = "string"
              }
            ]
            enableBgp = bool
            enableRateLimiting = bool
            ingressNatRules = [
              {
                id = "string"
              }
            ]
            ipsecPolicies = [
              {
                dhGroup = "string"
                ikeEncryption = "string"
                ikeIntegrity = "string"
                ipsecEncryption = "string"
                ipsecIntegrity = "string"
                pfsGroup = "string"
                saDataSizeKilobytes = int
                saLifeTimeSeconds = int
              }
            ]
            routingWeight = int
            sharedKey = "string"
            useLocalAzureIpAddress = bool
            usePolicyBasedTrafficSelectors = bool
            vpnConnectionProtocolType = "string"
            vpnGatewayCustomBgpAddresses = [
              {
                customBgpIpAddress = "string"
                ipConfigurationId = "string"
              }
            ]
            vpnLinkConnectionMode = "string"
            vpnSiteLink = {
              id = "string"
            }
          }
        }
      ]
    }
  })
}

屬性值

vpnGateways/vpnConnections

名稱 描述
類型 資源類型 “Microsoft.Network/vpnGateways/vpnConnections@2023-11-01”
NAME 資源名稱 字串 (必要)

字元限制:1-80

合法字元:
英數字元、底線、句號和連字號。

以英數字元開頭。 以英數字元或底線結尾。
parent_id 此資源之父系的資源標識碼。 類型資源的標識碼: vpnGateways
properties VPN 連線的屬性。 VpnConnectionProperties

VpnConnectionProperties

名稱 描述
connectionBandwidth MBPS 的預期頻寬。 int
dpdTimeoutSeconds VPN 連線的 DPD 逾時以秒為單位。 int
enableBgp EnableBgp 旗標。 bool
enableInternetSecurity 啟用因特網安全性。 bool
enableRateLimiting EnableBgp 旗標。 bool
ipsecPolicies 此連線要考慮的IPSec原則。 IpsecPolicy[]
remoteVpnSite 已連線 VPN 網站的識別碼。 SubResource
routingConfiguration 路由組態,指出此聯機上相關聯的和傳播的路由表。 RoutingConfiguration
routingWeight VPN 連線的路由權數。 int
sharedKey VPN 連線的 SharedKey。 字串
trafficSelectorPolicies 此連線要考慮的流量選取器原則。 TrafficSelectorPolicy[]
useLocalAzureIpAddress 使用本機 Azure IP 起始連線。 bool
usePolicyBasedTrafficSelectors 啟用以原則為基礎的流量選取器。 bool
vpnConnectionProtocolType 用於此連線的連線通訊協定。 “IKEv1”
“IKEv2”
vpnLinkConnections 所有 VPN 網站連結連線到閘道的清單。 VpnSiteLinkConnection[]

IpsecPolicy

名稱 描述
dhGroup IKE 階段 1 中用於初始 SA 的 DH 群組。 “DHGroup1”
“DHGroup14”
“DHGroup2”
“DHGroup2048”
“DHGroup24”
“ECP256”
“ECP384”
“None” (必要)
ikeEncryption IKE 加密演算法 (IKE 階段 2) 。 “AES128”
“AES192”
“AES256”
“DES”
“DES3”
“GCMAES128”
“GCMAES256” (必要)
ikeIntegrity IKE 完整性演算法 (IKE 階段 2) 。 “GCMAES128”
“GCMAES256”
“MD5”
“SHA1”
“SHA256”
“SHA384” (必要)
ipsecEncryption IPSec 加密演算法 (IKE 階段 1) 。 “AES128”
“AES192”
“AES256”
“DES”
“DES3”
“GCMAES128”
“GCMAES192”
“GCMAES256”
“None” (必要)
ipsecIntegrity IPSec 完整性演算法 (IKE 階段 1) 。 “GCMAES128”
“GCMAES192”
“GCMAES256”
“MD5”
“SHA1”
“SHA256” (必要)
pfsGroup IKE 階段 2 中用於新子 SA 的 Pfs 群組。 “ECP256”
“ECP384”
"None"
“PFS1”
“PFS14”
“PFS2”
“PFS2048”
“PFS24”
“PFSMM” (必要)
saDataSizeKilobytes IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) KB 的承載大小,適用於站對站 VPN 通道。 需要 int ()
saLifeTimeSeconds IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) 存留期,以秒為單位,讓站對站 VPN 通道。 需要 int ()

SubResource

名稱 描述
id 資源識別碼。 字串

RoutingConfiguration

名稱 描述
associatedRouteTable 與此 RoutingConfiguration 相關聯的資源標識碼 RouteTable。 SubResource
inboundRouteMap 針對輸入學習的路由,與這個 RoutingConfiguration 相關聯的 RouteMap 資源識別符。 SubResource
outboundRouteMap 與這個 RoutingConfiguration 相關聯的RouteMap 資源標識碼,用於輸出公告的路由。 SubResource
propagatedRouteTables 要公告路由的 RouteTable 列表。 PropagatedRouteTable
vnetRoutes 控制從 VirtualHub 到虛擬網路連線路由的路由清單。 VnetRoute

PropagatedRouteTable

名稱 描述
ids 所有 RouteTable 的資源標識符清單。 SubResource[]
標籤 標籤清單。 string[]

VnetRoute

名稱 描述
staticRoutes 所有靜態路由的清單。 StaticRoute[]
staticRoutesConfig 此 HubVnetConnection 上的靜態路由設定。 StaticRoutesConfig

StaticRoute

名稱 描述
addressPrefixes 所有地址前綴的清單。 string[]
NAME VnetRoute 內唯一的 StaticRoute 名稱。 字串
nextHopIpAddress 下一個躍點的IP位址。 字串

StaticRoutesConfig

名稱 描述
vnetLocalRouteOverrideCriteria 判斷輪輻 vnet 中 NVA 是否略過輪輻中具有目的地之流量的參數。 “Contains”
“Equal”

TrafficSelectorPolicy

名稱 描述
localAddressRanges CIDR 格式的本機位址空間集合。 string[] (必要)
remoteAddressRanges CIDR 格式的遠端位址空間集合。 string[] (必要)

VpnSiteLinkConnection

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties VPN 網站連結連線的屬性。 VpnSiteLinkConnectionProperties

VpnSiteLinkConnectionProperties

名稱 描述
connectionBandwidth MBPS 的預期頻寬。 int
dpdTimeoutSeconds VpnLink 連線的死對等偵測逾時,以秒為單位。 int
egressNatRules 輸出 NatRules 的清單。 SubResource[]
enableBgp EnableBgp 旗標。 bool
enableRateLimiting EnableBgp 旗標。 bool
ingressNatRules 輸入 NatRules 的清單。 SubResource[]
ipsecPolicies 此連線要考慮的IPSec原則。 IpsecPolicy[]
routingWeight VPN 連線的路由權數。 int
sharedKey Vpn 連線的 SharedKey。 字串
useLocalAzureIpAddress 使用本機 Azure IP 起始連線。 bool
usePolicyBasedTrafficSelectors 啟用以原則為基礎的流量選取器。 bool
vpnConnectionProtocolType 用於此連線的連線通訊協定。 “IKEv1”
“IKEv2”
vpnGatewayCustomBgpAddresses vpnGatewayCustomBgpAddresses 由此連線使用。 GatewayCustomBgpIpAddressIpConfiguration[]
vpnLinkConnectionMode Vpn 連結連線模式。 “預設值”
“InitiatorOnly”
“ResponderOnly”
vpnSiteLink 已連線 VPN 網站鏈接的識別碼。 SubResource

GatewayCustomBgpIpAddressIpConfiguration

名稱 描述
customBgpIpAddress 屬於 IpconfigurationId 的自定義 BgpPeeringAddress。 需要字串 ()
ipConfigurationId 屬於閘道之 ipconfiguration 的 IpconfigurationId。 需要字串 ()