Microsoft.Network expressRoute交叉連線 2022-01-01

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.Network/expressRouteCrossConnections@2022-01-01' = {
  location: 'string'
  name: 'string'
  properties: {
    expressRouteCircuit: {
      id: 'string'
    }
    peerings: [
      {
        id: 'string'
        name: 'string'
        properties: {
          gatewayManagerEtag: 'string'
          ipv6PeeringConfig: {
            microsoftPeeringConfig: {
              advertisedCommunities: [
                'string'
              ]
              advertisedPublicPrefixes: [
                'string'
              ]
              customerASN: int
              legacyMode: int
              routingRegistryName: 'string'
            }
            primaryPeerAddressPrefix: 'string'
            routeFilter: {
              id: 'string'
            }
            secondaryPeerAddressPrefix: 'string'
            state: 'string'
          }
          microsoftPeeringConfig: {
            advertisedCommunities: [
              'string'
            ]
            advertisedPublicPrefixes: [
              'string'
            ]
            customerASN: int
            legacyMode: int
            routingRegistryName: 'string'
          }
          peerASN: int
          peeringType: 'string'
          primaryPeerAddressPrefix: 'string'
          secondaryPeerAddressPrefix: 'string'
          sharedKey: 'string'
          state: 'string'
          vlanId: int
        }
      }
    ]
    serviceProviderNotes: 'string'
    serviceProviderProvisioningState: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.Network/expressRouteCrossConnections

名字 描述 價值
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 快速路由交叉連線的屬性。 ExpressRouteCrossConnectionProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ExpressRouteCircuitPeeringConfig

名字 描述 價值
公告社群 bgp 對等互連的社群。 針對 Microsoft 對等互連指定。 字串[]
advertisedPublicPrefixes AdvertisedPublicPrefixes 的參考。 字串[]
客戶ASN 對等互連的 CustomerASN。 整數 (int)
legacyMode 對等互連的舊版模式。 整數 (int)
routingRegistryName (路由註冊表名稱) 組態的 RoutingRegistryName。 字串

ExpressRouteCircuitReference

名字 描述 價值
識別碼 對應的 Express Route 線路標識碼。 字串

ExpressRouteCrossConnection對等互連

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 Express Route 交叉連線對等互連的屬性。 ExpressRouteCrossConnectionPeeringProperties

ExpressRouteCrossConnectionPeeringProperties

名字 描述 價值
gatewayManagerEtag GatewayManager Etag。 字串
ipv6對等配置 IPv6 對等互連設定。 IPv6ExpressRouteCircuitPeeringConfig
microsoftPeeringConfig Microsoft對等互連組態。 ExpressRouteCircuitPeeringConfig
對等 ASN 對等 ASN。 int

約束:
最小值 = 1
最大值 = 4294967295
對等類型 對等互連類型。 “AzurePrivatePeering”
“AzurePublicPeering”
“MicrosoftPeering”
primaryPeerAddressPrefix 主要位址前置詞。 字串
secondaryPeerAddressPrefix 次要位址前置詞。 字串
共享密鑰 共用金鑰。 字串
狀態 對等互連狀態。 “已禁用”
“已啟用”
vlanId VLAN 識別碼。 整數 (int)

ExpressRouteCrossConnectionProperties

名字 描述 價值
expressRouteCircuit ExpressRouteCircuit。 ExpressRouteCircuitReference
對等互連 對等互連的清單。 ExpressRouteCrossConnectionPeering[]
serviceProviderNotes 線上提供者所設定的其他唯讀附註。 字串
serviceProviderProvisioningState 線上提供者系統中線路的布建狀態。 '取消布建'
“未預配”
“已配置”
“正在配置”

IPv6ExpressRouteCircuitPeeringConfig

名字 描述 價值
microsoftPeeringConfig Microsoft對等互連組態。 ExpressRouteCircuitPeeringConfig
primaryPeerAddressPrefix 主要位址前置詞。 字串
routeFilter RouteFilter 資源的參考。 子資源
secondaryPeerAddressPrefix 次要位址前置詞。 字串
狀態 對等互連的狀態。 “已禁用”
“已啟用”

資源標籤

名字 描述 價值

子資源

名字 描述 價值
識別碼 資源標識碼。 字串

ARM 樣本資源定義

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

使用範例

資源格式

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

{
  "type": "Microsoft.Network/expressRouteCrossConnections",
  "apiVersion": "2022-01-01",
  "name": "string",
  "location": "string",
  "properties": {
    "expressRouteCircuit": {
      "id": "string"
    },
    "peerings": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "gatewayManagerEtag": "string",
          "ipv6PeeringConfig": {
            "microsoftPeeringConfig": {
              "advertisedCommunities": [ "string" ],
              "advertisedPublicPrefixes": [ "string" ],
              "customerASN": "int",
              "legacyMode": "int",
              "routingRegistryName": "string"
            },
            "primaryPeerAddressPrefix": "string",
            "routeFilter": {
              "id": "string"
            },
            "secondaryPeerAddressPrefix": "string",
            "state": "string"
          },
          "microsoftPeeringConfig": {
            "advertisedCommunities": [ "string" ],
            "advertisedPublicPrefixes": [ "string" ],
            "customerASN": "int",
            "legacyMode": "int",
            "routingRegistryName": "string"
          },
          "peerASN": "int",
          "peeringType": "string",
          "primaryPeerAddressPrefix": "string",
          "secondaryPeerAddressPrefix": "string",
          "sharedKey": "string",
          "state": "string",
          "vlanId": "int"
        }
      }
    ],
    "serviceProviderNotes": "string",
    "serviceProviderProvisioningState": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.Network/expressRouteCrossConnections

