共用方式為


Microsoft.Network 虛擬網路Taps

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.Network/virtualNetworkTaps@2025-05-01' = {
  location: 'string'
  name: 'string'
  properties: {
    destinationLoadBalancerFrontEndIPConfiguration: {
      id: 'string'
      name: 'string'
      properties: {
        gatewayLoadBalancer: {
          id: 'string'
        }
        privateIPAddress: 'string'
        privateIPAddressVersion: 'string'
        privateIPAllocationMethod: 'string'
        publicIPAddress: {
          extendedLocation: {
            name: 'string'
            type: 'string'
          }
          id: 'string'
          location: 'string'
          properties: {
            ddosSettings: {
              ddosProtectionPlan: {
                id: 'string'
              }
              protectionMode: 'string'
            }
            deleteOption: 'string'
            dnsSettings: {
              domainNameLabel: 'string'
              domainNameLabelScope: 'string'
              fqdn: 'string'
              reverseFqdn: 'string'
            }
            idleTimeoutInMinutes: int
            ipAddress: 'string'
            ipTags: [
              {
                ipTagType: 'string'
                tag: 'string'
              }
            ]
            linkedPublicIPAddress: ...
            migrationPhase: 'string'
            natGateway: {
              id: 'string'
              location: 'string'
              properties: {
                idleTimeoutInMinutes: int
                publicIpAddresses: [
                  {
                    id: 'string'
                  }
                ]
                publicIpAddressesV6: [
                  {
                    id: 'string'
                  }
                ]
                publicIpPrefixes: [
                  {
                    id: 'string'
                  }
                ]
                publicIpPrefixesV6: [
                  {
                    id: 'string'
                  }
                ]
                serviceGateway: {
                  id: 'string'
                }
                sourceVirtualNetwork: {
                  id: 'string'
                }
              }
              sku: {
                name: 'string'
              }
              tags: {
                {customized property}: 'string'
              }
              zones: [
                'string'
              ]
            }
            publicIPAddressVersion: 'string'
            publicIPAllocationMethod: 'string'
            publicIPPrefix: {
              id: 'string'
            }
            servicePublicIPAddress: ...
          }
          sku: {
            name: 'string'
            tier: 'string'
          }
          tags: {
            {customized property}: 'string'
          }
          zones: [
            'string'
          ]
        }
        publicIPPrefix: {
          id: 'string'
        }
        subnet: {
          id: 'string'
          name: 'string'
          properties: {
            addressPrefix: 'string'
            addressPrefixes: [
              'string'
            ]
            applicationGatewayIPConfigurations: [
              {
                id: 'string'
                name: 'string'
                properties: {
                  subnet: {
                    id: 'string'
                  }
                }
              }
            ]
            defaultOutboundAccess: bool
            delegations: [
              {
                id: 'string'
                name: 'string'
                properties: {
                  serviceName: 'string'
                }
                type: 'string'
              }
            ]
            ipAllocations: [
              {
                id: 'string'
              }
            ]
            ipamPoolPrefixAllocations: [
              {
                numberOfIpAddresses: 'string'
                pool: {
                  id: 'string'
                }
              }
            ]
            natGateway: {
              id: 'string'
            }
            networkSecurityGroup: {
              id: 'string'
              location: 'string'
              properties: {
                flushConnection: bool
                securityRules: [
                  {
                    id: 'string'
                    name: 'string'
                    properties: {
                      access: 'string'
                      description: 'string'
                      destinationAddressPrefix: 'string'
                      destinationAddressPrefixes: [
                        'string'
                      ]
                      destinationApplicationSecurityGroups: [
                        {
                          id: 'string'
                          location: 'string'
                          properties: {}
                          tags: {
                            {customized property}: 'string'
                          }
                        }
                      ]
                      destinationPortRange: 'string'
                      destinationPortRanges: [
                        'string'
                      ]
                      direction: 'string'
                      priority: int
                      protocol: 'string'
                      sourceAddressPrefix: 'string'
                      sourceAddressPrefixes: [
                        'string'
                      ]
                      sourceApplicationSecurityGroups: [
                        {
                          id: 'string'
                          location: 'string'
                          properties: {}
                          tags: {
                            {customized property}: 'string'
                          }
                        }
                      ]
                      sourcePortRange: 'string'
                      sourcePortRanges: [
                        'string'
                      ]
                    }
                    type: 'string'
                  }
                ]
              }
              tags: {
                {customized property}: 'string'
              }
            }
            privateEndpointNetworkPolicies: 'string'
            privateLinkServiceNetworkPolicies: 'string'
            routeTable: {
              id: 'string'
              location: 'string'
              properties: {
                disableBgpRoutePropagation: bool
                routes: [
                  {
                    id: 'string'
                    name: 'string'
                    properties: {
                      addressPrefix: 'string'
                      nextHopIpAddress: 'string'
                      nextHopType: 'string'
                    }
                    type: 'string'
                  }
                ]
              }
              tags: {
                {customized property}: 'string'
              }
            }
            serviceEndpointPolicies: [
              {
                id: 'string'
                location: 'string'
                properties: {
                  contextualServiceEndpointPolicies: [
                    'string'
                  ]
                  serviceAlias: 'string'
                  serviceEndpointPolicyDefinitions: [
                    {
                      id: 'string'
                      name: 'string'
                      properties: {
                        description: 'string'
                        service: 'string'
                        serviceResources: [
                          'string'
                        ]
                      }
                      type: 'string'
                    }
                  ]
                }
                tags: {
                  {customized property}: 'string'
                }
              }
            ]
            serviceEndpoints: [
              {
                locations: [
                  'string'
                ]
                networkIdentifier: {
                  id: 'string'
                }
                service: 'string'
              }
            ]
            serviceGateway: {
              id: 'string'
            }
            sharingScope: 'string'
          }
          type: 'string'
        }
      }
      zones: [
        'string'
      ]
    }
    destinationNetworkInterfaceIPConfiguration: {
      id: 'string'
      name: 'string'
      properties: {
        applicationGatewayBackendAddressPools: [
          {
            id: 'string'
            name: 'string'
            properties: {
              backendAddresses: [
                {
                  fqdn: 'string'
                  ipAddress: 'string'
                }
              ]
            }
          }
        ]
        applicationSecurityGroups: [
          {
            id: 'string'
            location: 'string'
            properties: {}
            tags: {
              {customized property}: 'string'
            }
          }
        ]
        gatewayLoadBalancer: {
          id: 'string'
        }
        loadBalancerBackendAddressPools: [
          {
            id: 'string'
            name: 'string'
            properties: {
              drainPeriodInSeconds: int
              loadBalancerBackendAddresses: [
                {
                  name: 'string'
                  properties: {
                    adminState: 'string'
                    ipAddress: 'string'
                    loadBalancerFrontendIPConfiguration: {
                      id: 'string'
                    }
                    subnet: {
                      id: 'string'
                    }
                    virtualNetwork: {
                      id: 'string'
                    }
                  }
                }
              ]
              location: 'string'
              syncMode: 'string'
              tunnelInterfaces: [
                {
                  identifier: int
                  port: int
                  protocol: 'string'
                  type: 'string'
                }
              ]
              virtualNetwork: {
                id: 'string'
              }
            }
          }
        ]
        loadBalancerInboundNatRules: [
          {
            id: 'string'
            name: 'string'
            properties: {
              backendAddressPool: {
                id: 'string'
              }
              backendPort: int
              enableFloatingIP: bool
              enableTcpReset: bool
              frontendIPConfiguration: {
                id: 'string'
              }
              frontendPort: int
              frontendPortRangeEnd: int
              frontendPortRangeStart: int
              idleTimeoutInMinutes: int
              protocol: 'string'
            }
          }
        ]
        primary: bool
        privateIPAddress: 'string'
        privateIPAddressPrefixLength: int
        privateIPAddressVersion: 'string'
        privateIPAllocationMethod: 'string'
        publicIPAddress: {
          extendedLocation: {
            name: 'string'
            type: 'string'
          }
          id: 'string'
          location: 'string'
          properties: {
            ddosSettings: {
              ddosProtectionPlan: {
                id: 'string'
              }
              protectionMode: 'string'
            }
            deleteOption: 'string'
            dnsSettings: {
              domainNameLabel: 'string'
              domainNameLabelScope: 'string'
              fqdn: 'string'
              reverseFqdn: 'string'
            }
            idleTimeoutInMinutes: int
            ipAddress: 'string'
            ipTags: [
              {
                ipTagType: 'string'
                tag: 'string'
              }
            ]
            linkedPublicIPAddress: ...
            migrationPhase: 'string'
            natGateway: {
              id: 'string'
              location: 'string'
              properties: {
                idleTimeoutInMinutes: int
                publicIpAddresses: [
                  {
                    id: 'string'
                  }
                ]
                publicIpAddressesV6: [
                  {
                    id: 'string'
                  }
                ]
                publicIpPrefixes: [
                  {
                    id: 'string'
                  }
                ]
                publicIpPrefixesV6: [
                  {
                    id: 'string'
                  }
                ]
                serviceGateway: {
                  id: 'string'
                }
                sourceVirtualNetwork: {
                  id: 'string'
                }
              }
              sku: {
                name: 'string'
              }
              tags: {
                {customized property}: 'string'
              }
              zones: [
                'string'
              ]
            }
            publicIPAddressVersion: 'string'
            publicIPAllocationMethod: 'string'
            publicIPPrefix: {
              id: 'string'
            }
            servicePublicIPAddress: ...
          }
          sku: {
            name: 'string'
            tier: 'string'
          }
          tags: {
            {customized property}: 'string'
          }
          zones: [
            'string'
          ]
        }
        subnet: {
          id: 'string'
          name: 'string'
          properties: {
            addressPrefix: 'string'
            addressPrefixes: [
              'string'
            ]
            applicationGatewayIPConfigurations: [
              {
                id: 'string'
                name: 'string'
                properties: {
                  subnet: {
                    id: 'string'
                  }
                }
              }
            ]
            defaultOutboundAccess: bool
            delegations: [
              {
                id: 'string'
                name: 'string'
                properties: {
                  serviceName: 'string'
                }
                type: 'string'
              }
            ]
            ipAllocations: [
              {
                id: 'string'
              }
            ]
            ipamPoolPrefixAllocations: [
              {
                numberOfIpAddresses: 'string'
                pool: {
                  id: 'string'
                }
              }
            ]
            natGateway: {
              id: 'string'
            }
            networkSecurityGroup: {
              id: 'string'
              location: 'string'
              properties: {
                flushConnection: bool
                securityRules: [
                  {
                    id: 'string'
                    name: 'string'
                    properties: {
                      access: 'string'
                      description: 'string'
                      destinationAddressPrefix: 'string'
                      destinationAddressPrefixes: [
                        'string'
                      ]
                      destinationApplicationSecurityGroups: [
                        {
                          id: 'string'
                          location: 'string'
                          properties: {}
                          tags: {
                            {customized property}: 'string'
                          }
                        }
                      ]
                      destinationPortRange: 'string'
                      destinationPortRanges: [
                        'string'
                      ]
                      direction: 'string'
                      priority: int
                      protocol: 'string'
                      sourceAddressPrefix: 'string'
                      sourceAddressPrefixes: [
                        'string'
                      ]
                      sourceApplicationSecurityGroups: [
                        {
                          id: 'string'
                          location: 'string'
                          properties: {}
                          tags: {
                            {customized property}: 'string'
                          }
                        }
                      ]
                      sourcePortRange: 'string'
                      sourcePortRanges: [
                        'string'
                      ]
                    }
                    type: 'string'
                  }
                ]
              }
              tags: {
                {customized property}: 'string'
              }
            }
            privateEndpointNetworkPolicies: 'string'
            privateLinkServiceNetworkPolicies: 'string'
            routeTable: {
              id: 'string'
              location: 'string'
              properties: {
                disableBgpRoutePropagation: bool
                routes: [
                  {
                    id: 'string'
                    name: 'string'
                    properties: {
                      addressPrefix: 'string'
                      nextHopIpAddress: 'string'
                      nextHopType: 'string'
                    }
                    type: 'string'
                  }
                ]
              }
              tags: {
                {customized property}: 'string'
              }
            }
            serviceEndpointPolicies: [
              {
                id: 'string'
                location: 'string'
                properties: {
                  contextualServiceEndpointPolicies: [
                    'string'
                  ]
                  serviceAlias: 'string'
                  serviceEndpointPolicyDefinitions: [
                    {
                      id: 'string'
                      name: 'string'
                      properties: {
                        description: 'string'
                        service: 'string'
                        serviceResources: [
                          'string'
                        ]
                      }
                      type: 'string'
                    }
                  ]
                }
                tags: {
                  {customized property}: 'string'
                }
              }
            ]
            serviceEndpoints: [
              {
                locations: [
                  'string'
                ]
                networkIdentifier: {
                  id: 'string'
                }
                service: 'string'
              }
            ]
            serviceGateway: {
              id: 'string'
            }
            sharingScope: 'string'
          }
          type: 'string'
        }
        virtualNetworkTaps: [
          {
            id: 'string'
            location: 'string'
            properties: ...
            tags: {
              {customized property}: 'string'
            }
          }
        ]
      }
      type: 'string'
    }
    destinationPort: int
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.Network/virtualNetworkTaps

名字 描述 價值
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 虛擬網路點選屬性。 VirtualNetworkTapPropertiesFormat
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ApplicationGatewayBackendAddress 應用程式

名字 描述 價值
FQDN 完整功能變數名稱(FQDN)。 字串
IP位址 IP位址。 字串

ApplicationGatewayBackendAddressPool 應用程式

名字 描述 價值
識別碼 資源標識碼。 字串
名字 應用程式閘道內唯一的後端位址池名稱。 字串
性能 應用程式閘道後端位址池的屬性。 ApplicationGatewayBackendAddressPoolPropertiesFormat

ApplicationGatewayBackendAddressPoolPropertiesFormat

名字 描述 價值
backend位址 後端位址。 ApplicationGatewayBackendAddress[]

ApplicationGatewayIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 應用程式閘道內唯一的IP組態名稱。 字串
性能 應用程式閘道IP組態的屬性。 ApplicationGatewayIPConfigurationPropertiesFormat

ApplicationGatewayIPConfigurationPropertiesFormat

名字 描述 價值
子網路 子網資源的參考。 應用程式閘道從中取得其私人位址的子網。 子資源

ApplicationSecurityGroup 應用程式安全組

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 應用程式安全組的屬性。 ApplicationSecurityGroupPropertiesFormat
標籤 資源標籤。 資源標籤

ApplicationSecurityGroupPropertiesFormat

名字 描述 價值

後端位址池

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用之後端位址池集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器後端位址池的屬性。 BackendAddressPoolPropertiesFormat

BackendAddressPoolPropertiesFormat

名字 描述 價值
drainPeriodInSeconds (秒) 將 RESET 傳送至用戶端和後端位址之前,Load Balancer 會等候的秒數。 整數 (int)
loadBalancerBackendAddresses 後端位址的陣列。 LoadBalancerBackendAddress[]
位置 後端位址池的位置。 字串
syncMode 同步模式 後端集區的後端位址同步模式 “自動”
“手動”
隧道介面 閘道連接平衡器通道介面的陣列。 GatewayLoadBalancerTunnelInterface[]
虛擬網路 虛擬網路的參考。 子資源

Ddos設置

名字 描述 價值
ddosProtectionPlan 計劃 與公用IP相關聯的 DDoS 保護計劃。 只有在 ProtectionMode 已啟用時,才能設定 子資源
protectionMode 保護模式 公用IP的 DDoS 保護模式 “已禁用”
“已啟用”
“VirtualNetworkInherited”

代表團

名字 描述 價值
識別碼 資源標識碼。 字串
名字 子網內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 子網的屬性。 ServiceDelegationPropertiesFormat
型別 資源類型。 字串

擴展位置

名字 描述 價值
名字 擴充位置的名稱。 字串
型別 擴充位置的類型。 'EdgeZone'

FrontendIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用前端IP組態集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器探查的屬性。 FrontendIPConfigurationPropertiesFormat
可用性區域清單,表示為資源配置的IP必須來自。 字串[]

FrontendIPConfigurationPropertiesFormat

名字 描述 價值
閘道負載均衡器 閘道負載平衡器前端IP的參考。 子資源
privateIPAddress 位址 IP 組態的私人IP位址。 字串
privateIPAddress版本 特定 ipconfiguration 是 IPv4 或 IPv6。 預設值會視為 IPv4。 “IPv4”
“IPv6”
privateIPAllocationMethod 私人IP配置方法。 “動態”
“靜態”
publicIPAddress 位址 公用IP資源的參考。 公共IP位址
publicIPPrefix 公用IP前置詞資源的參考。 子資源
子網路 子網資源的參考。 子網

閘道負載均衡器隧道介面

名字 描述 價值
識別碼 閘道連接平衡器通道介面的識別碼。 整數 (int)
傳輸埠 閘道連接平衡器通道介面的埠。 整數 (int)
通訊協定 閘道連接平衡器通道介面的通訊協定。 “本地”
“無”
'VXLAN'
型別 閘道連接平衡器通道介面的流量類型。 “外部”
“內部”
“無”

入站 NatRule

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用之輸入NAT規則集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器輸入NAT規則的屬性。 InboundNatRulePropertiesFormat

InboundNatRulePropertiesFormat

名字 描述 價值
backendAddressPool backendAddressPool 資源的參考。 子資源
backendPort 用於內部端點的埠。 可接受的值範圍從 1 到 65535。 整數 (int)
enableFloatingIP 針對設定 SQL AlwaysOn 可用性群組所需的浮動 IP 功能,設定虛擬機的端點。 使用 SQL Server 中的 SQL AlwaysOn 可用性群組時,需要此設定。 建立端點之後,就無法變更此設定。 布爾 (bool)
enableTcpReset 在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 布爾 (bool)
frontendIPConfiguration 前端IP位址的參考。 子資源
frontendPort 外部端點的埠。 每個規則的埠號碼在Load Balancer內必須是唯一的。 可接受的值範圍從 1 到 65534。 整數 (int)
frontendPortRangeEnd 外部端點的埠範圍結束。 此屬性會與 BackendAddressPool 和 FrontendPortRangeStart 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 整數 (int)
frontendPortRangeStart 外部端點的埠範圍開始。 此屬性會與 BackendAddressPool 和 FrontendPortRangeEnd 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 整數 (int)
idleTimeoutInMinutes TCP 閑置連線的逾時。 此值可以設定在 4 到 30 分鐘之間。 預設值為 4 分鐘。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 整數 (int)
通訊協定 負載平衡規則所使用的傳輸通訊協議參考。 '全部'
“奎克”
'tcp'
'UDP'

IpamPoolPrefixAllocation

名字 描述 價值
IpAddresses 數量 要配置的IP位址數目。 字串
集區 IpamPoolPrefixAllocationPool

IpamPoolPrefixAllocationPool

名字 描述 價值
識別碼 相關聯 Azure IpamPool 資源的資源標識碼。 字串

IpTag

名字 描述 價值
ipTag類型 IP 標籤類型。 範例:FirstPartyUsage。 字串
加標籤 與公用IP相關聯的IP標籤。 範例:SQL。 字串

LoadBalancerBackendAddress

名字 描述 價值
名字 後端位址的名稱。 字串
性能 負載平衡器後端位址池的屬性。 LoadBalancerBackendAddressPropertiesFormat

LoadBalancerBackendAddressPropertiesFormat

名字 描述 價值
adminState 一旦設定后,系統管理狀態清單可以覆寫健康狀態探查,讓Load Balancer 一律會將新的連線轉送至後端,或拒絕新的連線並重設現有的連線。 “下”
“無”
“向上”
IP位址 屬於參考虛擬網路的IP位址。 字串
loadBalancerFrontendIPConfiguration 區域負載平衡器中定義的前端IP位址組態參考。 子資源
子網路 現有子網的參考。 子資源
虛擬網路 現有虛擬網路的參考。 子資源

NatGateway 閘道

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 Nat 閘道屬性。 NatGatewayPropertiesFormat
SKU nat 閘道 SKU。 NatGatewaySku
標籤 資源標籤。 資源標籤
可用性區域清單,表示應該在其中部署 Nat 閘道的區域。 字串[]

NatGatewayPropertiesFormat

名字 描述 價值
idleTimeoutInMinutes nat 閘道的閒置逾時。 整數 (int)
publicIp位址 與 nat 閘道資源關聯的公有IP位址 V4 陣列。 子資源[]
公共IP位址V6 與 nat 閘道資源關聯的公有IP位址 V6 陣列。 子資源[]
publicIp前綴 與 nat 閘道資源關聯的公有IP前綴 V4 陣列。 子資源[]
publicIpPrefixesV6 與 nat 閘道資源關聯的公有IP前綴 V6 陣列。 子資源[]
serviceGateway 參考現有的服務閘道。 子資源
源虛擬網路 使用此 nat 閘道資源對源虛擬網路的引用。 子資源

NatGatewaySku

名字 描述 價值
名字 Nat 閘道 SKU 的名稱。 “標準”
'StandardV2'

NetworkInterfaceIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 網路介面IP組態屬性。 NetworkInterfaceIPConfigurationPropertiesFormat
型別 資源類型。 字串

NetworkInterfaceIPConfigurationPropertiesFormat

名字 描述 價值
applicationGatewayBackendAddressPools 應用程式 ApplicationGatewayBackendAddressPool 資源的參考。 ApplicationGatewayBackendAddressPool[]
應用程式安全群組 包含IP組態的應用程式安全組。 ApplicationSecurityGroup[]
閘道負載均衡器 閘道負載平衡器前端IP的參考。 子資源
loadBalancerBackendAddressPools LoadBalancerBackendAddressPool 資源的參考。 BackendAddressPool[]
loadBalancerInboundNatRules LoadBalancerInboundNatRules 的參考清單。 InboundNatRule[]
主要 這是否為網路介面上的主要客戶位址。 布爾 (bool)
privateIPAddress 位址 IP 組態的私人IP位址。 它可以是單一 IP 位址或 CIDR 區塊,格式為 <位址>/<前置長度>。 字串
privateIPAddressPrefixLength 私人IP位址前綴長度。 如果指定且配置方法是動態的,則服務會配置 CIDR 區塊,而不是單一 IP 位址。 int

約束:
最小值 = 1
最大值 = 128
privateIPAddress版本 特定IP組態為IPv4或IPv6。 預設值為 IPv4。 “IPv4”
“IPv6”
privateIPAllocationMethod 私人IP位址配置方法。 “動態”
“靜態”
publicIPAddress 位址 系結至IP組態的公用IP位址。 公共IP位址
子網路 系結至IP組態的子網。 子網
virtualNetworkTaps 虛擬網路點選的參考。 VirtualNetworkTap []

網路安全組

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 網路安全組的屬性。 NetworkSecurityGroupPropertiesFormat
標籤 資源標籤。 資源標籤

NetworkSecurityGroupPropertiesFormat

名字 描述 價值
flush連接 啟用時,從網路安全組連線建立的流程會在更新規則時重新評估。 初始啟用將會觸發重新評估。 布爾 (bool)
securityRules 安全規則 網路安全組的安全性規則集合。 SecurityRule[]

公共IP地址

名字 描述 價值
extendedLocation 公用IP位址的擴充位置。 擴展位置
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 公用IP位址屬性。 PublicIPAddressPropertiesFormat
SKU 公用IP位址 SKU。 公共IPAddressSku
標籤 資源標籤。 資源標籤
可用性區域清單,表示為資源配置的IP必須來自。 字串[]

公共IPAddressDnsSettings

名字 描述 價值
domainNameLabel 功能變數名稱標籤 功能變數名稱標籤。 功能變數名稱標籤和區域化 DNS 區域的串連組成與公用IP位址相關聯的完整功能變數名稱。 如果指定功能變數名稱標籤,則會為 Microsoft azure DNS 系統中的公用 IP 建立 A DNS 記錄。 字串
domainNameLabel範圍 功能變數名稱標籤範圍。 如果指定功能變數名稱標籤和功能變數名稱標籤範圍,則會為Microsoft Azure DNS 系統中的公用IP建立一個 DNS 記錄,其中包含 FQDN 中的哈希值。 '禁止重複使用'
“ResourceGroupReuse”
“訂閱重用”
“TenantReuse”
FQDN 與公用IP相關聯的 A DNS 記錄的完整功能變數名稱。 這是 domainNameLabel 和區域化 DNS 區域的串連。 字串
reverseFqdn 反向 FQDN。 可解析為這個公用IP位址的用戶可見完整功能變數名稱。 如果指定 reverseFqdn,則會建立 PTR DNS 記錄,從 in-addr.arpa 網域中的 IP 位址指向反向 FQDN。 字串

PublicIPAddressPropertiesFormat

名字 描述 價值
ddos設置 與公用IP位址相關聯的 DDoS 保護自定義原則。 Ddos設置
deleteOption 指定刪除 VM 時,公用 IP 位址會發生什麼事 '刪除'
“分離”
dns設置 與公用IP位址相關聯的 DNS 記錄 FQDN。 公共IPAddressDnsSettings
idleTimeoutInMinutes 公用IP位址的閒置逾時。 整數 (int)
IP位址 與公用IP位址資源相關聯的IP位址。 字串
ip標籤 與公用IP位址相關聯的標記清單。 IpTag []
linkedPublicIPAddress 位址 公用IP位址資源的連結公用IP位址。 公共IP位址
遷移階段 公用IP位址的移轉階段。 “中止”
“提交”
“承諾”
“無”
“準備”
natGateway 閘道 公用IP位址的 NatGateway。 NatGateway 閘道
publicIPAddress版本 公用IP位址版本。 “IPv4”
“IPv6”
publicIPAllocationMethod 公用IP位址配置方法。 “動態”
“靜態”
publicIPPrefix 此公用IP位址的公用IP前綴應該從 中配置。 子資源
servicePublicIPAddress 位址 公用IP位址資源的服務公用IP位址。 公共IP位址

公共IPAddressSku

名字 描述 價值
名字 公用IP位址 SKU 的名稱。 “基本”
“標準”
'StandardV2'
分層 公用IP位址SKU的階層。 “全球”
'地區'

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

路線

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 路由的屬性。 RoutePropertiesFormat
型別 資源的型別。 字串

RoutePropertiesFormat

名字 描述 價值
addressPrefix 的 路由套用目的地 CIDR。 字串
nextHopIp位址 IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 字串
nextHopType 封包應傳送至的 Azure 躍點類型。 “互聯網”
“無”
“虛擬設備”
“VirtualNetworkGateway”
'VnetLocal' (必要)

路由表

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 路由表的屬性。 RouteTablePropertiesFormat
標籤 資源標籤。 資源標籤

RouteTablePropertiesFormat

名字 描述 價值
禁用 BgpRoutePropagation 是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 布爾 (bool)
路線 路由表中包含的路由集合。 路由[]

SecurityRule 安全規則

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 安全性規則的屬性。 SecurityRulePropertiesFormat
型別 資源的型別。 字串

SecurityRulePropertiesFormat

名字 描述 價值
訪問 允許或拒絕網路流量。 '允許'
'拒絕' (必要)
描述 此規則的描述。 限制為140個字元。 字串
destinationAddressPrefix 的 目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 字串
destinationAddress前綴 目的地位址前置詞。 CIDR 或目的地IP範圍。 字串[]
destinationApplicationSecurityGroups 指定為目的地的應用程式安全組。 ApplicationSecurityGroup[]
destinationPortRange 目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
destinationPortRanges 目的地埠範圍。 字串[]
方向 規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 “入站”
'輸出' (必要)
優先權 規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 int (必要)
通訊協定 此規則適用的網路協定。 '*'
“啊”
'ESP'
“ICMP”
'tcp'
'Udp' (必要)
sourceAddressPrefix 的 CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 字串
sourceAddress前綴 CIDR 或來源IP範圍。 字串[]
sourceApplicationSecurityGroups 指定為來源的應用程式安全組。 ApplicationSecurityGroup[]
sourcePortRange 來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
sourcePort範圍 來源埠範圍。 字串[]

ServiceDelegationPropertiesFormat

名字 描述 價值
服務名稱 應委派子網的服務名稱(例如Microsoft.Sql/servers)。 字串

ServiceEndpointPolicy

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 服務端點原則的屬性。 ServiceEndpointPolicyPropertiesFormat
標籤 資源標籤。 資源標籤

ServiceEndpointPolicyDefinition

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 服務端點原則定義的屬性。 ServiceEndpointPolicyDefinitionPropertiesFormat
型別 資源的型別。 字串

ServiceEndpointPolicyDefinitionPropertiesFormat

名字 描述 價值
描述 此規則的描述。 限制為140個字元。 字串
服務 服務端點名稱。 字串
服務資源 服務資源清單。 字串[]

ServiceEndpointPolicyPropertiesFormat

名字 描述 價值
contextualServiceEndpoint策略 關係型服務端點原則的集合。 字串[]
service別名 別名,指出原則是否屬於服務 字串
serviceEndpointPolicyDefinitions 服務端點原則的服務端點原則定義集合。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPropertiesFormat

名字 描述 價值
地點 位置清單。 字串[]
網路標識碼 SubResource 作為網路標識符。 子資源
服務 端點服務的型別。 字串

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 子網的屬性。 SubnetPropertiesFormat
型別 資源類型。 字串

SubnetPropertiesFormat

名字 描述 價值
addressPrefix 的 子網的位址前綴。 字串
address前綴 子網的位址前綴清單。 字串[]
applicationGatewayIPConfigurations 虛擬網路資源的應用程式閘道IP組態。 ApplicationGatewayIPConfiguration[]
defaultOutboundAccess 將此屬性設定為 false,以停用子網中所有 VM 的預設輸出連線。 布爾 (bool)
代表團 子網上委派的參考陣列。 委派[]
IP 分配 參考此子網的 IpAllocation 陣列。 子資源[]
ipamPoolPrefix分配 用於配置IP位址前置的IPAM集區清單。 IpamPoolPrefixAllocation[]
natGateway 閘道 與此子網相關聯的 Nat 閘道。 子資源
networkSecurityGroup NetworkSecurityGroup 資源的參考。 網路安全組
privateEndpointNetwork策略 在子網的私人端點上啟用或停用套用網路原則。 “已禁用”
“已啟用”
'NetworkSecurityGroupEnabled'
'RouteTableEnabled'
privateLinkServiceNetwork策略 在子網中的私人連結服務上啟用或停用套用網路原則。 “已禁用”
“已啟用”
routeTable RouteTable 資源的參考。 路由表
服務端點策略 服務端點原則的陣列。 ServiceEndpointPolicy[]
serviceEndpoints 服務端點的陣列。 ServiceEndpointPropertiesFormat[]
serviceGateway 參考現有的服務閘道。 子資源
sharingScope 將此屬性設定為 Tenant,以允許與 AAD 租使用者中的其他訂用帳戶共用子網。 只有當 defaultOutboundAccess 設定為 false 時,才能設定此屬性,只有在子網是空的時,才能設定這兩個屬性。 “委託服務”
“租戶”

子資源

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

虛擬網路Tap

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 虛擬網路點選屬性。 VirtualNetworkTapPropertiesFormat
標籤 資源標籤。 資源標籤

VirtualNetworkTapPropertiesFormat

名字 描述 價值
destinationLoadBalancerFrontEndIPConfiguration 將接收點選的內部 Load Balancer 上私人 IP 位址的參考。 FrontendIPConfiguration
destinationNetworkInterfaceIPConfiguration 將接收點選之收集器 nic 之私人 IP 位址的參考。 NetworkInterfaceIPConfiguration
destinationPort 將接收點選流量的 VXLAN 目的地埠。 整數 (int)

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.Network/virtualNetworkTaps",
  "apiVersion": "2025-05-01",
  "name": "string",
  "location": "string",
  "properties": {
    "destinationLoadBalancerFrontEndIPConfiguration": {
      "id": "string",
      "name": "string",
      "properties": {
        "gatewayLoadBalancer": {
          "id": "string"
        },
        "privateIPAddress": "string",
        "privateIPAddressVersion": "string",
        "privateIPAllocationMethod": "string",
        "publicIPAddress": {
          "extendedLocation": {
            "name": "string",
            "type": "string"
          },
          "id": "string",
          "location": "string",
          "properties": {
            "ddosSettings": {
              "ddosProtectionPlan": {
                "id": "string"
              },
              "protectionMode": "string"
            },
            "deleteOption": "string",
            "dnsSettings": {
              "domainNameLabel": "string",
              "domainNameLabelScope": "string",
              "fqdn": "string",
              "reverseFqdn": "string"
            },
            "idleTimeoutInMinutes": "int",
            "ipAddress": "string",
            "ipTags": [
              {
                "ipTagType": "string",
                "tag": "string"
              }
            ],
            "linkedPublicIPAddress": ...,
            "migrationPhase": "string",
            "natGateway": {
              "id": "string",
              "location": "string",
              "properties": {
                "idleTimeoutInMinutes": "int",
                "publicIpAddresses": [
                  {
                    "id": "string"
                  }
                ],
                "publicIpAddressesV6": [
                  {
                    "id": "string"
                  }
                ],
                "publicIpPrefixes": [
                  {
                    "id": "string"
                  }
                ],
                "publicIpPrefixesV6": [
                  {
                    "id": "string"
                  }
                ],
                "serviceGateway": {
                  "id": "string"
                },
                "sourceVirtualNetwork": {
                  "id": "string"
                }
              },
              "sku": {
                "name": "string"
              },
              "tags": {
                "{customized property}": "string"
              },
              "zones": [ "string" ]
            },
            "publicIPAddressVersion": "string",
            "publicIPAllocationMethod": "string",
            "publicIPPrefix": {
              "id": "string"
            },
            "servicePublicIPAddress": ...
          },
          "sku": {
            "name": "string",
            "tier": "string"
          },
          "tags": {
            "{customized property}": "string"
          },
          "zones": [ "string" ]
        },
        "publicIPPrefix": {
          "id": "string"
        },
        "subnet": {
          "id": "string",
          "name": "string",
          "properties": {
            "addressPrefix": "string",
            "addressPrefixes": [ "string" ],
            "applicationGatewayIPConfigurations": [
              {
                "id": "string",
                "name": "string",
                "properties": {
                  "subnet": {
                    "id": "string"
                  }
                }
              }
            ],
            "defaultOutboundAccess": "bool",
            "delegations": [
              {
                "id": "string",
                "name": "string",
                "properties": {
                  "serviceName": "string"
                },
                "type": "string"
              }
            ],
            "ipAllocations": [
              {
                "id": "string"
              }
            ],
            "ipamPoolPrefixAllocations": [
              {
                "numberOfIpAddresses": "string",
                "pool": {
                  "id": "string"
                }
              }
            ],
            "natGateway": {
              "id": "string"
            },
            "networkSecurityGroup": {
              "id": "string",
              "location": "string",
              "properties": {
                "flushConnection": "bool",
                "securityRules": [
                  {
                    "id": "string",
                    "name": "string",
                    "properties": {
                      "access": "string",
                      "description": "string",
                      "destinationAddressPrefix": "string",
                      "destinationAddressPrefixes": [ "string" ],
                      "destinationApplicationSecurityGroups": [
                        {
                          "id": "string",
                          "location": "string",
                          "properties": {
                          },
                          "tags": {
                            "{customized property}": "string"
                          }
                        }
                      ],
                      "destinationPortRange": "string",
                      "destinationPortRanges": [ "string" ],
                      "direction": "string",
                      "priority": "int",
                      "protocol": "string",
                      "sourceAddressPrefix": "string",
                      "sourceAddressPrefixes": [ "string" ],
                      "sourceApplicationSecurityGroups": [
                        {
                          "id": "string",
                          "location": "string",
                          "properties": {
                          },
                          "tags": {
                            "{customized property}": "string"
                          }
                        }
                      ],
                      "sourcePortRange": "string",
                      "sourcePortRanges": [ "string" ]
                    },
                    "type": "string"
                  }
                ]
              },
              "tags": {
                "{customized property}": "string"
              }
            },
            "privateEndpointNetworkPolicies": "string",
            "privateLinkServiceNetworkPolicies": "string",
            "routeTable": {
              "id": "string",
              "location": "string",
              "properties": {
                "disableBgpRoutePropagation": "bool",
                "routes": [
                  {
                    "id": "string",
                    "name": "string",
                    "properties": {
                      "addressPrefix": "string",
                      "nextHopIpAddress": "string",
                      "nextHopType": "string"
                    },
                    "type": "string"
                  }
                ]
              },
              "tags": {
                "{customized property}": "string"
              }
            },
            "serviceEndpointPolicies": [
              {
                "id": "string",
                "location": "string",
                "properties": {
                  "contextualServiceEndpointPolicies": [ "string" ],
                  "serviceAlias": "string",
                  "serviceEndpointPolicyDefinitions": [
                    {
                      "id": "string",
                      "name": "string",
                      "properties": {
                        "description": "string",
                        "service": "string",
                        "serviceResources": [ "string" ]
                      },
                      "type": "string"
                    }
                  ]
                },
                "tags": {
                  "{customized property}": "string"
                }
              }
            ],
            "serviceEndpoints": [
              {
                "locations": [ "string" ],
                "networkIdentifier": {
                  "id": "string"
                },
                "service": "string"
              }
            ],
            "serviceGateway": {
              "id": "string"
            },
            "sharingScope": "string"
          },
          "type": "string"
        }
      },
      "zones": [ "string" ]
    },
    "destinationNetworkInterfaceIPConfiguration": {
      "id": "string",
      "name": "string",
      "properties": {
        "applicationGatewayBackendAddressPools": [
          {
            "id": "string",
            "name": "string",
            "properties": {
              "backendAddresses": [
                {
                  "fqdn": "string",
                  "ipAddress": "string"
                }
              ]
            }
          }
        ],
        "applicationSecurityGroups": [
          {
            "id": "string",
            "location": "string",
            "properties": {
            },
            "tags": {
              "{customized property}": "string"
            }
          }
        ],
        "gatewayLoadBalancer": {
          "id": "string"
        },
        "loadBalancerBackendAddressPools": [
          {
            "id": "string",
            "name": "string",
            "properties": {
              "drainPeriodInSeconds": "int",
              "loadBalancerBackendAddresses": [
                {
                  "name": "string",
                  "properties": {
                    "adminState": "string",
                    "ipAddress": "string",
                    "loadBalancerFrontendIPConfiguration": {
                      "id": "string"
                    },
                    "subnet": {
                      "id": "string"
                    },
                    "virtualNetwork": {
                      "id": "string"
                    }
                  }
                }
              ],
              "location": "string",
              "syncMode": "string",
              "tunnelInterfaces": [
                {
                  "identifier": "int",
                  "port": "int",
                  "protocol": "string",
                  "type": "string"
                }
              ],
              "virtualNetwork": {
                "id": "string"
              }
            }
          }
        ],
        "loadBalancerInboundNatRules": [
          {
            "id": "string",
            "name": "string",
            "properties": {
              "backendAddressPool": {
                "id": "string"
              },
              "backendPort": "int",
              "enableFloatingIP": "bool",
              "enableTcpReset": "bool",
              "frontendIPConfiguration": {
                "id": "string"
              },
              "frontendPort": "int",
              "frontendPortRangeEnd": "int",
              "frontendPortRangeStart": "int",
              "idleTimeoutInMinutes": "int",
              "protocol": "string"
            }
          }
        ],
        "primary": "bool",
        "privateIPAddress": "string",
        "privateIPAddressPrefixLength": "int",
        "privateIPAddressVersion": "string",
        "privateIPAllocationMethod": "string",
        "publicIPAddress": {
          "extendedLocation": {
            "name": "string",
            "type": "string"
          },
          "id": "string",
          "location": "string",
          "properties": {
            "ddosSettings": {
              "ddosProtectionPlan": {
                "id": "string"
              },
              "protectionMode": "string"
            },
            "deleteOption": "string",
            "dnsSettings": {
              "domainNameLabel": "string",
              "domainNameLabelScope": "string",
              "fqdn": "string",
              "reverseFqdn": "string"
            },
            "idleTimeoutInMinutes": "int",
            "ipAddress": "string",
            "ipTags": [
              {
                "ipTagType": "string",
                "tag": "string"
              }
            ],
            "linkedPublicIPAddress": ...,
            "migrationPhase": "string",
            "natGateway": {
              "id": "string",
              "location": "string",
              "properties": {
                "idleTimeoutInMinutes": "int",
                "publicIpAddresses": [
                  {
                    "id": "string"
                  }
                ],
                "publicIpAddressesV6": [
                  {
                    "id": "string"
                  }
                ],
                "publicIpPrefixes": [
                  {
                    "id": "string"
                  }
                ],
                "publicIpPrefixesV6": [
                  {
                    "id": "string"
                  }
                ],
                "serviceGateway": {
                  "id": "string"
                },
                "sourceVirtualNetwork": {
                  "id": "string"
                }
              },
              "sku": {
                "name": "string"
              },
              "tags": {
                "{customized property}": "string"
              },
              "zones": [ "string" ]
            },
            "publicIPAddressVersion": "string",
            "publicIPAllocationMethod": "string",
            "publicIPPrefix": {
              "id": "string"
            },
            "servicePublicIPAddress": ...
          },
          "sku": {
            "name": "string",
            "tier": "string"
          },
          "tags": {
            "{customized property}": "string"
          },
          "zones": [ "string" ]
        },
        "subnet": {
          "id": "string",
          "name": "string",
          "properties": {
            "addressPrefix": "string",
            "addressPrefixes": [ "string" ],
            "applicationGatewayIPConfigurations": [
              {
                "id": "string",
                "name": "string",
                "properties": {
                  "subnet": {
                    "id": "string"
                  }
                }
              }
            ],
            "defaultOutboundAccess": "bool",
            "delegations": [
              {
                "id": "string",
                "name": "string",
                "properties": {
                  "serviceName": "string"
                },
                "type": "string"
              }
            ],
            "ipAllocations": [
              {
                "id": "string"
              }
            ],
            "ipamPoolPrefixAllocations": [
              {
                "numberOfIpAddresses": "string",
                "pool": {
                  "id": "string"
                }
              }
            ],
            "natGateway": {
              "id": "string"
            },
            "networkSecurityGroup": {
              "id": "string",
              "location": "string",
              "properties": {
                "flushConnection": "bool",
                "securityRules": [
                  {
                    "id": "string",
                    "name": "string",
                    "properties": {
                      "access": "string",
                      "description": "string",
                      "destinationAddressPrefix": "string",
                      "destinationAddressPrefixes": [ "string" ],
                      "destinationApplicationSecurityGroups": [
                        {
                          "id": "string",
                          "location": "string",
                          "properties": {
                          },
                          "tags": {
                            "{customized property}": "string"
                          }
                        }
                      ],
                      "destinationPortRange": "string",
                      "destinationPortRanges": [ "string" ],
                      "direction": "string",
                      "priority": "int",
                      "protocol": "string",
                      "sourceAddressPrefix": "string",
                      "sourceAddressPrefixes": [ "string" ],
                      "sourceApplicationSecurityGroups": [
                        {
                          "id": "string",
                          "location": "string",
                          "properties": {
                          },
                          "tags": {
                            "{customized property}": "string"
                          }
                        }
                      ],
                      "sourcePortRange": "string",
                      "sourcePortRanges": [ "string" ]
                    },
                    "type": "string"
                  }
                ]
              },
              "tags": {
                "{customized property}": "string"
              }
            },
            "privateEndpointNetworkPolicies": "string",
            "privateLinkServiceNetworkPolicies": "string",
            "routeTable": {
              "id": "string",
              "location": "string",
              "properties": {
                "disableBgpRoutePropagation": "bool",
                "routes": [
                  {
                    "id": "string",
                    "name": "string",
                    "properties": {
                      "addressPrefix": "string",
                      "nextHopIpAddress": "string",
                      "nextHopType": "string"
                    },
                    "type": "string"
                  }
                ]
              },
              "tags": {
                "{customized property}": "string"
              }
            },
            "serviceEndpointPolicies": [
              {
                "id": "string",
                "location": "string",
                "properties": {
                  "contextualServiceEndpointPolicies": [ "string" ],
                  "serviceAlias": "string",
                  "serviceEndpointPolicyDefinitions": [
                    {
                      "id": "string",
                      "name": "string",
                      "properties": {
                        "description": "string",
                        "service": "string",
                        "serviceResources": [ "string" ]
                      },
                      "type": "string"
                    }
                  ]
                },
                "tags": {
                  "{customized property}": "string"
                }
              }
            ],
            "serviceEndpoints": [
              {
                "locations": [ "string" ],
                "networkIdentifier": {
                  "id": "string"
                },
                "service": "string"
              }
            ],
            "serviceGateway": {
              "id": "string"
            },
            "sharingScope": "string"
          },
          "type": "string"
        },
        "virtualNetworkTaps": [
          {
            "id": "string",
            "location": "string",
            "properties": ...,
            "tags": {
              "{customized property}": "string"
            }
          }
        ]
      },
      "type": "string"
    },
    "destinationPort": "int"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.Network/virtualNetworkTaps

名字 描述 價值
apiVersion API 版本 '2025-05-01'
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 虛擬網路點選屬性。 VirtualNetworkTapPropertiesFormat
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.Network/virtualNetworkTaps”

ApplicationGatewayBackendAddress 應用程式

名字 描述 價值
FQDN 完整功能變數名稱(FQDN)。 字串
IP位址 IP位址。 字串

ApplicationGatewayBackendAddressPool 應用程式

名字 描述 價值
識別碼 資源標識碼。 字串
名字 應用程式閘道內唯一的後端位址池名稱。 字串
性能 應用程式閘道後端位址池的屬性。 ApplicationGatewayBackendAddressPoolPropertiesFormat

ApplicationGatewayBackendAddressPoolPropertiesFormat

名字 描述 價值
backend位址 後端位址。 ApplicationGatewayBackendAddress[]

ApplicationGatewayIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 應用程式閘道內唯一的IP組態名稱。 字串
性能 應用程式閘道IP組態的屬性。 ApplicationGatewayIPConfigurationPropertiesFormat

ApplicationGatewayIPConfigurationPropertiesFormat

名字 描述 價值
子網路 子網資源的參考。 應用程式閘道從中取得其私人位址的子網。 子資源

ApplicationSecurityGroup 應用程式安全組

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 應用程式安全組的屬性。 ApplicationSecurityGroupPropertiesFormat
標籤 資源標籤。 資源標籤

ApplicationSecurityGroupPropertiesFormat

名字 描述 價值

後端位址池

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用之後端位址池集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器後端位址池的屬性。 BackendAddressPoolPropertiesFormat

BackendAddressPoolPropertiesFormat

名字 描述 價值
drainPeriodInSeconds (秒) 將 RESET 傳送至用戶端和後端位址之前,Load Balancer 會等候的秒數。 整數 (int)
loadBalancerBackendAddresses 後端位址的陣列。 LoadBalancerBackendAddress[]
位置 後端位址池的位置。 字串
syncMode 同步模式 後端集區的後端位址同步模式 “自動”
“手動”
隧道介面 閘道連接平衡器通道介面的陣列。 GatewayLoadBalancerTunnelInterface[]
虛擬網路 虛擬網路的參考。 子資源

Ddos設置

名字 描述 價值
ddosProtectionPlan 計劃 與公用IP相關聯的 DDoS 保護計劃。 只有在 ProtectionMode 已啟用時,才能設定 子資源
protectionMode 保護模式 公用IP的 DDoS 保護模式 “已禁用”
“已啟用”
“VirtualNetworkInherited”

代表團

名字 描述 價值
識別碼 資源標識碼。 字串
名字 子網內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 子網的屬性。 ServiceDelegationPropertiesFormat
型別 資源類型。 字串

擴展位置

名字 描述 價值
名字 擴充位置的名稱。 字串
型別 擴充位置的類型。 'EdgeZone'

FrontendIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用前端IP組態集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器探查的屬性。 FrontendIPConfigurationPropertiesFormat
可用性區域清單,表示為資源配置的IP必須來自。 字串[]

FrontendIPConfigurationPropertiesFormat

名字 描述 價值
閘道負載均衡器 閘道負載平衡器前端IP的參考。 子資源
privateIPAddress 位址 IP 組態的私人IP位址。 字串
privateIPAddress版本 特定 ipconfiguration 是 IPv4 或 IPv6。 預設值會視為 IPv4。 “IPv4”
“IPv6”
privateIPAllocationMethod 私人IP配置方法。 “動態”
“靜態”
publicIPAddress 位址 公用IP資源的參考。 公共IP位址
publicIPPrefix 公用IP前置詞資源的參考。 子資源
子網路 子網資源的參考。 子網

閘道負載均衡器隧道介面

名字 描述 價值
識別碼 閘道連接平衡器通道介面的識別碼。 整數 (int)
傳輸埠 閘道連接平衡器通道介面的埠。 整數 (int)
通訊協定 閘道連接平衡器通道介面的通訊協定。 “本地”
“無”
'VXLAN'
型別 閘道連接平衡器通道介面的流量類型。 “外部”
“內部”
“無”

入站 NatRule

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用之輸入NAT規則集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器輸入NAT規則的屬性。 InboundNatRulePropertiesFormat

InboundNatRulePropertiesFormat

名字 描述 價值
backendAddressPool backendAddressPool 資源的參考。 子資源
backendPort 用於內部端點的埠。 可接受的值範圍從 1 到 65535。 整數 (int)
enableFloatingIP 針對設定 SQL AlwaysOn 可用性群組所需的浮動 IP 功能,設定虛擬機的端點。 使用 SQL Server 中的 SQL AlwaysOn 可用性群組時,需要此設定。 建立端點之後,就無法變更此設定。 布爾 (bool)
enableTcpReset 在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 布爾 (bool)
frontendIPConfiguration 前端IP位址的參考。 子資源
frontendPort 外部端點的埠。 每個規則的埠號碼在Load Balancer內必須是唯一的。 可接受的值範圍從 1 到 65534。 整數 (int)
frontendPortRangeEnd 外部端點的埠範圍結束。 此屬性會與 BackendAddressPool 和 FrontendPortRangeStart 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 整數 (int)
frontendPortRangeStart 外部端點的埠範圍開始。 此屬性會與 BackendAddressPool 和 FrontendPortRangeEnd 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 整數 (int)
idleTimeoutInMinutes TCP 閑置連線的逾時。 此值可以設定在 4 到 30 分鐘之間。 預設值為 4 分鐘。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 整數 (int)
通訊協定 負載平衡規則所使用的傳輸通訊協議參考。 '全部'
“奎克”
'tcp'
'UDP'

IpamPoolPrefixAllocation

名字 描述 價值
IpAddresses 數量 要配置的IP位址數目。 字串
集區 IpamPoolPrefixAllocationPool

IpamPoolPrefixAllocationPool

名字 描述 價值
識別碼 相關聯 Azure IpamPool 資源的資源標識碼。 字串

IpTag

名字 描述 價值
ipTag類型 IP 標籤類型。 範例:FirstPartyUsage。 字串
加標籤 與公用IP相關聯的IP標籤。 範例:SQL。 字串

LoadBalancerBackendAddress

名字 描述 價值
名字 後端位址的名稱。 字串
性能 負載平衡器後端位址池的屬性。 LoadBalancerBackendAddressPropertiesFormat

LoadBalancerBackendAddressPropertiesFormat

名字 描述 價值
adminState 一旦設定后,系統管理狀態清單可以覆寫健康狀態探查,讓Load Balancer 一律會將新的連線轉送至後端,或拒絕新的連線並重設現有的連線。 “下”
“無”
“向上”
IP位址 屬於參考虛擬網路的IP位址。 字串
loadBalancerFrontendIPConfiguration 區域負載平衡器中定義的前端IP位址組態參考。 子資源
子網路 現有子網的參考。 子資源
虛擬網路 現有虛擬網路的參考。 子資源

NatGateway 閘道

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 Nat 閘道屬性。 NatGatewayPropertiesFormat
SKU nat 閘道 SKU。 NatGatewaySku
標籤 資源標籤。 資源標籤
可用性區域清單,表示應該在其中部署 Nat 閘道的區域。 字串[]

NatGatewayPropertiesFormat

名字 描述 價值
idleTimeoutInMinutes nat 閘道的閒置逾時。 整數 (int)
publicIp位址 與 nat 閘道資源關聯的公有IP位址 V4 陣列。 子資源[]
公共IP位址V6 與 nat 閘道資源關聯的公有IP位址 V6 陣列。 子資源[]
publicIp前綴 與 nat 閘道資源關聯的公有IP前綴 V4 陣列。 子資源[]
publicIpPrefixesV6 與 nat 閘道資源關聯的公有IP前綴 V6 陣列。 子資源[]
serviceGateway 參考現有的服務閘道。 子資源
源虛擬網路 使用此 nat 閘道資源對源虛擬網路的引用。 子資源

NatGatewaySku

名字 描述 價值
名字 Nat 閘道 SKU 的名稱。 “標準”
'StandardV2'

NetworkInterfaceIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 網路介面IP組態屬性。 NetworkInterfaceIPConfigurationPropertiesFormat
型別 資源類型。 字串

NetworkInterfaceIPConfigurationPropertiesFormat

名字 描述 價值
applicationGatewayBackendAddressPools 應用程式 ApplicationGatewayBackendAddressPool 資源的參考。 ApplicationGatewayBackendAddressPool[]
應用程式安全群組 包含IP組態的應用程式安全組。 ApplicationSecurityGroup[]
閘道負載均衡器 閘道負載平衡器前端IP的參考。 子資源
loadBalancerBackendAddressPools LoadBalancerBackendAddressPool 資源的參考。 BackendAddressPool[]
loadBalancerInboundNatRules LoadBalancerInboundNatRules 的參考清單。 InboundNatRule[]
主要 這是否為網路介面上的主要客戶位址。 布爾 (bool)
privateIPAddress 位址 IP 組態的私人IP位址。 它可以是單一 IP 位址或 CIDR 區塊,格式為 <位址>/<前置長度>。 字串
privateIPAddressPrefixLength 私人IP位址前綴長度。 如果指定且配置方法是動態的,則服務會配置 CIDR 區塊,而不是單一 IP 位址。 int

約束:
最小值 = 1
最大值 = 128
privateIPAddress版本 特定IP組態為IPv4或IPv6。 預設值為 IPv4。 “IPv4”
“IPv6”
privateIPAllocationMethod 私人IP位址配置方法。 “動態”
“靜態”
publicIPAddress 位址 系結至IP組態的公用IP位址。 公共IP位址
子網路 系結至IP組態的子網。 子網
virtualNetworkTaps 虛擬網路點選的參考。 VirtualNetworkTap []

網路安全組

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 網路安全組的屬性。 NetworkSecurityGroupPropertiesFormat
標籤 資源標籤。 資源標籤

NetworkSecurityGroupPropertiesFormat

名字 描述 價值
flush連接 啟用時,從網路安全組連線建立的流程會在更新規則時重新評估。 初始啟用將會觸發重新評估。 布爾 (bool)
securityRules 安全規則 網路安全組的安全性規則集合。 SecurityRule[]

公共IP地址

名字 描述 價值
extendedLocation 公用IP位址的擴充位置。 擴展位置
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 公用IP位址屬性。 PublicIPAddressPropertiesFormat
SKU 公用IP位址 SKU。 公共IPAddressSku
標籤 資源標籤。 資源標籤
可用性區域清單,表示為資源配置的IP必須來自。 字串[]

公共IPAddressDnsSettings

名字 描述 價值
domainNameLabel 功能變數名稱標籤 功能變數名稱標籤。 功能變數名稱標籤和區域化 DNS 區域的串連組成與公用IP位址相關聯的完整功能變數名稱。 如果指定功能變數名稱標籤,則會為 Microsoft azure DNS 系統中的公用 IP 建立 A DNS 記錄。 字串
domainNameLabel範圍 功能變數名稱標籤範圍。 如果指定功能變數名稱標籤和功能變數名稱標籤範圍,則會為Microsoft Azure DNS 系統中的公用IP建立一個 DNS 記錄,其中包含 FQDN 中的哈希值。 '禁止重複使用'
“ResourceGroupReuse”
“訂閱重用”
“TenantReuse”
FQDN 與公用IP相關聯的 A DNS 記錄的完整功能變數名稱。 這是 domainNameLabel 和區域化 DNS 區域的串連。 字串
reverseFqdn 反向 FQDN。 可解析為這個公用IP位址的用戶可見完整功能變數名稱。 如果指定 reverseFqdn,則會建立 PTR DNS 記錄,從 in-addr.arpa 網域中的 IP 位址指向反向 FQDN。 字串

PublicIPAddressPropertiesFormat

名字 描述 價值
ddos設置 與公用IP位址相關聯的 DDoS 保護自定義原則。 Ddos設置
deleteOption 指定刪除 VM 時,公用 IP 位址會發生什麼事 '刪除'
“分離”
dns設置 與公用IP位址相關聯的 DNS 記錄 FQDN。 公共IPAddressDnsSettings
idleTimeoutInMinutes 公用IP位址的閒置逾時。 整數 (int)
IP位址 與公用IP位址資源相關聯的IP位址。 字串
ip標籤 與公用IP位址相關聯的標記清單。 IpTag []
linkedPublicIPAddress 位址 公用IP位址資源的連結公用IP位址。 公共IP位址
遷移階段 公用IP位址的移轉階段。 “中止”
“提交”
“承諾”
“無”
“準備”
natGateway 閘道 公用IP位址的 NatGateway。 NatGateway 閘道
publicIPAddress版本 公用IP位址版本。 “IPv4”
“IPv6”
publicIPAllocationMethod 公用IP位址配置方法。 “動態”
“靜態”
publicIPPrefix 此公用IP位址的公用IP前綴應該從 中配置。 子資源
servicePublicIPAddress 位址 公用IP位址資源的服務公用IP位址。 公共IP位址

公共IPAddressSku

名字 描述 價值
名字 公用IP位址 SKU 的名稱。 “基本”
“標準”
'StandardV2'
分層 公用IP位址SKU的階層。 “全球”
'地區'

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

路線

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 路由的屬性。 RoutePropertiesFormat
型別 資源的型別。 字串

RoutePropertiesFormat

名字 描述 價值
addressPrefix 的 路由套用目的地 CIDR。 字串
nextHopIp位址 IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 字串
nextHopType 封包應傳送至的 Azure 躍點類型。 “互聯網”
“無”
“虛擬設備”
“VirtualNetworkGateway”
'VnetLocal' (必要)

路由表

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 路由表的屬性。 RouteTablePropertiesFormat
標籤 資源標籤。 資源標籤

RouteTablePropertiesFormat

名字 描述 價值
禁用 BgpRoutePropagation 是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 布爾 (bool)
路線 路由表中包含的路由集合。 路由[]

SecurityRule 安全規則

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 安全性規則的屬性。 SecurityRulePropertiesFormat
型別 資源的型別。 字串

SecurityRulePropertiesFormat

名字 描述 價值
訪問 允許或拒絕網路流量。 '允許'
'拒絕' (必要)
描述 此規則的描述。 限制為140個字元。 字串
destinationAddressPrefix 的 目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 字串
destinationAddress前綴 目的地位址前置詞。 CIDR 或目的地IP範圍。 字串[]
destinationApplicationSecurityGroups 指定為目的地的應用程式安全組。 ApplicationSecurityGroup[]
destinationPortRange 目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
destinationPortRanges 目的地埠範圍。 字串[]
方向 規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 “入站”
'輸出' (必要)
優先權 規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 int (必要)
通訊協定 此規則適用的網路協定。 '*'
“啊”
'ESP'
“ICMP”
'tcp'
'Udp' (必要)
sourceAddressPrefix 的 CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 字串
sourceAddress前綴 CIDR 或來源IP範圍。 字串[]
sourceApplicationSecurityGroups 指定為來源的應用程式安全組。 ApplicationSecurityGroup[]
sourcePortRange 來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
sourcePort範圍 來源埠範圍。 字串[]

ServiceDelegationPropertiesFormat

名字 描述 價值
服務名稱 應委派子網的服務名稱(例如Microsoft.Sql/servers)。 字串

ServiceEndpointPolicy

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 服務端點原則的屬性。 ServiceEndpointPolicyPropertiesFormat
標籤 資源標籤。 資源標籤

ServiceEndpointPolicyDefinition

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 服務端點原則定義的屬性。 ServiceEndpointPolicyDefinitionPropertiesFormat
型別 資源的型別。 字串

ServiceEndpointPolicyDefinitionPropertiesFormat

名字 描述 價值
描述 此規則的描述。 限制為140個字元。 字串
服務 服務端點名稱。 字串
服務資源 服務資源清單。 字串[]

ServiceEndpointPolicyPropertiesFormat

名字 描述 價值
contextualServiceEndpoint策略 關係型服務端點原則的集合。 字串[]
service別名 別名,指出原則是否屬於服務 字串
serviceEndpointPolicyDefinitions 服務端點原則的服務端點原則定義集合。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPropertiesFormat

名字 描述 價值
地點 位置清單。 字串[]
網路標識碼 SubResource 作為網路標識符。 子資源
服務 端點服務的型別。 字串

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 子網的屬性。 SubnetPropertiesFormat
型別 資源類型。 字串

SubnetPropertiesFormat

名字 描述 價值
addressPrefix 的 子網的位址前綴。 字串
address前綴 子網的位址前綴清單。 字串[]
applicationGatewayIPConfigurations 虛擬網路資源的應用程式閘道IP組態。 ApplicationGatewayIPConfiguration[]
defaultOutboundAccess 將此屬性設定為 false,以停用子網中所有 VM 的預設輸出連線。 布爾 (bool)
代表團 子網上委派的參考陣列。 委派[]
IP 分配 參考此子網的 IpAllocation 陣列。 子資源[]
ipamPoolPrefix分配 用於配置IP位址前置的IPAM集區清單。 IpamPoolPrefixAllocation[]
natGateway 閘道 與此子網相關聯的 Nat 閘道。 子資源
networkSecurityGroup NetworkSecurityGroup 資源的參考。 網路安全組
privateEndpointNetwork策略 在子網的私人端點上啟用或停用套用網路原則。 “已禁用”
“已啟用”
'NetworkSecurityGroupEnabled'
'RouteTableEnabled'
privateLinkServiceNetwork策略 在子網中的私人連結服務上啟用或停用套用網路原則。 “已禁用”
“已啟用”
routeTable RouteTable 資源的參考。 路由表
服務端點策略 服務端點原則的陣列。 ServiceEndpointPolicy[]
serviceEndpoints 服務端點的陣列。 ServiceEndpointPropertiesFormat[]
serviceGateway 參考現有的服務閘道。 子資源
sharingScope 將此屬性設定為 Tenant,以允許與 AAD 租使用者中的其他訂用帳戶共用子網。 只有當 defaultOutboundAccess 設定為 false 時,才能設定此屬性,只有在子網是空的時,才能設定這兩個屬性。 “委託服務”
“租戶”

子資源

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

虛擬網路Tap

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 虛擬網路點選屬性。 VirtualNetworkTapPropertiesFormat
標籤 資源標籤。 資源標籤

VirtualNetworkTapPropertiesFormat

名字 描述 價值
destinationLoadBalancerFrontEndIPConfiguration 將接收點選的內部 Load Balancer 上私人 IP 位址的參考。 FrontendIPConfiguration
destinationNetworkInterfaceIPConfiguration 將接收點選之收集器 nic 之私人 IP 位址的參考。 NetworkInterfaceIPConfiguration
destinationPort 將接收點選流量的 VXLAN 目的地埠。 整數 (int)

使用範例

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/virtualNetworkTaps@2025-05-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      destinationLoadBalancerFrontEndIPConfiguration = {
        id = "string"
        name = "string"
        properties = {
          gatewayLoadBalancer = {
            id = "string"
          }
          privateIPAddress = "string"
          privateIPAddressVersion = "string"
          privateIPAllocationMethod = "string"
          publicIPAddress = {
            extendedLocation = {
              name = "string"
              type = "string"
            }
            id = "string"
            location = "string"
            properties = {
              ddosSettings = {
                ddosProtectionPlan = {
                  id = "string"
                }
                protectionMode = "string"
              }
              deleteOption = "string"
              dnsSettings = {
                domainNameLabel = "string"
                domainNameLabelScope = "string"
                fqdn = "string"
                reverseFqdn = "string"
              }
              idleTimeoutInMinutes = int
              ipAddress = "string"
              ipTags = [
                {
                  ipTagType = "string"
                  tag = "string"
                }
              ]
              linkedPublicIPAddress = ...
              migrationPhase = "string"
              natGateway = {
                id = "string"
                location = "string"
                properties = {
                  idleTimeoutInMinutes = int
                  publicIpAddresses = [
                    {
                      id = "string"
                    }
                  ]
                  publicIpAddressesV6 = [
                    {
                      id = "string"
                    }
                  ]
                  publicIpPrefixes = [
                    {
                      id = "string"
                    }
                  ]
                  publicIpPrefixesV6 = [
                    {
                      id = "string"
                    }
                  ]
                  serviceGateway = {
                    id = "string"
                  }
                  sourceVirtualNetwork = {
                    id = "string"
                  }
                }
                sku = {
                  name = "string"
                }
                tags = {
                  {customized property} = "string"
                }
                zones = [
                  "string"
                ]
              }
              publicIPAddressVersion = "string"
              publicIPAllocationMethod = "string"
              publicIPPrefix = {
                id = "string"
              }
              servicePublicIPAddress = ...
            }
            sku = {
              name = "string"
              tier = "string"
            }
            tags = {
              {customized property} = "string"
            }
            zones = [
              "string"
            ]
          }
          publicIPPrefix = {
            id = "string"
          }
          subnet = {
            id = "string"
            name = "string"
            properties = {
              addressPrefix = "string"
              addressPrefixes = [
                "string"
              ]
              applicationGatewayIPConfigurations = [
                {
                  id = "string"
                  name = "string"
                  properties = {
                    subnet = {
                      id = "string"
                    }
                  }
                }
              ]
              defaultOutboundAccess = bool
              delegations = [
                {
                  id = "string"
                  name = "string"
                  properties = {
                    serviceName = "string"
                  }
                  type = "string"
                }
              ]
              ipAllocations = [
                {
                  id = "string"
                }
              ]
              ipamPoolPrefixAllocations = [
                {
                  numberOfIpAddresses = "string"
                  pool = {
                    id = "string"
                  }
                }
              ]
              natGateway = {
                id = "string"
              }
              networkSecurityGroup = {
                id = "string"
                location = "string"
                properties = {
                  flushConnection = bool
                  securityRules = [
                    {
                      id = "string"
                      name = "string"
                      properties = {
                        access = "string"
                        description = "string"
                        destinationAddressPrefix = "string"
                        destinationAddressPrefixes = [
                          "string"
                        ]
                        destinationApplicationSecurityGroups = [
                          {
                            id = "string"
                            location = "string"
                            properties = {
                            }
                            tags = {
                              {customized property} = "string"
                            }
                          }
                        ]
                        destinationPortRange = "string"
                        destinationPortRanges = [
                          "string"
                        ]
                        direction = "string"
                        priority = int
                        protocol = "string"
                        sourceAddressPrefix = "string"
                        sourceAddressPrefixes = [
                          "string"
                        ]
                        sourceApplicationSecurityGroups = [
                          {
                            id = "string"
                            location = "string"
                            properties = {
                            }
                            tags = {
                              {customized property} = "string"
                            }
                          }
                        ]
                        sourcePortRange = "string"
                        sourcePortRanges = [
                          "string"
                        ]
                      }
                      type = "string"
                    }
                  ]
                }
                tags = {
                  {customized property} = "string"
                }
              }
              privateEndpointNetworkPolicies = "string"
              privateLinkServiceNetworkPolicies = "string"
              routeTable = {
                id = "string"
                location = "string"
                properties = {
                  disableBgpRoutePropagation = bool
                  routes = [
                    {
                      id = "string"
                      name = "string"
                      properties = {
                        addressPrefix = "string"
                        nextHopIpAddress = "string"
                        nextHopType = "string"
                      }
                      type = "string"
                    }
                  ]
                }
                tags = {
                  {customized property} = "string"
                }
              }
              serviceEndpointPolicies = [
                {
                  id = "string"
                  location = "string"
                  properties = {
                    contextualServiceEndpointPolicies = [
                      "string"
                    ]
                    serviceAlias = "string"
                    serviceEndpointPolicyDefinitions = [
                      {
                        id = "string"
                        name = "string"
                        properties = {
                          description = "string"
                          service = "string"
                          serviceResources = [
                            "string"
                          ]
                        }
                        type = "string"
                      }
                    ]
                  }
                  tags = {
                    {customized property} = "string"
                  }
                }
              ]
              serviceEndpoints = [
                {
                  locations = [
                    "string"
                  ]
                  networkIdentifier = {
                    id = "string"
                  }
                  service = "string"
                }
              ]
              serviceGateway = {
                id = "string"
              }
              sharingScope = "string"
            }
            type = "string"
          }
        }
        zones = [
          "string"
        ]
      }
      destinationNetworkInterfaceIPConfiguration = {
        id = "string"
        name = "string"
        properties = {
          applicationGatewayBackendAddressPools = [
            {
              id = "string"
              name = "string"
              properties = {
                backendAddresses = [
                  {
                    fqdn = "string"
                    ipAddress = "string"
                  }
                ]
              }
            }
          ]
          applicationSecurityGroups = [
            {
              id = "string"
              location = "string"
              properties = {
              }
              tags = {
                {customized property} = "string"
              }
            }
          ]
          gatewayLoadBalancer = {
            id = "string"
          }
          loadBalancerBackendAddressPools = [
            {
              id = "string"
              name = "string"
              properties = {
                drainPeriodInSeconds = int
                loadBalancerBackendAddresses = [
                  {
                    name = "string"
                    properties = {
                      adminState = "string"
                      ipAddress = "string"
                      loadBalancerFrontendIPConfiguration = {
                        id = "string"
                      }
                      subnet = {
                        id = "string"
                      }
                      virtualNetwork = {
                        id = "string"
                      }
                    }
                  }
                ]
                location = "string"
                syncMode = "string"
                tunnelInterfaces = [
                  {
                    identifier = int
                    port = int
                    protocol = "string"
                    type = "string"
                  }
                ]
                virtualNetwork = {
                  id = "string"
                }
              }
            }
          ]
          loadBalancerInboundNatRules = [
            {
              id = "string"
              name = "string"
              properties = {
                backendAddressPool = {
                  id = "string"
                }
                backendPort = int
                enableFloatingIP = bool
                enableTcpReset = bool
                frontendIPConfiguration = {
                  id = "string"
                }
                frontendPort = int
                frontendPortRangeEnd = int
                frontendPortRangeStart = int
                idleTimeoutInMinutes = int
                protocol = "string"
              }
            }
          ]
          primary = bool
          privateIPAddress = "string"
          privateIPAddressPrefixLength = int
          privateIPAddressVersion = "string"
          privateIPAllocationMethod = "string"
          publicIPAddress = {
            extendedLocation = {
              name = "string"
              type = "string"
            }
            id = "string"
            location = "string"
            properties = {
              ddosSettings = {
                ddosProtectionPlan = {
                  id = "string"
                }
                protectionMode = "string"
              }
              deleteOption = "string"
              dnsSettings = {
                domainNameLabel = "string"
                domainNameLabelScope = "string"
                fqdn = "string"
                reverseFqdn = "string"
              }
              idleTimeoutInMinutes = int
              ipAddress = "string"
              ipTags = [
                {
                  ipTagType = "string"
                  tag = "string"
                }
              ]
              linkedPublicIPAddress = ...
              migrationPhase = "string"
              natGateway = {
                id = "string"
                location = "string"
                properties = {
                  idleTimeoutInMinutes = int
                  publicIpAddresses = [
                    {
                      id = "string"
                    }
                  ]
                  publicIpAddressesV6 = [
                    {
                      id = "string"
                    }
                  ]
                  publicIpPrefixes = [
                    {
                      id = "string"
                    }
                  ]
                  publicIpPrefixesV6 = [
                    {
                      id = "string"
                    }
                  ]
                  serviceGateway = {
                    id = "string"
                  }
                  sourceVirtualNetwork = {
                    id = "string"
                  }
                }
                sku = {
                  name = "string"
                }
                tags = {
                  {customized property} = "string"
                }
                zones = [
                  "string"
                ]
              }
              publicIPAddressVersion = "string"
              publicIPAllocationMethod = "string"
              publicIPPrefix = {
                id = "string"
              }
              servicePublicIPAddress = ...
            }
            sku = {
              name = "string"
              tier = "string"
            }
            tags = {
              {customized property} = "string"
            }
            zones = [
              "string"
            ]
          }
          subnet = {
            id = "string"
            name = "string"
            properties = {
              addressPrefix = "string"
              addressPrefixes = [
                "string"
              ]
              applicationGatewayIPConfigurations = [
                {
                  id = "string"
                  name = "string"
                  properties = {
                    subnet = {
                      id = "string"
                    }
                  }
                }
              ]
              defaultOutboundAccess = bool
              delegations = [
                {
                  id = "string"
                  name = "string"
                  properties = {
                    serviceName = "string"
                  }
                  type = "string"
                }
              ]
              ipAllocations = [
                {
                  id = "string"
                }
              ]
              ipamPoolPrefixAllocations = [
                {
                  numberOfIpAddresses = "string"
                  pool = {
                    id = "string"
                  }
                }
              ]
              natGateway = {
                id = "string"
              }
              networkSecurityGroup = {
                id = "string"
                location = "string"
                properties = {
                  flushConnection = bool
                  securityRules = [
                    {
                      id = "string"
                      name = "string"
                      properties = {
                        access = "string"
                        description = "string"
                        destinationAddressPrefix = "string"
                        destinationAddressPrefixes = [
                          "string"
                        ]
                        destinationApplicationSecurityGroups = [
                          {
                            id = "string"
                            location = "string"
                            properties = {
                            }
                            tags = {
                              {customized property} = "string"
                            }
                          }
                        ]
                        destinationPortRange = "string"
                        destinationPortRanges = [
                          "string"
                        ]
                        direction = "string"
                        priority = int
                        protocol = "string"
                        sourceAddressPrefix = "string"
                        sourceAddressPrefixes = [
                          "string"
                        ]
                        sourceApplicationSecurityGroups = [
                          {
                            id = "string"
                            location = "string"
                            properties = {
                            }
                            tags = {
                              {customized property} = "string"
                            }
                          }
                        ]
                        sourcePortRange = "string"
                        sourcePortRanges = [
                          "string"
                        ]
                      }
                      type = "string"
                    }
                  ]
                }
                tags = {
                  {customized property} = "string"
                }
              }
              privateEndpointNetworkPolicies = "string"
              privateLinkServiceNetworkPolicies = "string"
              routeTable = {
                id = "string"
                location = "string"
                properties = {
                  disableBgpRoutePropagation = bool
                  routes = [
                    {
                      id = "string"
                      name = "string"
                      properties = {
                        addressPrefix = "string"
                        nextHopIpAddress = "string"
                        nextHopType = "string"
                      }
                      type = "string"
                    }
                  ]
                }
                tags = {
                  {customized property} = "string"
                }
              }
              serviceEndpointPolicies = [
                {
                  id = "string"
                  location = "string"
                  properties = {
                    contextualServiceEndpointPolicies = [
                      "string"
                    ]
                    serviceAlias = "string"
                    serviceEndpointPolicyDefinitions = [
                      {
                        id = "string"
                        name = "string"
                        properties = {
                          description = "string"
                          service = "string"
                          serviceResources = [
                            "string"
                          ]
                        }
                        type = "string"
                      }
                    ]
                  }
                  tags = {
                    {customized property} = "string"
                  }
                }
              ]
              serviceEndpoints = [
                {
                  locations = [
                    "string"
                  ]
                  networkIdentifier = {
                    id = "string"
                  }
                  service = "string"
                }
              ]
              serviceGateway = {
                id = "string"
              }
              sharingScope = "string"
            }
            type = "string"
          }
          virtualNetworkTaps = [
            {
              id = "string"
              location = "string"
              properties = ...
              tags = {
                {customized property} = "string"
              }
            }
          ]
        }
        type = "string"
      }
      destinationPort = int
    }
  }
}

