Microsoft.Network expressRouteGateways 2021-08-01

Bicep 資源定義

expressRouteGateways 資源類型可以使用目標作業進行部署:

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

資源格式

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

resource symbolicname 'Microsoft.Network/expressRouteGateways@2021-08-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    autoScaleConfiguration: {
      bounds: {
        max: int
        min: int
      }
    }
    expressRouteConnections: [
      {
        id: 'string'
        name: 'string'
        properties: {
          authorizationKey: 'string'
          enableInternetSecurity: bool
          expressRouteCircuitPeering: {
            id: 'string'
          }
          expressRouteGatewayBypass: bool
          routingConfiguration: {
            associatedRouteTable: {
              id: 'string'
            }
            propagatedRouteTables: {
              ids: [
                {
                  id: 'string'
                }
              ]
              labels: [
                'string'
              ]
            }
            vnetRoutes: {
              staticRoutes: [
                {
                  addressPrefixes: [
                    'string'
                  ]
                  name: 'string'
                  nextHopIpAddress: 'string'
                }
              ]
            }
          }
          routingWeight: int
        }
      }
    ]
    virtualHub: {
      id: 'string'
    }
  }
}

屬性值

expressRouteGateways

名稱 描述
NAME 資源名稱 字串 (必要)
location 資源位置。 字串
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標記
properties 快速路由閘道的屬性。 ExpressRouteGatewayProperties

ExpressRouteGatewayProperties

名稱 描述
autoScaleConfiguration 自動調整的組態。 ExpressRouteGatewayPropertiesAutoScaleConfiguration
expressRouteConnections ExpressRoute 閘道的 ExpressRoute 連線清單。 ExpressRouteConnection[]
virtualHub ExpressRoute 閘道所在的虛擬中樞,或將會部署。 VirtualHubId (必要)

ExpressRouteGatewayPropertiesAutoScaleConfiguration

名稱 描述
邊界 要部署的縮放單位數目下限和上限。 ExpressRouteGatewayPropertiesAutoScaleConfigurationB...

ExpressRouteGatewayPropertiesAutoScaleConfigurationB...

名稱 描述
最大值 針對 ExpressRoute 閘道部署的縮放單位數目上限。 int
分鐘 針對 ExpressRoute 閘道部署的縮放單位數目下限。 int

ExpressRouteConnection

名稱 描述
id 資源識別碼。 字串
NAME 資源名稱。 字串 (必要)
properties 快速路由連線的屬性。 ExpressRouteConnectionProperties

ExpressRouteConnectionProperties

名稱 描述
authorizationKey 用來建立連線的授權金鑰。 字串
enableInternetSecurity 啟用因特網安全性。 bool
expressRouteCircuitPeering ExpressRoute 線路對等互連。 ExpressRouteCircuitPeeringId (必要)
expressRouteGatewayBypass 啟用FastPath至 vWan 防火牆中樞。 bool
routingConfiguration 路由組態,指出此聯機上相關聯的和傳播的路由表。 RoutingConfiguration
routingWeight 與連線相關聯的路由權數。 int

ExpressRouteCircuitPeeringId

名稱 描述
id ExpressRoute 線路對等互連的標識碼。 字串

RoutingConfiguration

名稱 描述
associatedRouteTable 與此 RoutingConfiguration 相關聯的資源標識碼 RouteTable。 SubResource
propagatedRouteTables 要公告路由的 RouteTable 列表。 PropagatedRouteTable
vnetRoutes 控制從 VirtualHub 到虛擬網路連線之路由的路由清單。 VnetRoute

SubResource

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

PropagatedRouteTable

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

VnetRoute

名稱 描述
staticRoutes 所有靜態路由的清單。 StaticRoute[]

StaticRoute

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

VirtualHubId

名稱 描述
id ExpressRoute 閘道所在的虛擬中樞資源 URI,或將會部署。 虛擬中樞資源和 ExpressRoute 閘道資源位於相同的訂用帳戶中。 字串

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
Azure Virtual WAN 路由意圖和原則

部署至 Azure
此範本會布建具有兩個已啟用路由意圖和原則功能的中樞的 Azure Virtual WAN。
Azure Virtual WAN (vWAN) 多中樞部署

部署至 Azure
此範本可讓您建立 Azure Virtual WAN (vWAN) 多中樞部署,包括所有閘道和 VNET 連線。
Azure vWAN 多中樞部署與自定義路由表