名字 描述 價值
apiVersion API 版本 '2022-01-01'
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 快速路由交叉連線的屬性。 ExpressRouteCrossConnectionProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.Network/expressRouteCrossConnections”

ExpressRouteCircuitPeeringConfig

名字 描述 價值
公告社群 bgp 對等互連的社群。 針對 Microsoft 對等互連指定。 字串[]
advertisedPublicPrefixes AdvertisedPublicPrefixes 的參考。 字串[]
客戶ASN 對等互連的 CustomerASN。 整數 (int)
legacyMode 對等互連的舊版模式。 整數 (int)
routingRegistryName (路由註冊表名稱) 組態的 RoutingRegistryName。 字串

ExpressRouteCircuitReference

名字 描述 價值
識別碼 對應的 Express Route 線路標識碼。 字串

ExpressRouteCrossConnection對等互連

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 Express Route 交叉連線對等互連的屬性。 ExpressRouteCrossConnectionPeeringProperties

ExpressRouteCrossConnectionPeeringProperties

名字 描述 價值
gatewayManagerEtag GatewayManager Etag。 字串
ipv6對等配置 IPv6 對等互連設定。 IPv6ExpressRouteCircuitPeeringConfig
microsoftPeeringConfig Microsoft對等互連組態。 ExpressRouteCircuitPeeringConfig
對等 ASN 對等 ASN。 int

約束:
最小值 = 1
最大值 = 4294967295
對等類型 對等互連類型。 “AzurePrivatePeering”
“AzurePublicPeering”
“MicrosoftPeering”
primaryPeerAddressPrefix 主要位址前置詞。 字串
secondaryPeerAddressPrefix 次要位址前置詞。 字串
共享密鑰 共用金鑰。 字串
狀態 對等互連狀態。 “已禁用”
“已啟用”
vlanId VLAN 識別碼。 整數 (int)

ExpressRouteCrossConnectionProperties

名字 描述 價值
expressRouteCircuit ExpressRouteCircuit。 ExpressRouteCircuitReference
對等互連 對等互連的清單。 ExpressRouteCrossConnectionPeering[]
serviceProviderNotes 線上提供者所設定的其他唯讀附註。 字串
serviceProviderProvisioningState 線上提供者系統中線路的布建狀態。 '取消布建'
“未預配”
“已配置”
“正在配置”

IPv6ExpressRouteCircuitPeeringConfig

名字 描述 價值
microsoftPeeringConfig Microsoft對等互連組態。 ExpressRouteCircuitPeeringConfig
primaryPeerAddressPrefix 主要位址前置詞。 字串
routeFilter RouteFilter 資源的參考。 子資源
secondaryPeerAddressPrefix 次要位址前置詞。 字串
狀態 對等互連的狀態。 “已禁用”
“已啟用”

資源標籤

名字 描述 價值

子資源