屬性值

Microsoft.Network/virtualNetworkTaps

名字 描述 價值
位置 資源位置。 字串
名字 資源名稱 字串 (必要)
性能 虛擬網路點選屬性。 VirtualNetworkTapPropertiesFormat
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft.Network/virtualNetworkTaps@2025-05-01」

ApplicationGatewayBackendAddress 應用程式

名字 描述 價值
FQDN 完整功能變數名稱(FQDN)。 字串
IP位址 IP位址。 字串

ApplicationGatewayBackendAddressPool 應用程式

名字 描述 價值
識別碼 資源標識碼。 字串
名字 應用程式閘道內唯一的後端位址池名稱。 字串
性能 應用程式閘道後端位址池的屬性。 ApplicationGatewayBackendAddressPoolPropertiesFormat

ApplicationGatewayBackendAddressPoolPropertiesFormat

名字 描述 價值
backend位址 後端位址。 ApplicationGatewayBackendAddress[]

ApplicationGatewayIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 應用程式閘道內唯一的IP組態名稱。 字串
性能 應用程式閘道IP組態的屬性。 ApplicationGatewayIPConfigurationPropertiesFormat

ApplicationGatewayIPConfigurationPropertiesFormat

名字 描述 價值
子網路 子網資源的參考。 應用程式閘道從中取得其私人位址的子網。 子資源

