你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
- 最新
- 2025-05-01
- 2025-03-01
- 2025-01-01
- 2024-10-01
- 2024-07-01
- 2024-05-01
- 2024-03-01
- 2024-01-01
- 2023-11-01
- 2023-09-01
- 2023-06-01
- 2023-05-01
- 2023-04-01
- 2023-02-01
- 2022-11-01
- 2022-09-01
- 2022-07-01
- 2022-05-01
- 2022-01-01
- 2021-08-01
- 2021-05-01
- 2021-03-01
- 2021-02-01
- 2020-11-01
- 2020-08-01
- 2020-07-01
- 2020-06-01
- 2020-05-01
- 2020-04-01
- 2020-03-01
- 2019-12-01
- 2019-11-01
- 2019-09-01
- 2019-08-01
- 2019-07-01
- 2019-06-01
- 2019-04-01
- 2019-02-01
- 2018-12-01
- 2018-11-01
- 2018-10-01
- 2018-08-01
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'
]
}
}
]
}
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'
}
}
]
}
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'
]
}
}
]
}
tags: {
{customized property}: 'string'
}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
networkIdentifier: {
id: 'string'
}
service: 'string'
}
]
serviceGateway: {
id: 'string'
}
sharingScope: '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'
]
}
}
]
}
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'
}
}
]
}
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'
]
}
}
]
}
tags: {
{customized property}: 'string'
}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
networkIdentifier: {
id: 'string'
}
service: 'string'
}
]
serviceGateway: {
id: 'string'
}
sharingScope: 'string'
}
}
virtualNetworkTaps: [
{
id: 'string'
location: 'string'
properties: ...
tags: {
{customized property}: 'string'
}
}
]
}
}
destinationPort: int
}
tags: {
{customized property}: 'string'
}
}
属性值
Microsoft.Network/virtualNetworkTaps
| 名字 | 描述 | 价值 |
|---|---|---|
| 位置 | 资源位置。 | 字符串 |
| 名字 | 资源名称 | string (必需) |
| 性能 | 虚拟网络点击属性。 | CommonVirtualNetworkTapPropertiesFormat |
| 标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
CommonApplicationGatewayBackendAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| FQDN | 完全限定的域名(FQDN)。 | 字符串 |
| IP地址 | IP地址。 | 字符串 |
CommonApplicationGatewayBackendAddressPool
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 应用程序网关中唯一的后端地址池的名称。 | 字符串 |
| 性能 | 应用程序网关后端地址池的属性。 | CommonApplicationGatewayBackendAddressPoolPropertiesFormat |
CommonApplicationGatewayBackendAddressPoolPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| backend地址 | 后端地址。 | CommonApplicationGatewayBackendAddress[] |
CommonApplicationGatewayIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 应用程序网关中唯一的 IP 配置的名称。 | 字符串 |
| 性能 | 应用程序网关 IP 配置的属性。 | CommonApplicationGatewayIPConfigurationPropertiesFormat |
CommonApplicationGatewayIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 子网 | 对子网资源的引用。 应用程序网关从中获取其专用地址的子网。 | 通用子资源 |
CommonApplicationSecurityGroup
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 应用程序安全组的属性。 | CommonApplicationSecurityGroupPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonApplicationSecurityGroupPropertiesFormat
| 名字 | 描述 | 价值 |
|---|
通用后端地址池
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器后端地址池的属性。 | CommonBackendAddressPoolPropertiesFormat |
CommonBackendAddressPoolPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| drainPeriodInSeconds (秒) | 将 RESET 发送到客户端和后端地址之前,负载均衡器等待的秒数。 | 整数 (int) |
| loadBalancerBackendAddresses | 后端地址数组。 | CommonLoadBalancerBackendAddress[] |
| 位置 | 后端地址池的位置。 | 字符串 |
| syncMode 同步模式 | 后端池的后端地址同步模式 | “Automatic” “Manual” |
| 隧道接口 | 网关负载均衡器隧道接口的数组。 | CommonGatewayLoadBalancerTunnelInterface[] |
| 虚拟网络 | 对虚拟网络的引用。 | 通用子资源 |
CommonDDDOSSettings
| 名字 | 描述 | 价值 |
|---|---|---|
| ddosProtectionPlan 计划 | 与公共 IP 关联的 DDoS 保护计划。 仅当 ProtectionMode 已启用时才能设置 | 通用子资源 |
| protectionMode 保护模式 | 公共 IP 的 DDoS 保护模式 | “Disabled” “Enabled” “VirtualNetworkInherited” |
共同代表团
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 子网中唯一的资源的名称。 此名称可用于访问资源。 | 字符串 |
| 性能 | 子网的属性。 | CommonServiceDelegationPropertiesFormat |
| 类型 | 资源类型。 | 字符串 |
共同扩展位置
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 扩展位置的名称。 | 字符串 |
| 类型 | 扩展位置的类型。 | “EdgeZone” |
CommonFrontendIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器探测的属性。 | CommonFrontendIPConfigurationPropertiesFormat |
| 区 | 表示为资源分配的 IP 需要来自的可用性区域列表。 | 字符串[] |
CommonFrontendIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 网关负载均衡器 | 对网关负载均衡器前端 IP 的引用。 | 通用子资源 |
| privateIPAddress 地址 | IP 配置的专用 IP 地址。 | 字符串 |
| privateIPAddress版本 | 特定 ipconfiguration 是 IPv4 还是 IPv6。 默认值被视为 IPv4。 | “IPv4” “IPv6” |
| privateIPAllocationMethod | 专用 IP 分配方法。 | “Dynamic” “Static” |
| publicIPAddress 地址 | 对公共 IP 资源的引用。 | CommonPublicIPAddress |
| publicIPPrefix | 对公共 IP 前缀资源的引用。 | 通用子资源 |
| 子网 | 对子网资源的引用。 | 共同子网 |
CommonGatewayLoadBalancerTunnelInterface
| 名字 | 描述 | 价值 |
|---|---|---|
| 标识符 | 网关负载均衡器隧道接口的标识符。 | 整数 (int) |
| 移植 | 网关负载均衡器隧道接口的端口。 | 整数 (int) |
| 协议 | 网关负载均衡器隧道接口的协议。 | “Native” “None” “VXLAN” |
| 类型 | 网关负载均衡器隧道接口的流量类型。 | “External” “Internal” “None” |
CommonInboundNatRule
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器入站 NAT 规则的属性。 | CommonInboundNatRulePropertiesFormat |
CommonInboundNatRulePropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| backendAddressPool | 对 backendAddressPool 资源的引用。 | 通用子资源 |
| backendPort | 用于内部终结点的端口。 可接受的值范围为 1 到 65535。 | 整数 (int) |
| enableFloatingIP | 为配置 SQL AlwaysOn 可用性组所需的浮动 IP 功能配置虚拟机的终结点。 在 SQL Server 中使用 SQL AlwaysOn 可用性组时,需要此设置。 创建终结点后,无法更改此设置。 | 布尔 |
| enableTcpReset | 在 TCP 流空闲超时或意外的连接终止时接收双向 TCP 重置。 仅当协议设置为 TCP 时,才使用此元素。 | 布尔 |
| frontendIPConfiguration | 对前端 IP 地址的引用。 | 通用子资源 |
| frontendPort | 外部终结点的端口。 每个规则的端口号在负载均衡器中必须是唯一的。 可接受的值范围为 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) |
| 协议 | 对负载均衡规则使用的传输协议的引用。 | “All” “奎克” “Tcp” “Udp” |
CommonIpamPoolPrefixAllocation
| 名字 | 描述 | 价值 |
|---|---|---|
| IpAddresses 数量 | 要分配的 IP 地址数。 | 字符串 |
| 池 | CommonIpamPoolPrefixAllocationPool |
CommonIpamPoolPrefixAllocationPool
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 关联的 Azure IpamPool 资源的资源 ID。 | 字符串 |
通用IpTag
| 名字 | 描述 | 价值 |
|---|---|---|
| ipTag类型 | IP 标记类型。 示例:FirstPartyUsage。 | 字符串 |
| 标签 | 与公共 IP 关联的 IP 标记的值。 示例:SQL。 | 字符串 |
CommonLoadBalancerBackendAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 后端地址的名称。 | 字符串 |
| 性能 | 负载均衡器后端地址池的属性。 | CommonLoadBalancerBackendAddressPropertiesFormat |
CommonLoadBalancerBackendAddressPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| adminState | 一个管理状态列表,一旦设置即可替代运行状况探测,以便负载均衡器始终将新连接转发到后端,或拒绝新连接并重置现有连接。 | “Down” “None” “Up” |
| IP地址 | 属于所引用虚拟网络的 IP 地址。 | 字符串 |
| loadBalancerFrontendIPConfiguration | 对区域负载均衡器中定义的前端 IP 地址配置的引用。 | 通用子资源 |
| 子网 | 对现有子网的引用。 | 通用子资源 |
| 虚拟网络 | 对现有虚拟网络的引用。 | 通用子资源 |
通用国家门户
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | Nat 网关属性。 | CommonNatGatewayPropertiesFormat |
| SKU | nat 网关 SKU。 | CommonNatGatewaySku |
| 标签 | 资源标记。 | CommonResourceTags |
| 区 | 表示应在其中部署 Nat 网关的区域的可用性区域的列表。 | 字符串[] |
CommonNatGatewayPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| idleTimeoutInMinutes | nat 网关的空闲超时。 | 整数 (int) |
| publicIp地址 | 与 nat 网关资源关联的公有 IP 地址 V4 数组。 | 共同子资源[] |
| 公共 IP 地址V6 | 与 nat 网关资源关联的公有 IP 地址 V6 数组。 | 共同子资源[] |
| publicIp前缀 | 与 nat 网关资源关联的公有 IP 前缀 V4 数组。 | 共同子资源[] |
| publicIpPrefixesV6 | 与 nat 网关资源关联的公有 IP 前缀 V6 数组。 | 共同子资源[] |
| 服务网关 | 引用现有的服务网关。 | 通用子资源 |
| 源虚拟网络 | 使用此 nat 网关资源对源虚拟网络的引用。 | 通用子资源 |
CommonNatGatewaySku
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | Nat 网关 SKU 的名称。 | “Standard” 'StandardV2' |
CommonNetworkInterfaceIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 网络接口 IP 配置属性。 | CommonNetworkInterfaceIPConfigurationPropertiesFormat |
CommonNetworkInterfaceIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| applicationGatewayBackendAddressPools 应用程序 | 对 ApplicationGatewayBackendAddressPool 资源的引用。 | CommonApplicationGatewayBackendAddressPool[] |
| applicationSecurity组 | 包含 IP 配置的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| 网关负载均衡器 | 对网关负载均衡器前端 IP 的引用。 | 通用子资源 |
| loadBalancerBackendAddressPools | 对 LoadBalancerBackendAddressPool 资源的引用。 | 通用后端地址池[] |
| loadBalancerInboundNatRules | LoadBalancerInboundNatRules 的引用列表。 | CommonInboundNatRule[] |
| 主要 | 这是否是网络接口上的主要客户地址。 | 布尔 |
| privateIPAddress 地址 | IP 配置的专用 IP 地址。 它可以是单个 IP 地址或 CIDR 块,格式为 <地址>/<前缀长度>。 | 字符串 |
| privateIPAddressPrefixLength | 专用 IP 地址前缀长度。 如果指定且分配方法是动态的,则服务将分配 CIDR 块而不是单个 IP 地址。 | int 约束: 最小值 = 1 最大值 = 128 |
| privateIPAddress版本 | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
| privateIPAllocationMethod | 专用 IP 地址分配方法。 | “Dynamic” “Static” |
| publicIPAddress 地址 | 绑定到 IP 配置的公共 IP 地址。 | CommonPublicIPAddress |
| 子网 | 绑定到 IP 配置的子网。 | 共同子网 |
| virtualNetworkTaps | 对虚拟网络点击的引用。 | CommonVirtualNetworkTap[] |
CommonNetworkSecurityGroup
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 网络安全组的属性。 | CommonNetworkSecurityGroupPropertiesFormat(公共网络安全组属性格式) |
| 标签 | 资源标记。 | CommonResourceTags |
CommonNetworkSecurityGroupPropertiesFormat(公共网络安全组属性格式)
| 名字 | 描述 | 价值 |
|---|---|---|
| flush连接 | 启用后,当规则更新时,将从网络安全组连接创建的流重新评估。 初始启用将触发重新评估。 | 布尔 |
| securityRules 安全规则 | 网络安全组的安全规则集合。 | 共同安全规则[] |
CommonPublicIPAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| extendedLocation | 公共 IP 地址的扩展位置。 | 共同扩展位置 |
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 公共 IP 地址属性。 | CommonPublicIPAddressProperties格式 |
| SKU | 公共 IP 地址 SKU。 | CommonPublicIPAddressSku |
| 标签 | 资源标记。 | CommonResourceTags |
| 区 | 表示为资源分配的 IP 需要来自的可用性区域列表。 | 字符串[] |
CommonPublicIPAddressDnsSettings
| 名字 | 描述 | 价值 |
|---|---|---|
| domainNameLabel 域名标签 | 域名标签。 域名标签和区域化 DNS 区域的串联构成了与公共 IP 地址关联的完全限定域名。 如果指定了域名标签,则会为 Microsoft Azure DNS 系统中的公共 IP 创建 A DNS 记录。 | 字符串 |
| domainNameLabel范围 | 域名标签范围。 如果指定了域名标签和域名标签范围,则会为 Microsoft Azure DNS 系统中的公共 IP 创建一条 DNS 记录,其中包含 FQDN 中的哈希值。 | “NoReuse” “ResourceGroupReuse” “SubscriptionReuse” “TenantReuse” |
| FQDN | 与公共 IP 关联的 A DNS 记录的完全限定域名。 这是 domainNameLabel 和区域化 DNS 区域的串联。 | 字符串 |
| reverseFqdn | 反向 FQDN。 解析为此公共 IP 地址的用户可见完全限定域名。 如果指定了 reverseFqdn,则会创建 PTR DNS 记录,该记录从 in-addr.arpa 域中的 IP 地址指向反向 FQDN。 | 字符串 |
CommonPublicIPAddressProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| ddos设置 | 与公共 IP 地址关联的 DDoS 保护自定义策略。 | CommonDDDOSSettings |
| deleteOption | 指定删除 VM 时公共 IP 地址会发生什么情况 | “Delete” “Detach” |
| dns设置 | 与公共 IP 地址关联的 DNS 记录的 FQDN。 | CommonPublicIPAddressDnsSettings |
| idleTimeoutInMinutes | 公共 IP 地址的空闲超时。 | 整数 (int) |
| IP地址 | 与公共 IP 地址资源关联的 IP 地址。 | 字符串 |
| ip标签 | 与公共 IP 地址关联的标记列表。 | CommonIpTag[] |
| linkedPublicIPAddress 地址 | 公共 IP 地址资源的链接公共 IP 地址。 | CommonPublicIPAddress |
| 迁移阶段 | 公共 IP 地址的迁移阶段。 | “中止” “Commit” “已提交” “None” “准备” |
| natGateway 网关 | 公共 IP 地址的 NatGateway。 | 通用国家门户 |
| publicIPAddress版本 | 公共 IP 地址版本。 | “IPv4” “IPv6” |
| publicIPAllocationMethod | 公共 IP 地址分配方法。 | “Dynamic” “Static” |
| publicIPPrefix | 应从中分配此公共 IP 地址的公共 IP 前缀。 | 通用子资源 |
| servicePublicIPAddress 地址 | 公共 IP 地址资源的服务公共 IP 地址。 | CommonPublicIPAddress |
CommonPublicIPAddressSku
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 公共 IP 地址 SKU 的名称。 | “Basic” “Standard” 'StandardV2' |
| 分层 | 公共 IP 地址 SKU 的层。 | “Global” “区域” |
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonRoute
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 路由的属性。 | CommonRouteProperties格式 |
CommonRouteProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| addressPrefix 的 | 路由应用到的目标 CIDR。 | 字符串 |
| nextHopIp地址 | IP 地址数据包应转发到。 只有在下一跃点类型为 VirtualAppliance 的路由中才允许下一跃点值。 | 字符串 |
| nextHopType | 应将数据包发送到的 Azure 跃点的类型。 | “Internet” “None” “VirtualAppliance” “VirtualNetworkGateway” “VnetLocal”(必需) |
通用路由表
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 路由表的属性。 | CommonRouteTableProperties格式 |
| 标签 | 资源标记。 | CommonResourceTags |
CommonRouteTableProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| 禁用 BgpRoutePropagation | 是否禁用 BGP 在该路由表上学习的路由。 True 表示禁用。 | 布尔 |
| 路线 | 路由表中包含的路由的集合。 | CommonRoute[] |
共同安全规则
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 安全规则的属性。 | CommonSecurityRuleProperties格式 |
CommonSecurityRuleProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| 访问 | 允许或拒绝网络流量。 | “允许” “拒绝”(必需) |
| 描述 | 此规则的说明。 限制为 140 个字符。 | 字符串 |
| destinationAddressPrefix 的 | 目标地址前缀。 CIDR 或目标 IP 范围。 星号“*”还可用于匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 | 字符串 |
| destinationAddress前缀 | 目标地址前缀。 CIDR 或目标 IP 范围。 | 字符串[] |
| destinationApplicationSecurityGroups | 指定为目标的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| destinationPortRange | 目标端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
| destinationPortRanges | 目标端口范围。 | 字符串[] |
| 方向 | 规则的方向。 该方向指定在传入或传出流量上是否评估规则。 | “Inbound” “出站”(必需) |
| 优先权 | 规则的优先级。 该值可以介于 100 和 4096 之间。 对于集合中的每个规则,优先级编号必须是唯一的。 优先级编号越低,规则优先级越高。 | int (必需) |
| 协议 | 此规则适用于的网络协议。 | '*' “Ah” “Esp” “Icmp” “Tcp” “Udp”(必需) |
| sourceAddressPrefix 的 | CIDR 或源 IP 范围。 星号“*”还可用于匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 如果这是入口规则,则指定网络流量的来源。 | 字符串 |
| sourceAddress前缀 | CIDR 或源 IP 范围。 | 字符串[] |
| sourceApplicationSecurityGroups | 指定为源的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| sourcePortRange | 源端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
| sourcePort范围 | 源端口范围。 | 字符串[] |
CommonServiceDelegationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 服务名称 | 应向其委托子网的服务的名称(例如Microsoft.Sql/servers)。 | 字符串 |
CommonServiceEndpointPolicy
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 服务终结点策略的属性。 | CommonServiceEndpointPolicyPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonServiceEndpointPolicyDefinition
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 服务终结点策略定义的属性。 | CommonServiceEndpointPolicyDefinitionPropertiesFormat |
CommonServiceEndpointPolicyDefinitionPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 描述 | 此规则的说明。 限制为 140 个字符。 | 字符串 |
| 服务 | 服务终结点名称。 | 字符串 |
| 服务资源 | 服务资源列表。 | 字符串[] |
CommonServiceEndpointPolicyPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| contextualServiceEndpoint策略 | 上下文服务终结点策略的集合。 | 字符串[] |
| service别名 | 指示策略是否属于服务的别名 | 字符串 |
| serviceEndpointPolicyDefinitions | 服务终结点策略的服务终结点策略定义的集合。 | CommonServiceEndpointPolicyDefinition[] |
CommonServiceEndpointPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 地点 | 位置列表。 | 字符串[] |
| 网络标识符 | SubResource 作为网络标识符。 | 通用子资源 |
| 服务 | 终结点服务的类型。 | 字符串 |
共同子网
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 子网的属性。 | CommonSubnetPropertiesFormat |
CommonSubnetPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| addressPrefix 的 | 子网的地址前缀。 | 字符串 |
| address前缀 | 子网的地址前缀列表。 | 字符串[] |
| applicationGatewayIPConfigurations | 虚拟网络资源的应用程序网关 IP 配置。 | CommonApplicationGatewayIPConfiguration[] |
| defaultOutboundAccess | 将此属性设置为 false,以禁用子网中所有 VM 的默认出站连接。 | 布尔 |
| 代表团 | 对子网上的委派的引用数组。 | 共同代表团[] |
| IP 分配 | 引用此子网的 IpAllocation 数组。 | 共同子资源[] |
| ipamPoolPrefix分配 | 用于分配 IP 地址前缀的 IPAM 池列表。 | CommonIpamPoolPrefixAllocation[] |
| natGateway 网关 | 与此子网关联的 Nat 网关。 | 通用子资源 |
| networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | CommonNetworkSecurityGroup |
| privateEndpointNetwork策略 | 在子网中的专用终结点上启用或禁用应用网络策略。 | “Disabled” “Enabled” “NetworkSecurityGroupEnabled” “RouteTableEnabled” |
| privateLinkServiceNetwork策略 | 在子网中的专用链接服务上启用或禁用应用网络策略。 | “Disabled” “Enabled” |
| routeTable | 对 RouteTable 资源的引用。 | 通用路由表 |
| serviceEndpoint策略 | 服务终结点策略数组。 | CommonServiceEndpointPolicy[] |
| serviceEndpoints | 服务终结点数组。 | CommonServiceEndpointPropertiesFormat[] |
| 服务网关 | 引用现有的服务网关。 | 通用子资源 |
| sharingScope | 将此属性设置为“租户”,以允许与 AAD 租户中的其他订阅共享子网。 仅当 defaultOutboundAccess 设置为 false 时,才能设置此属性,仅当子网为空时,才能设置这两个属性。 | “DelegatedServices” “Tenant” |
通用子资源
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
CommonVirtualNetworkTap
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 虚拟网络点击属性。 | CommonVirtualNetworkTapPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonVirtualNetworkTapPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| destinationLoadBalancerFrontEndIPConfiguration | 对内部负载均衡器上将接收点击的专用 IP 地址的引用。 | CommonFrontendIPConfiguration |
| destinationNetworkInterfaceIPConfiguration | 对将接收点击的收集器 nic 的专用 IP 地址的引用。 | CommonNetworkInterfaceIPConfiguration |
| 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" ]
}
}
]
},
"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"
}
}
]
},
"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" ]
}
}
]
},
"tags": {
"{customized property}": "string"
}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"networkIdentifier": {
"id": "string"
},
"service": "string"
}
],
"serviceGateway": {
"id": "string"
},
"sharingScope": "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" ]
}
}
]
},
"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"
}
}
]
},
"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" ]
}
}
]
},
"tags": {
"{customized property}": "string"
}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"networkIdentifier": {
"id": "string"
},
"service": "string"
}
],
"serviceGateway": {
"id": "string"
},
"sharingScope": "string"
}
},
"virtualNetworkTaps": [
{
"id": "string",
"location": "string",
"properties": ...,
"tags": {
"{customized property}": "string"
}
}
]
}
},
"destinationPort": "int"
},
"tags": {
"{customized property}": "string"
}
}
属性值
Microsoft.Network/virtualNetworkTaps
| 名字 | 描述 | 价值 |
|---|---|---|
| apiVersion | API 版本 | '2025-05-01' |
| 位置 | 资源位置。 | 字符串 |
| 名字 | 资源名称 | string (必需) |
| 性能 | 虚拟网络点击属性。 | CommonVirtualNetworkTapPropertiesFormat |
| 标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
| 类型 | 资源类型 | “Microsoft.Network/virtualNetworkTaps” |
CommonApplicationGatewayBackendAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| FQDN | 完全限定的域名(FQDN)。 | 字符串 |
| IP地址 | IP地址。 | 字符串 |
CommonApplicationGatewayBackendAddressPool
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 应用程序网关中唯一的后端地址池的名称。 | 字符串 |
| 性能 | 应用程序网关后端地址池的属性。 | CommonApplicationGatewayBackendAddressPoolPropertiesFormat |
CommonApplicationGatewayBackendAddressPoolPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| backend地址 | 后端地址。 | CommonApplicationGatewayBackendAddress[] |
CommonApplicationGatewayIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 应用程序网关中唯一的 IP 配置的名称。 | 字符串 |
| 性能 | 应用程序网关 IP 配置的属性。 | CommonApplicationGatewayIPConfigurationPropertiesFormat |
CommonApplicationGatewayIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 子网 | 对子网资源的引用。 应用程序网关从中获取其专用地址的子网。 | 通用子资源 |
CommonApplicationSecurityGroup
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 应用程序安全组的属性。 | CommonApplicationSecurityGroupPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonApplicationSecurityGroupPropertiesFormat
| 名字 | 描述 | 价值 |
|---|
通用后端地址池
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器后端地址池的属性。 | CommonBackendAddressPoolPropertiesFormat |
CommonBackendAddressPoolPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| drainPeriodInSeconds (秒) | 将 RESET 发送到客户端和后端地址之前,负载均衡器等待的秒数。 | 整数 (int) |
| loadBalancerBackendAddresses | 后端地址数组。 | CommonLoadBalancerBackendAddress[] |
| 位置 | 后端地址池的位置。 | 字符串 |
| syncMode 同步模式 | 后端池的后端地址同步模式 | “Automatic” “Manual” |
| 隧道接口 | 网关负载均衡器隧道接口的数组。 | CommonGatewayLoadBalancerTunnelInterface[] |
| 虚拟网络 | 对虚拟网络的引用。 | 通用子资源 |
CommonDDDOSSettings
| 名字 | 描述 | 价值 |
|---|---|---|
| ddosProtectionPlan 计划 | 与公共 IP 关联的 DDoS 保护计划。 仅当 ProtectionMode 已启用时才能设置 | 通用子资源 |
| protectionMode 保护模式 | 公共 IP 的 DDoS 保护模式 | “Disabled” “Enabled” “VirtualNetworkInherited” |
共同代表团
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 子网中唯一的资源的名称。 此名称可用于访问资源。 | 字符串 |
| 性能 | 子网的属性。 | CommonServiceDelegationPropertiesFormat |
| 类型 | 资源类型。 | 字符串 |
共同扩展位置
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 扩展位置的名称。 | 字符串 |
| 类型 | 扩展位置的类型。 | “EdgeZone” |
CommonFrontendIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器探测的属性。 | CommonFrontendIPConfigurationPropertiesFormat |
| 区 | 表示为资源分配的 IP 需要来自的可用性区域列表。 | 字符串[] |
CommonFrontendIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 网关负载均衡器 | 对网关负载均衡器前端 IP 的引用。 | 通用子资源 |
| privateIPAddress 地址 | IP 配置的专用 IP 地址。 | 字符串 |
| privateIPAddress版本 | 特定 ipconfiguration 是 IPv4 还是 IPv6。 默认值被视为 IPv4。 | “IPv4” “IPv6” |
| privateIPAllocationMethod | 专用 IP 分配方法。 | “Dynamic” “Static” |
| publicIPAddress 地址 | 对公共 IP 资源的引用。 | CommonPublicIPAddress |
| publicIPPrefix | 对公共 IP 前缀资源的引用。 | 通用子资源 |
| 子网 | 对子网资源的引用。 | 共同子网 |
CommonGatewayLoadBalancerTunnelInterface
| 名字 | 描述 | 价值 |
|---|---|---|
| 标识符 | 网关负载均衡器隧道接口的标识符。 | 整数 (int) |
| 移植 | 网关负载均衡器隧道接口的端口。 | 整数 (int) |
| 协议 | 网关负载均衡器隧道接口的协议。 | “Native” “None” “VXLAN” |
| 类型 | 网关负载均衡器隧道接口的流量类型。 | “External” “Internal” “None” |
CommonInboundNatRule
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器入站 NAT 规则的属性。 | CommonInboundNatRulePropertiesFormat |
CommonInboundNatRulePropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| backendAddressPool | 对 backendAddressPool 资源的引用。 | 通用子资源 |
| backendPort | 用于内部终结点的端口。 可接受的值范围为 1 到 65535。 | 整数 (int) |
| enableFloatingIP | 为配置 SQL AlwaysOn 可用性组所需的浮动 IP 功能配置虚拟机的终结点。 在 SQL Server 中使用 SQL AlwaysOn 可用性组时,需要此设置。 创建终结点后,无法更改此设置。 | 布尔 |
| enableTcpReset | 在 TCP 流空闲超时或意外的连接终止时接收双向 TCP 重置。 仅当协议设置为 TCP 时,才使用此元素。 | 布尔 |
| frontendIPConfiguration | 对前端 IP 地址的引用。 | 通用子资源 |
| frontendPort | 外部终结点的端口。 每个规则的端口号在负载均衡器中必须是唯一的。 可接受的值范围为 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) |
| 协议 | 对负载均衡规则使用的传输协议的引用。 | “All” “奎克” “Tcp” “Udp” |
CommonIpamPoolPrefixAllocation
| 名字 | 描述 | 价值 |
|---|---|---|
| IpAddresses 数量 | 要分配的 IP 地址数。 | 字符串 |
| 池 | CommonIpamPoolPrefixAllocationPool |
CommonIpamPoolPrefixAllocationPool
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 关联的 Azure IpamPool 资源的资源 ID。 | 字符串 |
通用IpTag
| 名字 | 描述 | 价值 |
|---|---|---|
| ipTag类型 | IP 标记类型。 示例:FirstPartyUsage。 | 字符串 |
| 标签 | 与公共 IP 关联的 IP 标记的值。 示例:SQL。 | 字符串 |
CommonLoadBalancerBackendAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 后端地址的名称。 | 字符串 |
| 性能 | 负载均衡器后端地址池的属性。 | CommonLoadBalancerBackendAddressPropertiesFormat |
CommonLoadBalancerBackendAddressPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| adminState | 一个管理状态列表,一旦设置即可替代运行状况探测,以便负载均衡器始终将新连接转发到后端,或拒绝新连接并重置现有连接。 | “Down” “None” “Up” |
| IP地址 | 属于所引用虚拟网络的 IP 地址。 | 字符串 |
| loadBalancerFrontendIPConfiguration | 对区域负载均衡器中定义的前端 IP 地址配置的引用。 | 通用子资源 |
| 子网 | 对现有子网的引用。 | 通用子资源 |
| 虚拟网络 | 对现有虚拟网络的引用。 | 通用子资源 |
通用国家门户
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | Nat 网关属性。 | CommonNatGatewayPropertiesFormat |
| SKU | nat 网关 SKU。 | CommonNatGatewaySku |
| 标签 | 资源标记。 | CommonResourceTags |
| 区 | 表示应在其中部署 Nat 网关的区域的可用性区域的列表。 | 字符串[] |
CommonNatGatewayPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| idleTimeoutInMinutes | nat 网关的空闲超时。 | 整数 (int) |
| publicIp地址 | 与 nat 网关资源关联的公有 IP 地址 V4 数组。 | 共同子资源[] |
| 公共 IP 地址V6 | 与 nat 网关资源关联的公有 IP 地址 V6 数组。 | 共同子资源[] |
| publicIp前缀 | 与 nat 网关资源关联的公有 IP 前缀 V4 数组。 | 共同子资源[] |
| publicIpPrefixesV6 | 与 nat 网关资源关联的公有 IP 前缀 V6 数组。 | 共同子资源[] |
| 服务网关 | 引用现有的服务网关。 | 通用子资源 |
| 源虚拟网络 | 使用此 nat 网关资源对源虚拟网络的引用。 | 通用子资源 |
CommonNatGatewaySku
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | Nat 网关 SKU 的名称。 | “Standard” 'StandardV2' |
CommonNetworkInterfaceIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 网络接口 IP 配置属性。 | CommonNetworkInterfaceIPConfigurationPropertiesFormat |
CommonNetworkInterfaceIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| applicationGatewayBackendAddressPools 应用程序 | 对 ApplicationGatewayBackendAddressPool 资源的引用。 | CommonApplicationGatewayBackendAddressPool[] |
| applicationSecurity组 | 包含 IP 配置的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| 网关负载均衡器 | 对网关负载均衡器前端 IP 的引用。 | 通用子资源 |
| loadBalancerBackendAddressPools | 对 LoadBalancerBackendAddressPool 资源的引用。 | 通用后端地址池[] |
| loadBalancerInboundNatRules | LoadBalancerInboundNatRules 的引用列表。 | CommonInboundNatRule[] |
| 主要 | 这是否是网络接口上的主要客户地址。 | 布尔 |
| privateIPAddress 地址 | IP 配置的专用 IP 地址。 它可以是单个 IP 地址或 CIDR 块,格式为 <地址>/<前缀长度>。 | 字符串 |
| privateIPAddressPrefixLength | 专用 IP 地址前缀长度。 如果指定且分配方法是动态的,则服务将分配 CIDR 块而不是单个 IP 地址。 | int 约束: 最小值 = 1 最大值 = 128 |
| privateIPAddress版本 | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
| privateIPAllocationMethod | 专用 IP 地址分配方法。 | “Dynamic” “Static” |
| publicIPAddress 地址 | 绑定到 IP 配置的公共 IP 地址。 | CommonPublicIPAddress |
| 子网 | 绑定到 IP 配置的子网。 | 共同子网 |
| virtualNetworkTaps | 对虚拟网络点击的引用。 | CommonVirtualNetworkTap[] |
CommonNetworkSecurityGroup
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 网络安全组的属性。 | CommonNetworkSecurityGroupPropertiesFormat(公共网络安全组属性格式) |
| 标签 | 资源标记。 | CommonResourceTags |
CommonNetworkSecurityGroupPropertiesFormat(公共网络安全组属性格式)
| 名字 | 描述 | 价值 |
|---|---|---|
| flush连接 | 启用后,当规则更新时,将从网络安全组连接创建的流重新评估。 初始启用将触发重新评估。 | 布尔 |
| securityRules 安全规则 | 网络安全组的安全规则集合。 | 共同安全规则[] |
CommonPublicIPAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| extendedLocation | 公共 IP 地址的扩展位置。 | 共同扩展位置 |
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 公共 IP 地址属性。 | CommonPublicIPAddressProperties格式 |
| SKU | 公共 IP 地址 SKU。 | CommonPublicIPAddressSku |
| 标签 | 资源标记。 | CommonResourceTags |
| 区 | 表示为资源分配的 IP 需要来自的可用性区域列表。 | 字符串[] |
CommonPublicIPAddressDnsSettings
| 名字 | 描述 | 价值 |
|---|---|---|
| domainNameLabel 域名标签 | 域名标签。 域名标签和区域化 DNS 区域的串联构成了与公共 IP 地址关联的完全限定域名。 如果指定了域名标签,则会为 Microsoft Azure DNS 系统中的公共 IP 创建 A DNS 记录。 | 字符串 |
| domainNameLabel范围 | 域名标签范围。 如果指定了域名标签和域名标签范围,则会为 Microsoft Azure DNS 系统中的公共 IP 创建一条 DNS 记录,其中包含 FQDN 中的哈希值。 | “NoReuse” “ResourceGroupReuse” “SubscriptionReuse” “TenantReuse” |
| FQDN | 与公共 IP 关联的 A DNS 记录的完全限定域名。 这是 domainNameLabel 和区域化 DNS 区域的串联。 | 字符串 |
| reverseFqdn | 反向 FQDN。 解析为此公共 IP 地址的用户可见完全限定域名。 如果指定了 reverseFqdn,则会创建 PTR DNS 记录,该记录从 in-addr.arpa 域中的 IP 地址指向反向 FQDN。 | 字符串 |
CommonPublicIPAddressProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| ddos设置 | 与公共 IP 地址关联的 DDoS 保护自定义策略。 | CommonDDDOSSettings |
| deleteOption | 指定删除 VM 时公共 IP 地址会发生什么情况 | “Delete” “Detach” |
| dns设置 | 与公共 IP 地址关联的 DNS 记录的 FQDN。 | CommonPublicIPAddressDnsSettings |
| idleTimeoutInMinutes | 公共 IP 地址的空闲超时。 | 整数 (int) |
| IP地址 | 与公共 IP 地址资源关联的 IP 地址。 | 字符串 |
| ip标签 | 与公共 IP 地址关联的标记列表。 | CommonIpTag[] |
| linkedPublicIPAddress 地址 | 公共 IP 地址资源的链接公共 IP 地址。 | CommonPublicIPAddress |
| 迁移阶段 | 公共 IP 地址的迁移阶段。 | “中止” “Commit” “已提交” “None” “准备” |
| natGateway 网关 | 公共 IP 地址的 NatGateway。 | 通用国家门户 |
| publicIPAddress版本 | 公共 IP 地址版本。 | “IPv4” “IPv6” |
| publicIPAllocationMethod | 公共 IP 地址分配方法。 | “Dynamic” “Static” |
| publicIPPrefix | 应从中分配此公共 IP 地址的公共 IP 前缀。 | 通用子资源 |
| servicePublicIPAddress 地址 | 公共 IP 地址资源的服务公共 IP 地址。 | CommonPublicIPAddress |
CommonPublicIPAddressSku
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 公共 IP 地址 SKU 的名称。 | “Basic” “Standard” 'StandardV2' |
| 分层 | 公共 IP 地址 SKU 的层。 | “Global” “区域” |
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonRoute
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 路由的属性。 | CommonRouteProperties格式 |
CommonRouteProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| addressPrefix 的 | 路由应用到的目标 CIDR。 | 字符串 |
| nextHopIp地址 | IP 地址数据包应转发到。 只有在下一跃点类型为 VirtualAppliance 的路由中才允许下一跃点值。 | 字符串 |
| nextHopType | 应将数据包发送到的 Azure 跃点的类型。 | “Internet” “None” “VirtualAppliance” “VirtualNetworkGateway” “VnetLocal”(必需) |
通用路由表
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 路由表的属性。 | CommonRouteTableProperties格式 |
| 标签 | 资源标记。 | CommonResourceTags |
CommonRouteTableProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| 禁用 BgpRoutePropagation | 是否禁用 BGP 在该路由表上学习的路由。 True 表示禁用。 | 布尔 |
| 路线 | 路由表中包含的路由的集合。 | CommonRoute[] |
共同安全规则
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 安全规则的属性。 | CommonSecurityRuleProperties格式 |
CommonSecurityRuleProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| 访问 | 允许或拒绝网络流量。 | “允许” “拒绝”(必需) |
| 描述 | 此规则的说明。 限制为 140 个字符。 | 字符串 |
| destinationAddressPrefix 的 | 目标地址前缀。 CIDR 或目标 IP 范围。 星号“*”还可用于匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 | 字符串 |
| destinationAddress前缀 | 目标地址前缀。 CIDR 或目标 IP 范围。 | 字符串[] |
| destinationApplicationSecurityGroups | 指定为目标的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| destinationPortRange | 目标端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
| destinationPortRanges | 目标端口范围。 | 字符串[] |
| 方向 | 规则的方向。 该方向指定在传入或传出流量上是否评估规则。 | “Inbound” “出站”(必需) |
| 优先权 | 规则的优先级。 该值可以介于 100 和 4096 之间。 对于集合中的每个规则,优先级编号必须是唯一的。 优先级编号越低,规则优先级越高。 | int (必需) |
| 协议 | 此规则适用于的网络协议。 | '*' “Ah” “Esp” “Icmp” “Tcp” “Udp”(必需) |
| sourceAddressPrefix 的 | CIDR 或源 IP 范围。 星号“*”还可用于匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 如果这是入口规则,则指定网络流量的来源。 | 字符串 |
| sourceAddress前缀 | CIDR 或源 IP 范围。 | 字符串[] |
| sourceApplicationSecurityGroups | 指定为源的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| sourcePortRange | 源端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
| sourcePort范围 | 源端口范围。 | 字符串[] |
CommonServiceDelegationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 服务名称 | 应向其委托子网的服务的名称(例如Microsoft.Sql/servers)。 | 字符串 |
CommonServiceEndpointPolicy
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 服务终结点策略的属性。 | CommonServiceEndpointPolicyPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonServiceEndpointPolicyDefinition
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 服务终结点策略定义的属性。 | CommonServiceEndpointPolicyDefinitionPropertiesFormat |
CommonServiceEndpointPolicyDefinitionPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 描述 | 此规则的说明。 限制为 140 个字符。 | 字符串 |
| 服务 | 服务终结点名称。 | 字符串 |
| 服务资源 | 服务资源列表。 | 字符串[] |
CommonServiceEndpointPolicyPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| contextualServiceEndpoint策略 | 上下文服务终结点策略的集合。 | 字符串[] |
| service别名 | 指示策略是否属于服务的别名 | 字符串 |
| serviceEndpointPolicyDefinitions | 服务终结点策略的服务终结点策略定义的集合。 | CommonServiceEndpointPolicyDefinition[] |
CommonServiceEndpointPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 地点 | 位置列表。 | 字符串[] |
| 网络标识符 | SubResource 作为网络标识符。 | 通用子资源 |
| 服务 | 终结点服务的类型。 | 字符串 |
共同子网
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 子网的属性。 | CommonSubnetPropertiesFormat |
CommonSubnetPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| addressPrefix 的 | 子网的地址前缀。 | 字符串 |
| address前缀 | 子网的地址前缀列表。 | 字符串[] |
| applicationGatewayIPConfigurations | 虚拟网络资源的应用程序网关 IP 配置。 | CommonApplicationGatewayIPConfiguration[] |
| defaultOutboundAccess | 将此属性设置为 false,以禁用子网中所有 VM 的默认出站连接。 | 布尔 |
| 代表团 | 对子网上的委派的引用数组。 | 共同代表团[] |
| IP 分配 | 引用此子网的 IpAllocation 数组。 | 共同子资源[] |
| ipamPoolPrefix分配 | 用于分配 IP 地址前缀的 IPAM 池列表。 | CommonIpamPoolPrefixAllocation[] |
| natGateway 网关 | 与此子网关联的 Nat 网关。 | 通用子资源 |
| networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | CommonNetworkSecurityGroup |
| privateEndpointNetwork策略 | 在子网中的专用终结点上启用或禁用应用网络策略。 | “Disabled” “Enabled” “NetworkSecurityGroupEnabled” “RouteTableEnabled” |
| privateLinkServiceNetwork策略 | 在子网中的专用链接服务上启用或禁用应用网络策略。 | “Disabled” “Enabled” |
| routeTable | 对 RouteTable 资源的引用。 | 通用路由表 |
| serviceEndpoint策略 | 服务终结点策略数组。 | CommonServiceEndpointPolicy[] |
| serviceEndpoints | 服务终结点数组。 | CommonServiceEndpointPropertiesFormat[] |
| 服务网关 | 引用现有的服务网关。 | 通用子资源 |
| sharingScope | 将此属性设置为“租户”,以允许与 AAD 租户中的其他订阅共享子网。 仅当 defaultOutboundAccess 设置为 false 时,才能设置此属性,仅当子网为空时,才能设置这两个属性。 | “DelegatedServices” “Tenant” |
通用子资源
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
CommonVirtualNetworkTap
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 虚拟网络点击属性。 | CommonVirtualNetworkTapPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonVirtualNetworkTapPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| destinationLoadBalancerFrontEndIPConfiguration | 对内部负载均衡器上将接收点击的专用 IP 地址的引用。 | CommonFrontendIPConfiguration |
| destinationNetworkInterfaceIPConfiguration | 对将接收点击的收集器 nic 的专用 IP 地址的引用。 | CommonNetworkInterfaceIPConfiguration |
| 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"
]
}
}
]
}
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"
}
}
]
}
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"
]
}
}
]
}
tags = {
{customized property} = "string"
}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
networkIdentifier = {
id = "string"
}
service = "string"
}
]
serviceGateway = {
id = "string"
}
sharingScope = "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"
]
}
}
]
}
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"
}
}
]
}
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"
]
}
}
]
}
tags = {
{customized property} = "string"
}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
networkIdentifier = {
id = "string"
}
service = "string"
}
]
serviceGateway = {
id = "string"
}
sharingScope = "string"
}
}
virtualNetworkTaps = [
{
id = "string"
location = "string"
properties = ...
tags = {
{customized property} = "string"
}
}
]
}
}
destinationPort = int
}
}
}
属性值
Microsoft.Network/virtualNetworkTaps
| 名字 | 描述 | 价值 |
|---|---|---|
| 位置 | 资源位置。 | 字符串 |
| 名字 | 资源名称 | string (必需) |
| 性能 | 虚拟网络点击属性。 | CommonVirtualNetworkTapPropertiesFormat |
| 标签 | 资源标记 | 标记名称和值的字典。 |
| 类型 | 资源类型 | “Microsoft.Network/virtualNetworkTaps@2025-05-01” |
CommonApplicationGatewayBackendAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| FQDN | 完全限定的域名(FQDN)。 | 字符串 |
| IP地址 | IP地址。 | 字符串 |
CommonApplicationGatewayBackendAddressPool
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 应用程序网关中唯一的后端地址池的名称。 | 字符串 |
| 性能 | 应用程序网关后端地址池的属性。 | CommonApplicationGatewayBackendAddressPoolPropertiesFormat |
CommonApplicationGatewayBackendAddressPoolPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| backend地址 | 后端地址。 | CommonApplicationGatewayBackendAddress[] |
CommonApplicationGatewayIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 应用程序网关中唯一的 IP 配置的名称。 | 字符串 |
| 性能 | 应用程序网关 IP 配置的属性。 | CommonApplicationGatewayIPConfigurationPropertiesFormat |
CommonApplicationGatewayIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 子网 | 对子网资源的引用。 应用程序网关从中获取其专用地址的子网。 | 通用子资源 |
CommonApplicationSecurityGroup
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 应用程序安全组的属性。 | CommonApplicationSecurityGroupPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonApplicationSecurityGroupPropertiesFormat
| 名字 | 描述 | 价值 |
|---|
通用后端地址池
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器后端地址池的属性。 | CommonBackendAddressPoolPropertiesFormat |
CommonBackendAddressPoolPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| drainPeriodInSeconds (秒) | 将 RESET 发送到客户端和后端地址之前,负载均衡器等待的秒数。 | 整数 (int) |
| loadBalancerBackendAddresses | 后端地址数组。 | CommonLoadBalancerBackendAddress[] |
| 位置 | 后端地址池的位置。 | 字符串 |
| syncMode 同步模式 | 后端池的后端地址同步模式 | “Automatic” “Manual” |
| 隧道接口 | 网关负载均衡器隧道接口的数组。 | CommonGatewayLoadBalancerTunnelInterface[] |
| 虚拟网络 | 对虚拟网络的引用。 | 通用子资源 |
CommonDDDOSSettings
| 名字 | 描述 | 价值 |
|---|---|---|
| ddosProtectionPlan 计划 | 与公共 IP 关联的 DDoS 保护计划。 仅当 ProtectionMode 已启用时才能设置 | 通用子资源 |
| protectionMode 保护模式 | 公共 IP 的 DDoS 保护模式 | “Disabled” “Enabled” “VirtualNetworkInherited” |
共同代表团
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 子网中唯一的资源的名称。 此名称可用于访问资源。 | 字符串 |
| 性能 | 子网的属性。 | CommonServiceDelegationPropertiesFormat |
| 类型 | 资源类型。 | 字符串 |
共同扩展位置
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 扩展位置的名称。 | 字符串 |
| 类型 | 扩展位置的类型。 | “EdgeZone” |
CommonFrontendIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器探测的属性。 | CommonFrontendIPConfigurationPropertiesFormat |
| 区 | 表示为资源分配的 IP 需要来自的可用性区域列表。 | 字符串[] |
CommonFrontendIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 网关负载均衡器 | 对网关负载均衡器前端 IP 的引用。 | 通用子资源 |
| privateIPAddress 地址 | IP 配置的专用 IP 地址。 | 字符串 |
| privateIPAddress版本 | 特定 ipconfiguration 是 IPv4 还是 IPv6。 默认值被视为 IPv4。 | “IPv4” “IPv6” |
| privateIPAllocationMethod | 专用 IP 分配方法。 | “Dynamic” “Static” |
| publicIPAddress 地址 | 对公共 IP 资源的引用。 | CommonPublicIPAddress |
| publicIPPrefix | 对公共 IP 前缀资源的引用。 | 通用子资源 |
| 子网 | 对子网资源的引用。 | 共同子网 |
CommonGatewayLoadBalancerTunnelInterface
| 名字 | 描述 | 价值 |
|---|---|---|
| 标识符 | 网关负载均衡器隧道接口的标识符。 | 整数 (int) |
| 移植 | 网关负载均衡器隧道接口的端口。 | 整数 (int) |
| 协议 | 网关负载均衡器隧道接口的协议。 | “Native” “None” “VXLAN” |
| 类型 | 网关负载均衡器隧道接口的流量类型。 | “External” “Internal” “None” |
CommonInboundNatRule
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 负载均衡器入站 NAT 规则的属性。 | CommonInboundNatRulePropertiesFormat |
CommonInboundNatRulePropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| backendAddressPool | 对 backendAddressPool 资源的引用。 | 通用子资源 |
| backendPort | 用于内部终结点的端口。 可接受的值范围为 1 到 65535。 | 整数 (int) |
| enableFloatingIP | 为配置 SQL AlwaysOn 可用性组所需的浮动 IP 功能配置虚拟机的终结点。 在 SQL Server 中使用 SQL AlwaysOn 可用性组时,需要此设置。 创建终结点后,无法更改此设置。 | 布尔 |
| enableTcpReset | 在 TCP 流空闲超时或意外的连接终止时接收双向 TCP 重置。 仅当协议设置为 TCP 时,才使用此元素。 | 布尔 |
| frontendIPConfiguration | 对前端 IP 地址的引用。 | 通用子资源 |
| frontendPort | 外部终结点的端口。 每个规则的端口号在负载均衡器中必须是唯一的。 可接受的值范围为 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) |
| 协议 | 对负载均衡规则使用的传输协议的引用。 | “All” “奎克” “Tcp” “Udp” |
CommonIpamPoolPrefixAllocation
| 名字 | 描述 | 价值 |
|---|---|---|
| IpAddresses 数量 | 要分配的 IP 地址数。 | 字符串 |
| 池 | CommonIpamPoolPrefixAllocationPool |
CommonIpamPoolPrefixAllocationPool
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 关联的 Azure IpamPool 资源的资源 ID。 | 字符串 |
通用IpTag
| 名字 | 描述 | 价值 |
|---|---|---|
| ipTag类型 | IP 标记类型。 示例:FirstPartyUsage。 | 字符串 |
| 标签 | 与公共 IP 关联的 IP 标记的值。 示例:SQL。 | 字符串 |
CommonLoadBalancerBackendAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 后端地址的名称。 | 字符串 |
| 性能 | 负载均衡器后端地址池的属性。 | CommonLoadBalancerBackendAddressPropertiesFormat |
CommonLoadBalancerBackendAddressPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| adminState | 一个管理状态列表,一旦设置即可替代运行状况探测,以便负载均衡器始终将新连接转发到后端,或拒绝新连接并重置现有连接。 | “Down” “None” “Up” |
| IP地址 | 属于所引用虚拟网络的 IP 地址。 | 字符串 |
| loadBalancerFrontendIPConfiguration | 对区域负载均衡器中定义的前端 IP 地址配置的引用。 | 通用子资源 |
| 子网 | 对现有子网的引用。 | 通用子资源 |
| 虚拟网络 | 对现有虚拟网络的引用。 | 通用子资源 |
通用国家门户
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | Nat 网关属性。 | CommonNatGatewayPropertiesFormat |
| SKU | nat 网关 SKU。 | CommonNatGatewaySku |
| 标签 | 资源标记。 | CommonResourceTags |
| 区 | 表示应在其中部署 Nat 网关的区域的可用性区域的列表。 | 字符串[] |
CommonNatGatewayPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| idleTimeoutInMinutes | nat 网关的空闲超时。 | 整数 (int) |
| publicIp地址 | 与 nat 网关资源关联的公有 IP 地址 V4 数组。 | 共同子资源[] |
| 公共 IP 地址V6 | 与 nat 网关资源关联的公有 IP 地址 V6 数组。 | 共同子资源[] |
| publicIp前缀 | 与 nat 网关资源关联的公有 IP 前缀 V4 数组。 | 共同子资源[] |
| publicIpPrefixesV6 | 与 nat 网关资源关联的公有 IP 前缀 V6 数组。 | 共同子资源[] |
| 服务网关 | 引用现有的服务网关。 | 通用子资源 |
| 源虚拟网络 | 使用此 nat 网关资源对源虚拟网络的引用。 | 通用子资源 |
CommonNatGatewaySku
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | Nat 网关 SKU 的名称。 | “Standard” 'StandardV2' |
CommonNetworkInterfaceIPConfiguration
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 网络接口 IP 配置属性。 | CommonNetworkInterfaceIPConfigurationPropertiesFormat |
CommonNetworkInterfaceIPConfigurationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| applicationGatewayBackendAddressPools 应用程序 | 对 ApplicationGatewayBackendAddressPool 资源的引用。 | CommonApplicationGatewayBackendAddressPool[] |
| applicationSecurity组 | 包含 IP 配置的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| 网关负载均衡器 | 对网关负载均衡器前端 IP 的引用。 | 通用子资源 |
| loadBalancerBackendAddressPools | 对 LoadBalancerBackendAddressPool 资源的引用。 | 通用后端地址池[] |
| loadBalancerInboundNatRules | LoadBalancerInboundNatRules 的引用列表。 | CommonInboundNatRule[] |
| 主要 | 这是否是网络接口上的主要客户地址。 | 布尔 |
| privateIPAddress 地址 | IP 配置的专用 IP 地址。 它可以是单个 IP 地址或 CIDR 块,格式为 <地址>/<前缀长度>。 | 字符串 |
| privateIPAddressPrefixLength | 专用 IP 地址前缀长度。 如果指定且分配方法是动态的,则服务将分配 CIDR 块而不是单个 IP 地址。 | int 约束: 最小值 = 1 最大值 = 128 |
| privateIPAddress版本 | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
| privateIPAllocationMethod | 专用 IP 地址分配方法。 | “Dynamic” “Static” |
| publicIPAddress 地址 | 绑定到 IP 配置的公共 IP 地址。 | CommonPublicIPAddress |
| 子网 | 绑定到 IP 配置的子网。 | 共同子网 |
| virtualNetworkTaps | 对虚拟网络点击的引用。 | CommonVirtualNetworkTap[] |
CommonNetworkSecurityGroup
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 网络安全组的属性。 | CommonNetworkSecurityGroupPropertiesFormat(公共网络安全组属性格式) |
| 标签 | 资源标记。 | CommonResourceTags |
CommonNetworkSecurityGroupPropertiesFormat(公共网络安全组属性格式)
| 名字 | 描述 | 价值 |
|---|---|---|
| flush连接 | 启用后,当规则更新时,将从网络安全组连接创建的流重新评估。 初始启用将触发重新评估。 | 布尔 |
| securityRules 安全规则 | 网络安全组的安全规则集合。 | 共同安全规则[] |
CommonPublicIPAddress
| 名字 | 描述 | 价值 |
|---|---|---|
| extendedLocation | 公共 IP 地址的扩展位置。 | 共同扩展位置 |
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 公共 IP 地址属性。 | CommonPublicIPAddressProperties格式 |
| SKU | 公共 IP 地址 SKU。 | CommonPublicIPAddressSku |
| 标签 | 资源标记。 | CommonResourceTags |
| 区 | 表示为资源分配的 IP 需要来自的可用性区域列表。 | 字符串[] |
CommonPublicIPAddressDnsSettings
| 名字 | 描述 | 价值 |
|---|---|---|
| domainNameLabel 域名标签 | 域名标签。 域名标签和区域化 DNS 区域的串联构成了与公共 IP 地址关联的完全限定域名。 如果指定了域名标签,则会为 Microsoft Azure DNS 系统中的公共 IP 创建 A DNS 记录。 | 字符串 |
| domainNameLabel范围 | 域名标签范围。 如果指定了域名标签和域名标签范围,则会为 Microsoft Azure DNS 系统中的公共 IP 创建一条 DNS 记录,其中包含 FQDN 中的哈希值。 | “NoReuse” “ResourceGroupReuse” “SubscriptionReuse” “TenantReuse” |
| FQDN | 与公共 IP 关联的 A DNS 记录的完全限定域名。 这是 domainNameLabel 和区域化 DNS 区域的串联。 | 字符串 |
| reverseFqdn | 反向 FQDN。 解析为此公共 IP 地址的用户可见完全限定域名。 如果指定了 reverseFqdn,则会创建 PTR DNS 记录,该记录从 in-addr.arpa 域中的 IP 地址指向反向 FQDN。 | 字符串 |
CommonPublicIPAddressProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| ddos设置 | 与公共 IP 地址关联的 DDoS 保护自定义策略。 | CommonDDDOSSettings |
| deleteOption | 指定删除 VM 时公共 IP 地址会发生什么情况 | “Delete” “Detach” |
| dns设置 | 与公共 IP 地址关联的 DNS 记录的 FQDN。 | CommonPublicIPAddressDnsSettings |
| idleTimeoutInMinutes | 公共 IP 地址的空闲超时。 | 整数 (int) |
| IP地址 | 与公共 IP 地址资源关联的 IP 地址。 | 字符串 |
| ip标签 | 与公共 IP 地址关联的标记列表。 | CommonIpTag[] |
| linkedPublicIPAddress 地址 | 公共 IP 地址资源的链接公共 IP 地址。 | CommonPublicIPAddress |
| 迁移阶段 | 公共 IP 地址的迁移阶段。 | “中止” “Commit” “已提交” “None” “准备” |
| natGateway 网关 | 公共 IP 地址的 NatGateway。 | 通用国家门户 |
| publicIPAddress版本 | 公共 IP 地址版本。 | “IPv4” “IPv6” |
| publicIPAllocationMethod | 公共 IP 地址分配方法。 | “Dynamic” “Static” |
| publicIPPrefix | 应从中分配此公共 IP 地址的公共 IP 前缀。 | 通用子资源 |
| servicePublicIPAddress 地址 | 公共 IP 地址资源的服务公共 IP 地址。 | CommonPublicIPAddress |
CommonPublicIPAddressSku
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 公共 IP 地址 SKU 的名称。 | “Basic” “Standard” 'StandardV2' |
| 分层 | 公共 IP 地址 SKU 的层。 | “Global” “区域” |
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonResourceTags
| 名字 | 描述 | 价值 |
|---|
CommonRoute
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 路由的属性。 | CommonRouteProperties格式 |
CommonRouteProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| addressPrefix 的 | 路由应用到的目标 CIDR。 | 字符串 |
| nextHopIp地址 | IP 地址数据包应转发到。 只有在下一跃点类型为 VirtualAppliance 的路由中才允许下一跃点值。 | 字符串 |
| nextHopType | 应将数据包发送到的 Azure 跃点的类型。 | “Internet” “None” “VirtualAppliance” “VirtualNetworkGateway” “VnetLocal”(必需) |
通用路由表
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 路由表的属性。 | CommonRouteTableProperties格式 |
| 标签 | 资源标记。 | CommonResourceTags |
CommonRouteTableProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| 禁用 BgpRoutePropagation | 是否禁用 BGP 在该路由表上学习的路由。 True 表示禁用。 | 布尔 |
| 路线 | 路由表中包含的路由的集合。 | CommonRoute[] |
共同安全规则
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 安全规则的属性。 | CommonSecurityRuleProperties格式 |
CommonSecurityRuleProperties格式
| 名字 | 描述 | 价值 |
|---|---|---|
| 访问 | 允许或拒绝网络流量。 | “允许” “拒绝”(必需) |
| 描述 | 此规则的说明。 限制为 140 个字符。 | 字符串 |
| destinationAddressPrefix 的 | 目标地址前缀。 CIDR 或目标 IP 范围。 星号“*”还可用于匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 | 字符串 |
| destinationAddress前缀 | 目标地址前缀。 CIDR 或目标 IP 范围。 | 字符串[] |
| destinationApplicationSecurityGroups | 指定为目标的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| destinationPortRange | 目标端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
| destinationPortRanges | 目标端口范围。 | 字符串[] |
| 方向 | 规则的方向。 该方向指定在传入或传出流量上是否评估规则。 | “Inbound” “出站”(必需) |
| 优先权 | 规则的优先级。 该值可以介于 100 和 4096 之间。 对于集合中的每个规则,优先级编号必须是唯一的。 优先级编号越低,规则优先级越高。 | int (必需) |
| 协议 | 此规则适用于的网络协议。 | '*' “Ah” “Esp” “Icmp” “Tcp” “Udp”(必需) |
| sourceAddressPrefix 的 | CIDR 或源 IP 范围。 星号“*”还可用于匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 如果这是入口规则,则指定网络流量的来源。 | 字符串 |
| sourceAddress前缀 | CIDR 或源 IP 范围。 | 字符串[] |
| sourceApplicationSecurityGroups | 指定为源的应用程序安全组。 | CommonApplicationSecurityGroup[] |
| sourcePortRange | 源端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
| sourcePort范围 | 源端口范围。 | 字符串[] |
CommonServiceDelegationPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 服务名称 | 应向其委托子网的服务的名称(例如Microsoft.Sql/servers)。 | 字符串 |
CommonServiceEndpointPolicy
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 服务终结点策略的属性。 | CommonServiceEndpointPolicyPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonServiceEndpointPolicyDefinition
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 服务终结点策略定义的属性。 | CommonServiceEndpointPolicyDefinitionPropertiesFormat |
CommonServiceEndpointPolicyDefinitionPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 描述 | 此规则的说明。 限制为 140 个字符。 | 字符串 |
| 服务 | 服务终结点名称。 | 字符串 |
| 服务资源 | 服务资源列表。 | 字符串[] |
CommonServiceEndpointPolicyPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| contextualServiceEndpoint策略 | 上下文服务终结点策略的集合。 | 字符串[] |
| service别名 | 指示策略是否属于服务的别名 | 字符串 |
| serviceEndpointPolicyDefinitions | 服务终结点策略的服务终结点策略定义的集合。 | CommonServiceEndpointPolicyDefinition[] |
CommonServiceEndpointPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| 地点 | 位置列表。 | 字符串[] |
| 网络标识符 | SubResource 作为网络标识符。 | 通用子资源 |
| 服务 | 终结点服务的类型。 | 字符串 |
共同子网
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 名字 | 资源的名称。 | 字符串 |
| 性能 | 子网的属性。 | CommonSubnetPropertiesFormat |
CommonSubnetPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| addressPrefix 的 | 子网的地址前缀。 | 字符串 |
| address前缀 | 子网的地址前缀列表。 | 字符串[] |
| applicationGatewayIPConfigurations | 虚拟网络资源的应用程序网关 IP 配置。 | CommonApplicationGatewayIPConfiguration[] |
| defaultOutboundAccess | 将此属性设置为 false,以禁用子网中所有 VM 的默认出站连接。 | 布尔 |
| 代表团 | 对子网上的委派的引用数组。 | 共同代表团[] |
| IP 分配 | 引用此子网的 IpAllocation 数组。 | 共同子资源[] |
| ipamPoolPrefix分配 | 用于分配 IP 地址前缀的 IPAM 池列表。 | CommonIpamPoolPrefixAllocation[] |
| natGateway 网关 | 与此子网关联的 Nat 网关。 | 通用子资源 |
| networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | CommonNetworkSecurityGroup |
| privateEndpointNetwork策略 | 在子网中的专用终结点上启用或禁用应用网络策略。 | “Disabled” “Enabled” “NetworkSecurityGroupEnabled” “RouteTableEnabled” |
| privateLinkServiceNetwork策略 | 在子网中的专用链接服务上启用或禁用应用网络策略。 | “Disabled” “Enabled” |
| routeTable | 对 RouteTable 资源的引用。 | 通用路由表 |
| serviceEndpoint策略 | 服务终结点策略数组。 | CommonServiceEndpointPolicy[] |
| serviceEndpoints | 服务终结点数组。 | CommonServiceEndpointPropertiesFormat[] |
| 服务网关 | 引用现有的服务网关。 | 通用子资源 |
| sharingScope | 将此属性设置为“租户”,以允许与 AAD 租户中的其他订阅共享子网。 仅当 defaultOutboundAccess 设置为 false 时,才能设置此属性,仅当子网为空时,才能设置这两个属性。 | “DelegatedServices” “Tenant” |
通用子资源
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
CommonVirtualNetworkTap
| 名字 | 描述 | 价值 |
|---|---|---|
| 身份证 | 资源 ID。 | 字符串 |
| 位置 | 资源位置。 | 字符串 |
| 性能 | 虚拟网络点击属性。 | CommonVirtualNetworkTapPropertiesFormat |
| 标签 | 资源标记。 | CommonResourceTags |
CommonVirtualNetworkTapPropertiesFormat
| 名字 | 描述 | 价值 |
|---|---|---|
| destinationLoadBalancerFrontEndIPConfiguration | 对内部负载均衡器上将接收点击的专用 IP 地址的引用。 | CommonFrontendIPConfiguration |
| destinationNetworkInterfaceIPConfiguration | 对将接收点击的收集器 nic 的专用 IP 地址的引用。 | CommonNetworkInterfaceIPConfiguration |
| destinationPort | 将接收点击流量的 VXLAN 目标端口。 | 整数 (int) |