名字 描述 價值
識別碼 資源標識碼。 字串

Terraform (AzAPI 提供者) 資源定義

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

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/expressRouteCrossConnections@2022-01-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      expressRouteCircuit = {
        id = "string"
      }
      peerings = [
        {
          id = "string"
          name = "string"
          properties = {
            gatewayManagerEtag = "string"
            ipv6PeeringConfig = {
              microsoftPeeringConfig = {
                advertisedCommunities = [
                  "string"
                ]
                advertisedPublicPrefixes = [
                  "string"
                ]
                customerASN = int
                legacyMode = int
                routingRegistryName = "string"
              }
              primaryPeerAddressPrefix = "string"
              routeFilter = {
                id = "string"
              }
              secondaryPeerAddressPrefix = "string"
              state = "string"
            }
            microsoftPeeringConfig = {
              advertisedCommunities = [
                "string"
              ]
              advertisedPublicPrefixes = [
                "string"
              ]
              customerASN = int
              legacyMode = int
              routingRegistryName = "string"
            }
            peerASN = int
            peeringType = "string"
            primaryPeerAddressPrefix = "string"
            secondaryPeerAddressPrefix = "string"
            sharedKey = "string"
            state = "string"
            vlanId = int
          }
        }
      ]
      serviceProviderNotes = "string"
      serviceProviderProvisioningState = "string"
    }
  }
}

屬性值

Microsoft.Network/expressRouteCrossConnections

名字 描述 價值
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 快速路由交叉連線的屬性。 ExpressRouteCrossConnectionProperties
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.Network/expressRouteCrossConnections@2022-01-01”

ExpressRouteCircuitPeeringConfig

名字 描述 價值
公告社群 bgp 對等互連的社群。 針對 Microsoft 對等互連指定。 字串[]
advertisedPublicPrefixes AdvertisedPublicPrefixes 的參考。 字串[]
客戶ASN 對等互連的 CustomerASN。 整數 (int)
legacyMode 對等互連的舊版模式。 整數 (int)
routingRegistryName (路由註冊表名稱) 組態的 RoutingRegistryName。 字串

ExpressRouteCircuitReference

名字 描述 價值
識別碼 對應的 Express Route 線路標識碼。 字串

ExpressRouteCrossConnection對等互連

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 Express Route 交叉連線對等互連的屬性。 ExpressRouteCrossConnectionPeeringProperties

ExpressRouteCrossConnectionPeeringProperties

名字 描述 價值
gatewayManagerEtag GatewayManager Etag。 字串
ipv6對等配置 IPv6 對等互連設定。 IPv6ExpressRouteCircuitPeeringConfig
microsoftPeeringConfig Microsoft對等互連組態。 ExpressRouteCircuitPeeringConfig
對等 ASN 對等 ASN。 int

約束:
最小值 = 1
最大值 = 4294967295
對等類型 對等互連類型。 “AzurePrivatePeering”
“AzurePublicPeering”
“MicrosoftPeering”
primaryPeerAddressPrefix 主要位址前置詞。 字串
secondaryPeerAddressPrefix 次要位址前置詞。 字串
共享密鑰 共用金鑰。 字串
狀態 對等互連狀態。 “已禁用”
“已啟用”
vlanId VLAN 識別碼。 整數 (int)

ExpressRouteCrossConnectionProperties

名字 描述 價值
expressRouteCircuit ExpressRouteCircuit。 ExpressRouteCircuitReference
對等互連 對等互連的清單。 ExpressRouteCrossConnectionPeering[]
serviceProviderNotes 線上提供者所設定的其他唯讀附註。 字串
serviceProviderProvisioningState 線上提供者系統中線路的布建狀態。 '取消布建'
“未預配”
“已配置”
“正在配置”

IPv6ExpressRouteCircuitPeeringConfig

名字 描述 價值
microsoftPeeringConfig Microsoft對等互連組態。 ExpressRouteCircuitPeeringConfig
primaryPeerAddressPrefix 主要位址前置詞。 字串
routeFilter RouteFilter 資源的參考。 子資源
secondaryPeerAddressPrefix 次要位址前置詞。 字串
狀態 對等互連的狀態。 “已禁用”
“已啟用”

資源標籤

名字 描述 價值

子資源

名字 描述 價值
識別碼 資源標識碼。 字串