ApplicationSecurityGroup 應用程式安全組

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 應用程式安全組的屬性。 ApplicationSecurityGroupPropertiesFormat
標籤 資源標籤。 資源標籤

ApplicationSecurityGroupPropertiesFormat

名字 描述 價值

後端位址池

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用之後端位址池集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器後端位址池的屬性。 BackendAddressPoolPropertiesFormat

BackendAddressPoolPropertiesFormat

名字 描述 價值
drainPeriodInSeconds (秒) 將 RESET 傳送至用戶端和後端位址之前,Load Balancer 會等候的秒數。 整數 (int)
loadBalancerBackendAddresses 後端位址的陣列。 LoadBalancerBackendAddress[]
位置 後端位址池的位置。 字串
syncMode 同步模式 後端集區的後端位址同步模式 “自動”
“手動”
隧道介面 閘道連接平衡器通道介面的陣列。 GatewayLoadBalancerTunnelInterface[]
虛擬網路 虛擬網路的參考。 子資源

Ddos設置

名字 描述 價值
ddosProtectionPlan 計劃 與公用IP相關聯的 DDoS 保護計劃。 只有在 ProtectionMode 已啟用時,才能設定 子資源
protectionMode 保護模式 公用IP的 DDoS 保護模式 “已禁用”
“已啟用”
“VirtualNetworkInherited”