部署至 Azure
此範本可讓您建立 Azure Virtual WAN (vWAN) 多中樞部署,包括所有網關和 VNET 連線,並示範路由表用於自定義路由的使用方式。

ARM 範本資源定義

expressRouteGateways 資源類型可以使用目標作業進行部署:

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

資源格式

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

{
  "type": "Microsoft.Network/expressRouteGateways",
  "apiVersion": "2021-08-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "autoScaleConfiguration": {
      "bounds": {
        "max": "int",
        "min": "int"
      }
    },
    "expressRouteConnections": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "authorizationKey": "string",
          "enableInternetSecurity": "bool",
          "expressRouteCircuitPeering": {
            "id": "string"
          },
          "expressRouteGatewayBypass": "bool",
          "routingConfiguration": {
            "associatedRouteTable": {
              "id": "string"
            },
            "propagatedRouteTables": {
              "ids": [
                {
                  "id": "string"
                }
              ],
              "labels": [ "string" ]
            },
            "vnetRoutes": {
              "staticRoutes": [
                {
                  "addressPrefixes": [ "string" ],
                  "name": "string",
                  "nextHopIpAddress": "string"
                }
              ]
            }
          },
          "routingWeight": "int"
        }
      }
    ],
    "virtualHub": {
      "id": "string"
    }
  }
}

屬性值

expressRouteGateways

名稱 描述
類型 資源類型 'Microsoft.Network/expressRouteGateways'
apiVersion 資源 API 版本 '2021-08-01'
NAME 資源名稱 字串 (必要)
location 資源位置。 字串
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標記
properties 快速路由閘道的屬性。 ExpressRouteGatewayProperties

ExpressRouteGatewayProperties

名稱 描述
autoScaleConfiguration 自動調整的組態。 ExpressRouteGatewayPropertiesAutoScaleConfiguration
expressRouteConnections ExpressRoute 閘道的 ExpressRoute 連線清單。 ExpressRouteConnection[]
virtualHub ExpressRoute 閘道所在的虛擬中樞,或將會部署。 VirtualHubId (必要)

ExpressRouteGatewayPropertiesAutoScaleConfiguration

名稱 描述
邊界 要部署的縮放單位數目下限和上限。 ExpressRouteGatewayPropertiesAutoScaleConfigurationB...

ExpressRouteGatewayPropertiesAutoScaleConfigurationB...

名稱 描述
最大值 針對 ExpressRoute 閘道部署的縮放單位數目上限。 int
分鐘 針對 ExpressRoute 閘道部署的縮放單位數目下限。 int

ExpressRouteConnection

名稱 描述
id 資源識別碼。 字串
NAME 資源名稱。 字串 (必要)
properties 快速路由連線的屬性。 ExpressRouteConnectionProperties

ExpressRouteConnectionProperties

名稱 描述
authorizationKey 用來建立連線的授權金鑰。 字串
enableInternetSecurity 啟用因特網安全性。 bool
expressRouteCircuitPeering ExpressRoute 線路對等互連。 ExpressRouteCircuitPeeringId (必要)
expressRouteGatewayBypass 啟用FastPath至 vWan 防火牆中樞。 bool
routingConfiguration 路由組態,指出此聯機上相關聯的和傳播的路由表。 RoutingConfiguration
routingWeight 與連線相關聯的路由權數。 int

ExpressRouteCircuitPeeringId

名稱 描述
id ExpressRoute 線路對等互連的標識碼。 字串

RoutingConfiguration

名稱 描述
associatedRouteTable 與此 RoutingConfiguration 相關聯的資源標識碼 RouteTable。 SubResource
propagatedRouteTables 要公告路由的 RouteTable 列表。 PropagatedRouteTable
vnetRoutes 控制從 VirtualHub 到虛擬網路連線之路由的路由清單。 VnetRoute

SubResource

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

PropagatedRouteTable

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

VnetRoute

名稱 描述
staticRoutes 所有靜態路由的清單。 StaticRoute[]

StaticRoute

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

VirtualHubId

名稱 描述
id ExpressRoute 閘道所在的虛擬中樞資源 URI,或將會部署。 虛擬中樞資源和 ExpressRoute 閘道資源位於相同的訂用帳戶中。 字串

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
Azure Virtual WAN 路由意圖和原則

部署至 Azure
此範本會布建 Azure Virtual WAN,並啟用路由意圖和原則功能的兩個中樞。
Azure Virtual WAN (vWAN) 多中樞部署