代表團

名字 描述 價值
識別碼 資源標識碼。 字串
名字 子網內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 子網的屬性。 ServiceDelegationPropertiesFormat
型別 資源類型。 字串

擴展位置

名字 描述 價值
名字 擴充位置的名稱。 字串
型別 擴充位置的類型。 'EdgeZone'

FrontendIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用前端IP組態集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器探查的屬性。 FrontendIPConfigurationPropertiesFormat
可用性區域清單,表示為資源配置的IP必須來自。 字串[]

FrontendIPConfigurationPropertiesFormat

名字 描述 價值
閘道負載均衡器 閘道負載平衡器前端IP的參考。 子資源
privateIPAddress 位址 IP 組態的私人IP位址。 字串
privateIPAddress版本 特定 ipconfiguration 是 IPv4 或 IPv6。 預設值會視為 IPv4。 “IPv4”
“IPv6”
privateIPAllocationMethod 私人IP配置方法。 “動態”
“靜態”
publicIPAddress 位址 公用IP資源的參考。 公共IP位址
publicIPPrefix 公用IP前置詞資源的參考。 子資源
子網路 子網資源的參考。 子網

閘道負載均衡器隧道介面

名字 描述 價值
識別碼 閘道連接平衡器通道介面的識別碼。 整數 (int)
傳輸埠 閘道連接平衡器通道介面的埠。 整數 (int)
通訊協定 閘道連接平衡器通道介面的通訊協定。 “本地”
“無”
'VXLAN'
型別 閘道連接平衡器通道介面的流量類型。 “外部”
“內部”
“無”