部署至 Azure
此範本可讓您建立 Azure Virtual WAN (vWAN) 多中樞部署,包括所有閘道和 VNET 連線。
Azure vWAN 多中樞部署與自定義路由表

部署至 Azure
此範本可讓您建立 Azure Virtual WAN (vWAN) 多中樞部署,包括所有網關和 VNET 連線,並示範路由表用於自定義路由的使用方式。

Terraform (AzAPI 提供者) 資源定義

expressRouteGateways 資源類型可以使用目標作業進行部署:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/expressRouteGateways@2021-08-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      autoScaleConfiguration = {
        bounds = {
          max = int
          min = int
        }
      }
      expressRouteConnections = [
        {
          id = "string"
          name = "string"
          properties = {
            authorizationKey = "string"
            enableInternetSecurity = bool
            expressRouteCircuitPeering = {
              id = "string"
            }
            expressRouteGatewayBypass = bool
            routingConfiguration = {
              associatedRouteTable = {
                id = "string"
              }
              propagatedRouteTables = {
                ids = [
                  {
                    id = "string"
                  }
                ]
                labels = [
                  "string"
                ]
              }
              vnetRoutes = {
                staticRoutes = [
                  {
                    addressPrefixes = [
                      "string"
                    ]
                    name = "string"
                    nextHopIpAddress = "string"
                  }
                ]
              }
            }
            routingWeight = int
          }
        }
      ]
      virtualHub = {
        id = "string"
      }
    }
  })
}

屬性值

expressRouteGateways

名稱 描述
類型 資源類型 “Microsoft.Network/expressRouteGateways@2021-08-01”
NAME 資源名稱 需要字串 ()
location 資源位置。 字串
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 需要字串 ()
tags 資源標籤。 標記名稱和值的字典。
properties Express Route 閘道的屬性。 ExpressRouteGatewayProperties

ExpressRouteGatewayProperties

名稱 描述
autoScaleConfiguration 自動調整的組態。 ExpressRouteGatewayPropertiesAutoScaleConfiguration
expressRouteConnections ExpressRoute 閘道的 ExpressRoute 連線清單。 ExpressRouteConnection[]
virtualHub ExpressRoute 閘道所在的虛擬中樞,或將會部署。 VirtualHubId (必要)

ExpressRouteGatewayPropertiesAutoScaleConfiguration

名稱 描述
邊界 要部署的縮放單位數目下限和上限。 ExpressRouteGatewayPropertiesAutoScaleConfigurationB...

ExpressRouteGatewayPropertiesAutoScaleConfigurationB...

名稱 描述
最大值 針對 ExpressRoute 閘道部署的縮放單位數目上限。 int
分鐘 針對 ExpressRoute 閘道部署的縮放單位數目下限。 int

ExpressRouteConnection

名稱 描述
id 資源識別碼。 字串
NAME 資源名稱。 字串 (必要)
properties 快速路由連線的屬性。 ExpressRouteConnectionProperties

ExpressRouteConnectionProperties

名稱 描述
authorizationKey 用來建立連線的授權金鑰。 字串
enableInternetSecurity 啟用因特網安全性。 bool
expressRouteCircuitPeering ExpressRoute 線路對等互連。 ExpressRouteCircuitPeeringId (必要)
expressRouteGatewayBypass 啟用FastPath至 vWan 防火牆中樞。 bool
routingConfiguration 路由組態,指出此聯機上相關聯的和傳播的路由表。 RoutingConfiguration
routingWeight 與連線相關聯的路由權數。 int

ExpressRouteCircuitPeeringId

名稱 描述
id ExpressRoute 線路對等互連的標識碼。 字串

RoutingConfiguration

名稱 描述
associatedRouteTable 與此 RoutingConfiguration 相關聯的資源標識碼 RouteTable。 SubResource
propagatedRouteTables 要公告路由的 RouteTable 列表。 PropagatedRouteTable
vnetRoutes 控制從 VirtualHub 到虛擬網路連線之路由的路由清單。 VnetRoute

SubResource

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

PropagatedRouteTable

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

VnetRoute

名稱 描述
staticRoutes 所有靜態路由的清單。 StaticRoute[]

StaticRoute

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

VirtualHubId

名稱 描述
id ExpressRoute 閘道所在的虛擬中樞資源 URI,或將會部署。 虛擬中樞資源和 ExpressRoute 閘道資源位於相同的訂用帳戶中。 字串