入站 NatRule

名字 描述 價值
識別碼 資源標識碼。 字串
名字 負載平衡器所使用之輸入NAT規則集合內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 負載平衡器輸入NAT規則的屬性。 InboundNatRulePropertiesFormat

InboundNatRulePropertiesFormat

名字 描述 價值
backendAddressPool backendAddressPool 資源的參考。 子資源
backendPort 用於內部端點的埠。 可接受的值範圍從 1 到 65535。 整數 (int)
enableFloatingIP 針對設定 SQL AlwaysOn 可用性群組所需的浮動 IP 功能,設定虛擬機的端點。 使用 SQL Server 中的 SQL AlwaysOn 可用性群組時,需要此設定。 建立端點之後,就無法變更此設定。 布爾 (bool)
enableTcpReset 在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 布爾 (bool)
frontendIPConfiguration 前端IP位址的參考。 子資源
frontendPort 外部端點的埠。 每個規則的埠號碼在Load Balancer內必須是唯一的。 可接受的值範圍從 1 到 65534。 整數 (int)
frontendPortRangeEnd 外部端點的埠範圍結束。 此屬性會與 BackendAddressPool 和 FrontendPortRangeStart 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 整數 (int)
frontendPortRangeStart 外部端點的埠範圍開始。 此屬性會與 BackendAddressPool 和 FrontendPortRangeEnd 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 整數 (int)
idleTimeoutInMinutes TCP 閑置連線的逾時。 此值可以設定在 4 到 30 分鐘之間。 預設值為 4 分鐘。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 整數 (int)
通訊協定 負載平衡規則所使用的傳輸通訊協議參考。 '全部'
“奎克”
'tcp'
'UDP'

IpamPoolPrefixAllocation

名字 描述 價值
IpAddresses 數量 要配置的IP位址數目。 字串
集區 IpamPoolPrefixAllocationPool

IpamPoolPrefixAllocationPool

名字 描述 價值
識別碼 相關聯 Azure IpamPool 資源的資源標識碼。 字串

IpTag

名字 描述 價值
ipTag類型 IP 標籤類型。 範例:FirstPartyUsage。 字串
加標籤 與公用IP相關聯的IP標籤。 範例:SQL。 字串

LoadBalancerBackendAddress

名字 描述 價值
名字 後端位址的名稱。 字串
性能 負載平衡器後端位址池的屬性。 LoadBalancerBackendAddressPropertiesFormat

LoadBalancerBackendAddressPropertiesFormat

名字 描述 價值
adminState 一旦設定后,系統管理狀態清單可以覆寫健康狀態探查,讓Load Balancer 一律會將新的連線轉送至後端,或拒絕新的連線並重設現有的連線。 “下”
“無”
“向上”
IP位址 屬於參考虛擬網路的IP位址。 字串
loadBalancerFrontendIPConfiguration 區域負載平衡器中定義的前端IP位址組態參考。 子資源
子網路 現有子網的參考。 子資源
虛擬網路 現有虛擬網路的參考。 子資源

NatGateway 閘道

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 Nat 閘道屬性。 NatGatewayPropertiesFormat
SKU nat 閘道 SKU。 NatGatewaySku
標籤 資源標籤。 資源標籤
可用性區域清單,表示應該在其中部署 Nat 閘道的區域。 字串[]

NatGatewayPropertiesFormat

名字 描述 價值
idleTimeoutInMinutes nat 閘道的閒置逾時。 整數 (int)
publicIp位址 與 nat 閘道資源關聯的公有IP位址 V4 陣列。 子資源[]
公共IP位址V6 與 nat 閘道資源關聯的公有IP位址 V6 陣列。 子資源[]
publicIp前綴 與 nat 閘道資源關聯的公有IP前綴 V4 陣列。 子資源[]
publicIpPrefixesV6 與 nat 閘道資源關聯的公有IP前綴 V6 陣列。 子資源[]
serviceGateway 參考現有的服務閘道。 子資源
源虛擬網路 使用此 nat 閘道資源對源虛擬網路的引用。 子資源

NatGatewaySku

名字 描述 價值
名字 Nat 閘道 SKU 的名稱。 “標準”
'StandardV2'

NetworkInterfaceIPConfiguration

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 網路介面IP組態屬性。 NetworkInterfaceIPConfigurationPropertiesFormat
型別 資源類型。 字串

NetworkInterfaceIPConfigurationPropertiesFormat

名字 描述 價值
applicationGatewayBackendAddressPools 應用程式 ApplicationGatewayBackendAddressPool 資源的參考。 ApplicationGatewayBackendAddressPool[]
應用程式安全群組 包含IP組態的應用程式安全組。 ApplicationSecurityGroup[]
閘道負載均衡器 閘道負載平衡器前端IP的參考。 子資源
loadBalancerBackendAddressPools LoadBalancerBackendAddressPool 資源的參考。 BackendAddressPool[]
loadBalancerInboundNatRules LoadBalancerInboundNatRules 的參考清單。 InboundNatRule[]
主要 這是否為網路介面上的主要客戶位址。 布爾 (bool)
privateIPAddress 位址 IP 組態的私人IP位址。 它可以是單一 IP 位址或 CIDR 區塊,格式為 <位址>/<前置長度>。 字串
privateIPAddressPrefixLength 私人IP位址前綴長度。 如果指定且配置方法是動態的,則服務會配置 CIDR 區塊,而不是單一 IP 位址。 int

約束:
最小值 = 1
最大值 = 128
privateIPAddress版本 特定IP組態為IPv4或IPv6。 預設值為 IPv4。 “IPv4”
“IPv6”
privateIPAllocationMethod 私人IP位址配置方法。 “動態”
“靜態”
publicIPAddress 位址 系結至IP組態的公用IP位址。 公共IP位址
子網路 系結至IP組態的子網。 子網
virtualNetworkTaps 虛擬網路點選的參考。 VirtualNetworkTap []

網路安全組

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 網路安全組的屬性。 NetworkSecurityGroupPropertiesFormat
標籤 資源標籤。 資源標籤

NetworkSecurityGroupPropertiesFormat

名字 描述 價值
flush連接 啟用時,從網路安全組連線建立的流程會在更新規則時重新評估。 初始啟用將會觸發重新評估。 布爾 (bool)
securityRules 安全規則 網路安全組的安全性規則集合。 SecurityRule[]

公共IP地址

名字 描述 價值
extendedLocation 公用IP位址的擴充位置。 擴展位置
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 公用IP位址屬性。 PublicIPAddressPropertiesFormat
SKU 公用IP位址 SKU。 公共IPAddressSku
標籤 資源標籤。 資源標籤
可用性區域清單,表示為資源配置的IP必須來自。 字串[]

公共IPAddressDnsSettings

名字 描述 價值
domainNameLabel 功能變數名稱標籤 功能變數名稱標籤。 功能變數名稱標籤和區域化 DNS 區域的串連組成與公用IP位址相關聯的完整功能變數名稱。 如果指定功能變數名稱標籤,則會為 Microsoft azure DNS 系統中的公用 IP 建立 A DNS 記錄。 字串
domainNameLabel範圍 功能變數名稱標籤範圍。 如果指定功能變數名稱標籤和功能變數名稱標籤範圍,則會為Microsoft Azure DNS 系統中的公用IP建立一個 DNS 記錄,其中包含 FQDN 中的哈希值。 '禁止重複使用'
“ResourceGroupReuse”
“訂閱重用”
“TenantReuse”
FQDN 與公用IP相關聯的 A DNS 記錄的完整功能變數名稱。 這是 domainNameLabel 和區域化 DNS 區域的串連。 字串
reverseFqdn 反向 FQDN。 可解析為這個公用IP位址的用戶可見完整功能變數名稱。 如果指定 reverseFqdn,則會建立 PTR DNS 記錄,從 in-addr.arpa 網域中的 IP 位址指向反向 FQDN。 字串

PublicIPAddressPropertiesFormat

名字 描述 價值
ddos設置 與公用IP位址相關聯的 DDoS 保護自定義原則。 Ddos設置
deleteOption 指定刪除 VM 時,公用 IP 位址會發生什麼事 '刪除'
“分離”
dns設置 與公用IP位址相關聯的 DNS 記錄 FQDN。 公共IPAddressDnsSettings
idleTimeoutInMinutes 公用IP位址的閒置逾時。 整數 (int)
IP位址 與公用IP位址資源相關聯的IP位址。 字串
ip標籤 與公用IP位址相關聯的標記清單。 IpTag []
linkedPublicIPAddress 位址 公用IP位址資源的連結公用IP位址。 公共IP位址
遷移階段 公用IP位址的移轉階段。 “中止”
“提交”
“承諾”
“無”
“準備”
natGateway 閘道 公用IP位址的 NatGateway。 NatGateway 閘道
publicIPAddress版本 公用IP位址版本。 “IPv4”
“IPv6”
publicIPAllocationMethod 公用IP位址配置方法。 “動態”
“靜態”
publicIPPrefix 此公用IP位址的公用IP前綴應該從 中配置。 子資源
servicePublicIPAddress 位址 公用IP位址資源的服務公用IP位址。 公共IP位址

公共IPAddressSku

名字 描述 價值
名字 公用IP位址 SKU 的名稱。 “基本”
“標準”
'StandardV2'
分層 公用IP位址SKU的階層。 “全球”
'地區'

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

資源標籤

名字 描述 價值

路線

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 路由的屬性。 RoutePropertiesFormat
型別 資源的型別。 字串

RoutePropertiesFormat

名字 描述 價值
addressPrefix 的 路由套用目的地 CIDR。 字串
nextHopIp位址 IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 字串
nextHopType 封包應傳送至的 Azure 躍點類型。 “互聯網”
“無”
“虛擬設備”
“VirtualNetworkGateway”
'VnetLocal' (必要)

路由表

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 路由表的屬性。 RouteTablePropertiesFormat
標籤 資源標籤。 資源標籤

RouteTablePropertiesFormat

名字 描述 價值
禁用 BgpRoutePropagation 是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 布爾 (bool)
路線 路由表中包含的路由集合。 路由[]

SecurityRule 安全規則

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 安全性規則的屬性。 SecurityRulePropertiesFormat
型別 資源的型別。 字串

SecurityRulePropertiesFormat

名字 描述 價值
訪問 允許或拒絕網路流量。 '允許'
'拒絕' (必要)
描述 此規則的描述。 限制為140個字元。 字串
destinationAddressPrefix 的 目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 字串
destinationAddress前綴 目的地位址前置詞。 CIDR 或目的地IP範圍。 字串[]
destinationApplicationSecurityGroups 指定為目的地的應用程式安全組。 ApplicationSecurityGroup[]
destinationPortRange 目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
destinationPortRanges 目的地埠範圍。 字串[]
方向 規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 “入站”
'輸出' (必要)
優先權 規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 int (必要)
通訊協定 此規則適用的網路協定。 '*'
“啊”
'ESP'
“ICMP”
'tcp'
'Udp' (必要)
sourceAddressPrefix 的 CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 字串
sourceAddress前綴 CIDR 或來源IP範圍。 字串[]
sourceApplicationSecurityGroups 指定為來源的應用程式安全組。 ApplicationSecurityGroup[]
sourcePortRange 來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
sourcePort範圍 來源埠範圍。 字串[]

ServiceDelegationPropertiesFormat

名字 描述 價值
服務名稱 應委派子網的服務名稱(例如Microsoft.Sql/servers)。 字串

ServiceEndpointPolicy

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 服務端點原則的屬性。 ServiceEndpointPolicyPropertiesFormat
標籤 資源標籤。 資源標籤

ServiceEndpointPolicyDefinition

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 服務端點原則定義的屬性。 ServiceEndpointPolicyDefinitionPropertiesFormat
型別 資源的型別。 字串

ServiceEndpointPolicyDefinitionPropertiesFormat

名字 描述 價值
描述 此規則的描述。 限制為140個字元。 字串
服務 服務端點名稱。 字串
服務資源 服務資源清單。 字串[]

ServiceEndpointPolicyPropertiesFormat

名字 描述 價值
contextualServiceEndpoint策略 關係型服務端點原則的集合。 字串[]
service別名 別名,指出原則是否屬於服務 字串
serviceEndpointPolicyDefinitions 服務端點原則的服務端點原則定義集合。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPropertiesFormat

名字 描述 價值
地點 位置清單。 字串[]
網路標識碼 SubResource 作為網路標識符。 子資源
服務 端點服務的型別。 字串

名字 描述 價值
識別碼 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 子網的屬性。 SubnetPropertiesFormat
型別 資源類型。 字串

SubnetPropertiesFormat

名字 描述 價值
addressPrefix 的 子網的位址前綴。 字串
address前綴 子網的位址前綴清單。 字串[]
applicationGatewayIPConfigurations 虛擬網路資源的應用程式閘道IP組態。 ApplicationGatewayIPConfiguration[]
defaultOutboundAccess 將此屬性設定為 false,以停用子網中所有 VM 的預設輸出連線。 布爾 (bool)
代表團 子網上委派的參考陣列。 委派[]
IP 分配 參考此子網的 IpAllocation 陣列。 子資源[]
ipamPoolPrefix分配 用於配置IP位址前置的IPAM集區清單。 IpamPoolPrefixAllocation[]
natGateway 閘道 與此子網相關聯的 Nat 閘道。 子資源
networkSecurityGroup NetworkSecurityGroup 資源的參考。 網路安全組
privateEndpointNetwork策略 在子網的私人端點上啟用或停用套用網路原則。 “已禁用”
“已啟用”
'NetworkSecurityGroupEnabled'
'RouteTableEnabled'
privateLinkServiceNetwork策略 在子網中的私人連結服務上啟用或停用套用網路原則。 “已禁用”
“已啟用”
routeTable RouteTable 資源的參考。 路由表
服務端點策略 服務端點原則的陣列。 ServiceEndpointPolicy[]
serviceEndpoints 服務端點的陣列。 ServiceEndpointPropertiesFormat[]
serviceGateway 參考現有的服務閘道。 子資源
sharingScope 將此屬性設定為 Tenant,以允許與 AAD 租使用者中的其他訂用帳戶共用子網。 只有當 defaultOutboundAccess 設定為 false 時,才能設定此屬性,只有在子網是空的時,才能設定這兩個屬性。 “委託服務”
“租戶”

子資源

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

虛擬網路Tap

名字 描述 價值
識別碼 資源標識碼。 字串
位置 資源位置。 字串
性能 虛擬網路點選屬性。 VirtualNetworkTapPropertiesFormat
標籤 資源標籤。 資源標籤

VirtualNetworkTapPropertiesFormat

名字 描述 價值
destinationLoadBalancerFrontEndIPConfiguration 將接收點選的內部 Load Balancer 上私人 IP 位址的參考。 FrontendIPConfiguration
destinationNetworkInterfaceIPConfiguration 將接收點選之收集器 nic 之私人 IP 位址的參考。 NetworkInterfaceIPConfiguration
destinationPort 將接收點選流量的 VXLAN 目的地埠。 整數 (int)