你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft。Network networkInterfaces
Bicep 资源定义
networkInterfaces 资源类型可以部署到:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
创建Microsoft。Network/networkInterfaces 资源,将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.Network/networkInterfaces@2022-07-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
extendedLocation: {
name: 'string'
type: 'EdgeZone'
}
properties: {
auxiliaryMode: 'string'
disableTcpStateTracking: bool
dnsSettings: {
dnsServers: [
'string'
]
internalDnsNameLabel: 'string'
}
enableAcceleratedNetworking: bool
enableIPForwarding: bool
ipConfigurations: [
{
id: 'string'
name: 'string'
properties: {
applicationGatewayBackendAddressPools: [
{
id: 'string'
name: 'string'
properties: {
backendAddresses: [
{
fqdn: 'string'
ipAddress: 'string'
}
]
}
}
]
applicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
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'
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'
privateIPAddressVersion: 'string'
privateIPAllocationMethod: 'string'
publicIPAddress: {
extendedLocation: {
name: 'string'
type: 'EdgeZone'
}
id: 'string'
location: 'string'
properties: {
ddosSettings: {
ddosProtectionPlan: {
id: 'string'
}
protectionMode: 'string'
}
deleteOption: 'string'
dnsSettings: {
domainNameLabel: 'string'
fqdn: 'string'
reverseFqdn: 'string'
}
idleTimeoutInMinutes: int
ipAddress: 'string'
ipTags: [
{
ipTagType: 'string'
tag: 'string'
}
]
linkedPublicIPAddress: {
public-ip-address-object
}
migrationPhase: 'string'
natGateway: {
id: 'string'
location: 'string'
properties: {
idleTimeoutInMinutes: int
publicIpAddresses: [
{
id: 'string'
}
]
publicIpPrefixes: [
{
id: 'string'
}
]
}
sku: {
name: 'Standard'
}
tags: {}
zones: [
'string'
]
}
publicIPAddressVersion: 'string'
publicIPAllocationMethod: 'string'
publicIPPrefix: {
id: 'string'
}
servicePublicIPAddress: {
public-ip-address-object
}
}
sku: {
name: 'string'
tier: 'string'
}
tags: {}
zones: [
'string'
]
}
subnet: {
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
addressPrefixes: [
'string'
]
applicationGatewayIpConfigurations: [
{
id: 'string'
name: 'string'
properties: {
subnet: {
id: 'string'
}
}
}
]
delegations: [
{
id: 'string'
name: 'string'
properties: {
serviceName: 'string'
}
type: 'string'
}
]
ipAllocations: [
{
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: {}
}
]
destinationPortRange: 'string'
destinationPortRanges: [
'string'
]
direction: 'string'
priority: int
protocol: 'string'
sourceAddressPrefix: 'string'
sourceAddressPrefixes: [
'string'
]
sourceApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
sourcePortRange: 'string'
sourcePortRanges: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
privateEndpointNetworkPolicies: 'string'
privateLinkServiceNetworkPolicies: 'string'
routeTable: {
id: 'string'
location: 'string'
properties: {
disableBgpRoutePropagation: bool
routes: [
{
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
hasBgpOverride: bool
nextHopIpAddress: 'string'
nextHopType: 'string'
}
type: 'string'
}
]
}
tags: {}
}
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: {}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
service: 'string'
}
]
}
type: 'string'
}
virtualNetworkTaps: [
{
id: 'string'
location: 'string'
properties: {
destinationLoadBalancerFrontEndIPConfiguration: {
id: 'string'
name: 'string'
properties: {
gatewayLoadBalancer: {
id: 'string'
}
privateIPAddress: 'string'
privateIPAddressVersion: 'string'
privateIPAllocationMethod: 'string'
publicIPAddress: {
extendedLocation: {
name: 'string'
type: 'EdgeZone'
}
id: 'string'
location: 'string'
properties: {
ddosSettings: {
ddosProtectionPlan: {
id: 'string'
}
protectionMode: 'string'
}
deleteOption: 'string'
dnsSettings: {
domainNameLabel: 'string'
fqdn: 'string'
reverseFqdn: 'string'
}
idleTimeoutInMinutes: int
ipAddress: 'string'
ipTags: [
{
ipTagType: 'string'
tag: 'string'
}
]
linkedPublicIPAddress: {
public-ip-address-object
}
migrationPhase: 'string'
natGateway: {
id: 'string'
location: 'string'
properties: {
idleTimeoutInMinutes: int
publicIpAddresses: [
{
id: 'string'
}
]
publicIpPrefixes: [
{
id: 'string'
}
]
}
sku: {
name: 'Standard'
}
tags: {}
zones: [
'string'
]
}
publicIPAddressVersion: 'string'
publicIPAllocationMethod: 'string'
publicIPPrefix: {
id: 'string'
}
servicePublicIPAddress: {
public-ip-address-object
}
}
sku: {
name: 'string'
tier: 'string'
}
tags: {}
zones: [
'string'
]
}
publicIPPrefix: {
id: 'string'
}
subnet: {
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
addressPrefixes: [
'string'
]
applicationGatewayIpConfigurations: [
{
id: 'string'
name: 'string'
properties: {
subnet: {
id: 'string'
}
}
}
]
delegations: [
{
id: 'string'
name: 'string'
properties: {
serviceName: 'string'
}
type: 'string'
}
]
ipAllocations: [
{
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: {}
}
]
destinationPortRange: 'string'
destinationPortRanges: [
'string'
]
direction: 'string'
priority: int
protocol: 'string'
sourceAddressPrefix: 'string'
sourceAddressPrefixes: [
'string'
]
sourceApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
sourcePortRange: 'string'
sourcePortRanges: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
privateEndpointNetworkPolicies: 'string'
privateLinkServiceNetworkPolicies: 'string'
routeTable: {
id: 'string'
location: 'string'
properties: {
disableBgpRoutePropagation: bool
routes: [
{
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
hasBgpOverride: bool
nextHopIpAddress: 'string'
nextHopType: 'string'
}
type: 'string'
}
]
}
tags: {}
}
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: {}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
service: 'string'
}
]
}
type: 'string'
}
}
zones: [
'string'
]
}
destinationNetworkInterfaceIPConfiguration: {
destinationPort: int
}
tags: {}
}
]
}
type: 'string'
}
]
migrationPhase: '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: {}
}
]
destinationPortRange: 'string'
destinationPortRanges: [
'string'
]
direction: 'string'
priority: int
protocol: 'string'
sourceAddressPrefix: 'string'
sourceAddressPrefixes: [
'string'
]
sourceApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
sourcePortRange: 'string'
sourcePortRanges: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
nicType: 'string'
privateLinkService: {
extendedLocation: {
name: 'string'
type: 'EdgeZone'
}
id: 'string'
location: 'string'
properties: {
autoApproval: {
subscriptions: [
'string'
]
}
enableProxyProtocol: bool
fqdns: [
'string'
]
ipConfigurations: [
{
id: 'string'
name: 'string'
properties: {
primary: bool
privateIPAddress: 'string'
privateIPAddressVersion: 'string'
privateIPAllocationMethod: 'string'
subnet: {
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
addressPrefixes: [
'string'
]
applicationGatewayIpConfigurations: [
{
id: 'string'
name: 'string'
properties: {
subnet: {
id: 'string'
}
}
}
]
delegations: [
{
id: 'string'
name: 'string'
properties: {
serviceName: 'string'
}
type: 'string'
}
]
ipAllocations: [
{
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: {}
}
]
destinationPortRange: 'string'
destinationPortRanges: [
'string'
]
direction: 'string'
priority: int
protocol: 'string'
sourceAddressPrefix: 'string'
sourceAddressPrefixes: [
'string'
]
sourceApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
sourcePortRange: 'string'
sourcePortRanges: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
privateEndpointNetworkPolicies: 'string'
privateLinkServiceNetworkPolicies: 'string'
routeTable: {
id: 'string'
location: 'string'
properties: {
disableBgpRoutePropagation: bool
routes: [
{
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
hasBgpOverride: bool
nextHopIpAddress: 'string'
nextHopType: 'string'
}
type: 'string'
}
]
}
tags: {}
}
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: {}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
service: 'string'
}
]
}
type: 'string'
}
}
}
]
loadBalancerFrontendIpConfigurations: [
{
id: 'string'
name: 'string'
properties: {
gatewayLoadBalancer: {
id: 'string'
}
privateIPAddress: 'string'
privateIPAddressVersion: 'string'
privateIPAllocationMethod: 'string'
publicIPAddress: {
extendedLocation: {
name: 'string'
type: 'EdgeZone'
}
id: 'string'
location: 'string'
properties: {
ddosSettings: {
ddosProtectionPlan: {
id: 'string'
}
protectionMode: 'string'
}
deleteOption: 'string'
dnsSettings: {
domainNameLabel: 'string'
fqdn: 'string'
reverseFqdn: 'string'
}
idleTimeoutInMinutes: int
ipAddress: 'string'
ipTags: [
{
ipTagType: 'string'
tag: 'string'
}
]
linkedPublicIPAddress: {
public-ip-address-object
}
migrationPhase: 'string'
natGateway: {
id: 'string'
location: 'string'
properties: {
idleTimeoutInMinutes: int
publicIpAddresses: [
{
id: 'string'
}
]
publicIpPrefixes: [
{
id: 'string'
}
]
}
sku: {
name: 'Standard'
}
tags: {}
zones: [
'string'
]
}
publicIPAddressVersion: 'string'
publicIPAllocationMethod: 'string'
publicIPPrefix: {
id: 'string'
}
servicePublicIPAddress: {
public-ip-address-object
}
}
sku: {
name: 'string'
tier: 'string'
}
tags: {}
zones: [
'string'
]
}
publicIPPrefix: {
id: 'string'
}
subnet: {
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
addressPrefixes: [
'string'
]
applicationGatewayIpConfigurations: [
{
id: 'string'
name: 'string'
properties: {
subnet: {
id: 'string'
}
}
}
]
delegations: [
{
id: 'string'
name: 'string'
properties: {
serviceName: 'string'
}
type: 'string'
}
]
ipAllocations: [
{
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: {}
}
]
destinationPortRange: 'string'
destinationPortRanges: [
'string'
]
direction: 'string'
priority: int
protocol: 'string'
sourceAddressPrefix: 'string'
sourceAddressPrefixes: [
'string'
]
sourceApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
sourcePortRange: 'string'
sourcePortRanges: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
privateEndpointNetworkPolicies: 'string'
privateLinkServiceNetworkPolicies: 'string'
routeTable: {
id: 'string'
location: 'string'
properties: {
disableBgpRoutePropagation: bool
routes: [
{
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
hasBgpOverride: bool
nextHopIpAddress: 'string'
nextHopType: 'string'
}
type: 'string'
}
]
}
tags: {}
}
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: {}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
service: 'string'
}
]
}
type: 'string'
}
}
zones: [
'string'
]
}
]
visibility: {
subscriptions: [
'string'
]
}
}
tags: {}
}
workloadType: 'string'
}
}
属性值
networkInterfaces
名称 | 说明 | Value |
---|---|---|
name | 资源名称 | 字符串 (必需) 字符限制:1-80 有效字符: 字母数字、下划线字符、句点和连字符。 以字母数字开头。 以字母数字或下划线结尾。 |
location | 资源位置。 | 字符串 |
标记 | 资源标记。 | 标记名称和值的字典。 请参阅 模板中的标记 |
extendedLocation | 网络接口的扩展位置。 | ExtendedLocation |
properties | 网络接口的属性。 | NetworkInterfacePropertiesFormat |
ExtendedLocation
名称 | 说明 | 值 |
---|---|---|
name | 扩展位置的名称。 | 字符串 |
type | 扩展位置的类型。 | “EdgeZone” |
NetworkInterfacePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
auxiliaryMode | 网络接口资源的辅助模式。 | “浮动” “MaxConnections” “None” |
disableTcpStateTracking | 指示是否禁用 tcp 状态跟踪。 | bool |
dnsSettings | 网络接口中的 DNS 设置。 | NetworkInterfaceDnsSettings |
enableAcceleratedNetworking | 如果网络接口配置为加速网络。 不适用于需要加速网络的 VM 大小。 | bool |
enableIPForwarding | 指示是否在此网络接口上启用 IP 转发。 | bool |
ipConfigurations | 网络接口的 IPConfiguration 列表。 | NetworkInterfaceIPConfiguration[] |
migrationPhase | 网络接口资源的迁移阶段。 | 'Abort' “Commit” 'Committed' “None” 'Prepare' |
networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | NetworkSecurityGroup |
nicType | 网络接口资源的类型。 | “Elastic” 'Standard' |
privateLinkService | 网络接口资源的 Privatelinkservice。 | PrivateLinkService |
workloadType | BareMetal 资源的 NetworkInterface 的 WorkloadType | 字符串 |
NetworkInterfaceDnsSettings
名称 | 说明 | Value |
---|---|---|
dnsServers | DNS 服务器 IP 地址列表。 使用“AzureProvidedDNS”切换到 Azure 提供的 DNS 解析。 “AzureProvidedDNS”值不能与其他 IP 组合,它必须是 dnsServers 集合中的唯一值。 | string[] |
internalDnsNameLabel | 此 NIC 的相对 DNS 名称,用于同一虚拟网络中的 VM 之间的内部通信。 | 字符串 |
NetworkInterfaceIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 网络接口 IP 配置属性。 | NetworkInterfaceIPConfigurationPropertiesFormat |
type | 资源类型。 | 字符串 |
NetworkInterfaceIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
applicationGatewayBackendAddressPools | 对 ApplicationGatewayBackendAddressPool 资源的引用。 | ApplicationGatewayBackendAddressPool[] |
applicationSecurityGroups | 包含 IP 配置的应用程序安全组。 | ApplicationSecurityGroup[] |
gatewayLoadBalancer | 对网关负载均衡器前端 IP 的引用。 | SubResource |
loadBalancerBackendAddressPools | 对 LoadBalancerBackendAddressPool 资源的引用。 | BackendAddressPool[] |
loadBalancerInboundNatRules | LoadBalancerInboundNatRules 的引用列表。 | InboundNatRule[] |
角色实体 | 这是否是网络接口上的主要客户地址。 | bool |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 地址分配方法。 | “Dynamic” “Static” |
publicIPAddress | 绑定到 IP 配置的公共 IP 地址。 | PublicIPAddress |
子网 | 绑定到 IP 配置的子网。 | 子网 |
virtualNetworkTaps | 对 虚拟网络 Taps 的引用。 | VirtualNetworkTap[] |
ApplicationGatewayBackendAddressPool
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 应用程序网关中唯一的后端地址池的名称。 | string |
properties | 应用程序网关后端地址池的属性。 | ApplicationGatewayBackendAddressPoolPropertiesFormat |
ApplicationGatewayBackendAddressPoolPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
backendAddresses | 后端地址。 | ApplicationGatewayBackendAddress[] |
ApplicationGatewayBackendAddress
名称 | 说明 | 值 |
---|---|---|
fqdn | 完全限定的域名 (FQDN)。 | 字符串 |
ipAddress | IP 地址。 | 字符串 |
ApplicationSecurityGroup
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 应用程序安全组的属性。 | ApplicationSecurityGroupPropertiesFormat |
标记 | 资源标记。 | 对象 |
ApplicationSecurityGroupPropertiesFormat
此对象不包含部署期间要设置的任何属性。 所有属性均为 ReadOnly。
SubResource
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
BackendAddressPool
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的后端地址池集中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器后端地址池的属性。 | BackendAddressPoolPropertiesFormat |
BackendAddressPoolPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
drainPeriodInSeconds | 将 RESET 发送到客户端和后端地址之前,负载均衡器等待的秒数。 | int |
loadBalancerBackendAddresses | 后端地址数组。 | LoadBalancerBackendAddress[] |
location | 后端地址池的位置。 | 字符串 |
tunnelInterfaces | 网关负载均衡器隧道接口的数组。 | GatewayLoadBalancerTunnelInterface[] |
virtualNetwork | 对虚拟网络的引用。 | SubResource |
LoadBalancerBackendAddress
名称 | 说明 | 值 |
---|---|---|
name | 后端地址的名称。 | string |
properties | 负载均衡器后端地址池的属性。 | LoadBalancerBackendAddressPropertiesFormat |
LoadBalancerBackendAddressPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
adminState | 管理状态的列表,一旦设置这些状态即可替代运行状况探测,以便负载均衡器始终将新连接转发到后端,或拒绝新连接并重置现有连接。 | “向下” 'Drain' “None” 'Up' |
ipAddress | 属于所引用虚拟网络的 IP 地址。 | 字符串 |
loadBalancerFrontendIPConfiguration | 对区域负载均衡器中定义的前端 IP 地址配置的引用。 | SubResource |
子网 | 对现有子网的引用。 | SubResource |
virtualNetwork | 对现有虚拟网络的引用。 | SubResource |
GatewayLoadBalancerTunnelInterface
名称 | 说明 | 值 |
---|---|---|
标识符 | 网关负载均衡器隧道接口的标识符。 | int |
port | 网关负载均衡器隧道接口的端口。 | int |
协议 | 网关负载均衡器隧道接口的协议。 | “Native” “None” “VXLAN” |
type | 网关负载均衡器隧道接口的流量类型。 | 'External' 'Internal' “None” |
InboundNatRule
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 在负载均衡器使用的入站 NAT 规则集中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器入站 NAT 规则的属性。 | InboundNatRulePropertiesFormat |
InboundNatRulePropertiesFormat
名称 | 说明 | Value |
---|---|---|
backendAddressPool | 对 backendAddressPool 资源的引用。 | SubResource |
backendPort | 用于内部终结点的端口。 可接受的值范围为 1 到 65535。 | int |
enableFloatingIP | 为配置 SQL AlwaysOn 可用性组所需的浮动 IP 功能配置虚拟机的终结点。 在 SQL Server 中使用 SQL AlwaysOn 可用性组时,此设置是必需的。 创建终结点后,无法更改此设置。 | bool |
enableTcpReset | 在 TCP 流空闲超时或意外连接终止时接收双向 TCP 重置。 仅在将协议设置为 TCP 后才使用此元素。 | bool |
frontendIPConfiguration | 对前端 IP 地址的引用。 | SubResource |
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' |
PublicIPAddress
名称 | 说明 | Value |
---|---|---|
extendedLocation | 公共 IP 地址的扩展位置。 | ExtendedLocation |
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 公共 IP 地址属性。 | PublicIPAddressPropertiesFormat |
sku | 公共 IP 地址 SKU。 | PublicIPAddressSku |
标记 | 资源标记。 | 对象 |
zones | 一个可用性区域列表,指示为资源分配的 IP 需要来自。 | string[] |
PublicIPAddressPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
ddosSettings | 与公共 IP 地址关联的 DDoS 防护自定义策略。 | DdosSettings |
deleteOption | 指定删除使用公共 IP 地址的 VM 时会发生什么情况 | “Delete” “分离” |
dnsSettings | 与公共 IP 地址关联的 DNS 记录的 FQDN。 | PublicIPAddressDnsSettings |
idleTimeoutInMinutes | 公共 IP 地址的空闲超时。 | int |
ipAddress | 与公共 IP 地址资源关联的 IP 地址。 | 字符串 |
ipTags | 与公共 IP 地址关联的标记列表。 | IpTag[] |
linkedPublicIPAddress | 公共 IP 地址资源的链接公共 IP 地址。 | PublicIPAddress |
migrationPhase | 公共 IP 地址的迁移阶段。 | “中止” “Commit” “Committed” “None” “准备” |
natGateway | 公共 IP 地址的 NatGateway。 | NatGateway |
publicIPAddressVersion | 公共 IP 地址版本。 | “IPv4” “IPv6” |
publicIPAllocationMethod | 公共 IP 地址分配方法。 | “Dynamic” “Static” |
publicIPPrefix | 应从中分配此公共 IP 地址的公共 IP 前缀。 | SubResource |
servicePublicIPAddress | 公共 IP 地址资源的服务公共 IP 地址。 | PublicIPAddress |
DdosSettings
名称 | 说明 | 值 |
---|---|---|
ddosProtectionPlan | 与公共 IP 关联的 DDoS 保护计划。 仅当 ProtectionMode 为“已启用”时,才能设置 | SubResource |
protectionMode | 公共 IP 的 DDoS 保护模式 | “Disabled” “已启用” “VirtualNetworkInherited” |
PublicIPAddressDnsSettings
名称 | 说明 | 值 |
---|---|---|
domainNameLabel | 域名标签。 域名标签与区域化 DNS 区域的串联形式构成了与公共 IP 地址关联的完全限定域名。 如果指定了域名标签,则会在 Microsoft Azure DNS 系统中为公共 IP 创建 DNS 记录。 | 字符串 |
fqdn | 与公共 IP 关联的 A DNS 记录的完全限定域名。 这是 domainNameLabel 和区域化 DNS 区域的串联。 | 字符串 |
reverseFqdn | 反向 FQDN。 解析为此公共 IP 地址的用户可见的完全限定域名。 如果指定了 reverseFqdn,则会创建从 in-addr.arpa 域中的 IP 地址指向反向 FQDN 的 DNS PTR 记录。 | 字符串 |
IpTag
名称 | 说明 | 值 |
---|---|---|
ipTagType | IP 标记类型。 示例:FirstPartyUsage。 | 字符串 |
标记 | 与公共 IP 关联的 IP 标记的值。 示例:SQL。 | 字符串 |
NatGateway
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | Nat 网关属性。 | NatGatewayPropertiesFormat |
sku | nat 网关 SKU。 | NatGatewaySku |
标记 | 资源标记。 | 对象 |
zones | 指示应在其中部署 Nat 网关的区域的可用性区域列表。 | string[] |
NatGatewayPropertiesFormat
名称 | 说明 | Value |
---|---|---|
idleTimeoutInMinutes | nat 网关的空闲超时。 | int |
publicIpAddresses | 与 nat 网关资源关联的公共 IP 地址数组。 | SubResource[] |
publicIpPrefixes | 与 nat 网关资源关联的公共 IP 前缀数组。 | SubResource[] |
NatGatewaySku
名称 | 说明 | 值 |
---|---|---|
name | Nat 网关 SKU 的名称。 | 'Standard' |
PublicIPAddressSku
名称 | 说明 | 值 |
---|---|---|
name | 公共 IP 地址 SKU 的名称。 | 'Basic' 'Standard' |
层 | 公共 IP 地址 SKU 的层。 | 'Global' 'Regional' |
子网
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 子网的属性。 | SubnetPropertiesFormat |
type | 资源类型。 | 字符串 |
SubnetPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
addressPrefix | 子网的地址前缀。 | 字符串 |
addressPrefixes | 子网的地址前缀列表。 | string[] |
applicationGatewayIpConfigurations | 虚拟网络资源的应用程序网关 IP 配置。 | ApplicationGatewayIPConfiguration[] |
代表团 | 对子网上的委托的引用数组。 | 委派[] |
ipAllocations | 引用此子网的 IpAllocation 数组。 | SubResource[] |
natGateway | 与此子网关联的 Nat 网关。 | SubResource |
networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | NetworkSecurityGroup |
privateEndpointNetworkPolicies | 启用或禁用在子网中的专用终结点应用网络策略。 | 'Disabled' 'Enabled' |
privateLinkServiceNetworkPolicies | 启用或禁用对子网中的专用链接服务应用网络策略。 | 'Disabled' 'Enabled' |
routeTable | 对 RouteTable 资源的引用。 | RouteTable |
serviceEndpointPolicies | 服务终结点策略的数组。 | ServiceEndpointPolicy[] |
serviceEndpoints | 服务终结点的数组。 | ServiceEndpointPropertiesFormat[] |
ApplicationGatewayIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 应用程序网关中唯一的 IP 配置的名称。 | string |
properties | 应用程序网关 IP 配置的属性。 | ApplicationGatewayIPConfigurationPropertiesFormat |
ApplicationGatewayIPConfigurationPropertiesFormat
名称 | 说明 | Value |
---|---|---|
子网 | 对子网资源的引用。 应用程序网关从中获取其专用地址的子网。 | SubResource |
委托
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 子网中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 子网的属性。 | ServiceDelegationPropertiesFormat |
type | 资源类型。 | 字符串 |
ServiceDelegationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
serviceName | 子网应委托给的服务的名称 (例如Microsoft。sql/servers) 。 | 字符串 |
NetworkSecurityGroup
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 网络安全组的属性。 | NetworkSecurityGroupPropertiesFormat |
标记 | 资源标记。 | 对象 |
NetworkSecurityGroupPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
flushConnection | 启用后,将在规则更新时重新评估从网络安全组连接创建的流。 初始启用将触发重新评估。 | bool |
securityRules | 网络安全组的安全规则集合。 | SecurityRule[] |
SecurityRule
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 安全规则的属性。 | SecurityRulePropertiesFormat |
type | 资源类型。 | 字符串 |
SecurityRulePropertiesFormat
名称 | 说明 | Value |
---|---|---|
access | 允许或拒绝网络流量。 | “允许” 需要“拒绝” () |
description | 此规则的说明。 限制为 140 个字符。 | 字符串 |
destinationAddressPrefix | 目标地址前缀。 CIDR 或目标 IP 范围。 也可以使用星号“*”来匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 | 字符串 |
destinationAddressPrefixes | 目标地址前缀。 CIDR 或目标 IP 范围。 | string[] |
destinationApplicationSecurityGroups | 指定为目标的应用程序安全组。 | ApplicationSecurityGroup[] |
destinationPortRange | 目标端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
destinationPortRanges | 目标端口范围。 | string[] |
direction | 规则的方向。 direction 指定是要针对传入流量还是传出流量评估该规则。 | 'Inbound' 需要“出站” () |
priority | 规则的优先级。 该值可以介于 100 和 4096 之间。 对于集合中的每个规则,优先级编号必须是唯一的。 优先级编号越低,规则优先级越高。 | int |
协议 | 此规则应用到的网络协议。 | '*' 'Ah' 'Esp' 'Icmp' 'Tcp' “Udp” (必需) |
sourceAddressPrefix | CIDR 或源 IP 范围。 也可以使用星号“*”来匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 如果这是入口规则,则指定网络流量的来源。 | 字符串 |
sourceAddressPrefixes | CIDR 或源 IP 范围。 | string[] |
sourceApplicationSecurityGroups | 指定为源的应用程序安全组。 | ApplicationSecurityGroup[] |
sourcePortRange | 源端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
sourcePortRanges | 源端口范围。 | string[] |
RouteTable
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 路由表的属性。 | RouteTablePropertiesFormat |
标记 | 资源标记。 | 对象 |
RouteTablePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
disableBgpRoutePropagation | 是否禁用 BGP 在该路由表上获知的路由。 True 表示禁用。 | bool |
routes | 路由表中包含的路由的集合。 | Route[] |
路由
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 路由的属性。 | RoutePropertiesFormat |
type | 资源类型。 | 字符串 |
RoutePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
addressPrefix | 路由应用到的目标 CIDR。 | 字符串 |
hasBgpOverride | 一个 值,该值指示此路由是否替代重叠的 BGP 路由,而不考虑 LPM。 | bool |
nextHopIpAddress | 应将 IP 地址数据包转发到 。 下一跃点值仅在下一跃点类型为 VirtualAppliance 的路由中被允许。 | 字符串 |
nextHopType | 数据包应发送到的 Azure 跃点的类型。 | “Internet” “None” “VirtualAppliance” “VirtualNetworkGateway” “VnetLocal” (必需) |
ServiceEndpointPolicy
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 服务终结点策略的属性。 | ServiceEndpointPolicyPropertiesFormat |
标记 | 资源标记。 | 对象 |
ServiceEndpointPolicyPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
contextualServiceEndpointPolicies | 上下文服务终结点策略的集合。 | string[] |
serviceAlias | 指示策略是否属于服务的别名 | 字符串 |
serviceEndpointPolicyDefinitions | 服务终结点策略的服务终结点策略定义的集合。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 服务终结点策略定义的属性。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
type | 资源类型。 | 字符串 |
ServiceEndpointPolicyDefinitionPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
description | 此规则的说明。 限制为 140 个字符。 | 字符串 |
服务 | 服务终结点名称。 | 字符串 |
serviceResources | 服务资源列表。 | string[] |
ServiceEndpointPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
locations | 位置列表。 | string[] |
服务 | 终结点服务的类型。 | 字符串 |
VirtualNetworkTap
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 虚拟网络点击“属性”。 | VirtualNetworkTapPropertiesFormat |
标记 | 资源标记。 | 对象 |
VirtualNetworkTapPropertiesFormat
名称 | 说明 | Value |
---|---|---|
destinationLoadBalancerFrontEndIPConfiguration | 对将接收点击的内部负载均衡器上的专用 IP 地址的引用。 | FrontendIPConfiguration |
destinationNetworkInterfaceIPConfiguration | 对将接收点击的收集器 nic 的专用 IP 地址的引用。 | NetworkInterfaceIPConfiguration |
destinationPort | 将接收已点击流量的 VXLAN 目标端口。 | int |
FrontendIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的前端 IP 配置集中唯一的资源名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器探测的属性。 | FrontendIPConfigurationPropertiesFormat |
zones | 一个可用性区域列表,指示为资源分配的 IP 需要来自。 | string[] |
FrontendIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
gatewayLoadBalancer | 对网关负载均衡器前端 IP 的引用。 | SubResource |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 ip 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 分配方法。 | 'Dynamic' 'Static' |
publicIPAddress | 对公共 IP 资源的引用。 | PublicIPAddress |
publicIPPrefix | 对公共 IP 前缀资源的引用。 | SubResource |
子网 | 对子网资源的引用。 | 子网 |
PrivateLinkService
名称 | 说明 | 值 |
---|---|---|
extendedLocation | 负载均衡器的扩展位置。 | ExtendedLocation |
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 专用链接服务的属性。 | PrivateLinkServiceProperties |
标记 | 资源标记。 | 对象 |
PrivateLinkServiceProperties
名称 | 说明 | 值 |
---|---|---|
autoApproval | 专用链接服务的自动审批列表。 | PrivateLinkServicePropertiesAutoApproval |
enableProxyProtocol | 是否为代理协议启用了专用链接服务。 | bool |
fqdns | Fqdn 的列表。 | string[] |
ipConfigurations | 专用链接服务 IP 配置的数组。 | PrivateLinkServiceIpConfiguration[] |
loadBalancerFrontendIpConfigurations | 对负载均衡器 IP 配置的引用数组。 | FrontendIPConfiguration[] |
可见性 | 专用链接服务的可见性列表。 | PrivateLinkServicePropertiesVisibility |
PrivateLinkServicePropertiesAutoApproval
名称 | 说明 | Value |
---|---|---|
subscriptions | 订阅列表。 | string[] |
PrivateLinkServiceIpConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 专用链接服务 IP 配置的名称。 | string |
properties | 专用链接服务 IP 配置的属性。 | PrivateLinkServiceIpConfigurationProperties |
PrivateLinkServiceIpConfigurationProperties
名称 | 说明 | 值 |
---|---|---|
角色实体 | IP 配置是否为主。 | bool |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 地址分配方法。 | 'Dynamic' 'Static' |
子网 | 对子网资源的引用。 | 子网 |
PrivateLinkServicePropertiesVisibility
名称 | 说明 | 值 |
---|---|---|
subscriptions | 订阅列表。 | string[] |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
具有 应用程序网关 入口控制器的 AKS 群集 |
此示例演示如何使用 应用程序网关、应用程序网关 入口控制器、Azure 容器注册表、Log Analytics 和 密钥保管库 部署 AKS 群集 |
使用 WAF、SSL、IIS 和 HTTPS 重定向的应用网关 |
此模板在 IIS 服务器上部署具有 WAF、端到端 SSL 和 HTTP 到 HTTPS 重定向的应用程序网关。 |
应用程序安全组 |
此模板演示如何将各个部分组合在一起,以使用 NSG 和应用程序安全组来保护工作负荷。 它将部署运行 NGINX 的 Linux VM,通过对网络安全组使用应用程序安全组,我们将允许访问分配给名为 webServersAsg 的应用程序安全组的 VM 的端口 22 和 80。 |
将 Azure 防火墙 用作中心&辐射型拓扑中的 DNS 代理 |
此示例演示如何使用 Azure 防火墙 在 Azure 中部署中心辐射型拓扑。 中心虚拟网络充当通过虚拟网络对等互连连接到中心虚拟网络的许多分支虚拟网络的中心点。 |
使用显式代理创建防火墙 FirewallPolicy |
此模板创建Azure 防火墙 FirewalllPolicy with Explicit Proxy 和 Network Rules with IpGroups。 此外,还包括 Linux Jumpbox vm 设置 |
使用 FirewallPolicy 和 IpGroups 创建防火墙 |
此模板创建一个Azure 防火墙,其中 FirewalllPolicy 引用了 IpGroups 的网络规则。 此外,还包括 Linux Jumpbox vm 设置 |
创建使用 IpGroups 的 Azure 防火墙 |
此模板使用引用 IP 组的应用程序和网络规则创建Azure 防火墙。 此外,还包括 Linux Jumpbox vm 设置 |
使用强制隧道创建Azure 防火墙沙盒 |
此模板 (Linux) 创建一个Azure 防火墙沙盒,其中一个防火墙强制通过对等互连 VNET 中的另一个防火墙通过隧道 |
Azure 防火墙 Premium 的测试环境 |
此模板创建具有高级功能的Azure 防火墙高级和防火墙策略,例如入侵检查 (IDPS) 、TLS 检查和 Web 类别筛选 |
使用 Linux VM 创建Azure 防火墙的沙盒设置 |
此模板创建包含 3 个子网的虚拟网络, (服务器子网、jumpbox 子集和 AzureFirewall 子网) 、具有公共 IP 的 jumpbox VM、服务器 VM、UDR 路由以指向服务器子网的Azure 防火墙,以及具有 1 个或更多个公共 IP 地址、1 个示例应用程序规则、1 个示例网络规则和默认专用范围的Azure 防火墙 |
使用防火墙策略创建沙盒设置 |
此模板创建包含 3 个子网的虚拟网络, (服务器子网、jumpbox 子集和 AzureFirewall 子网) 、具有公共 IP 的 jumpbox VM、服务器 VM、指向服务器子网Azure 防火墙的 UDR 路由,以及具有 1 个或多个公共 IP 地址的Azure 防火墙。 还创建包含 1 个示例应用程序规则、1 个示例网络规则和默认专用范围的防火墙策略 |
创建具有区域的 Azure 防火墙的沙盒设置 |
此模板创建一个虚拟网络,其中包含三个子网 (服务器子网、jumpbox 子网和Azure 防火墙子网) 、具有公共 IP 的 jumpbox VM、服务器 VM、指向 ServerSubnet Azure 防火墙的 UDR 路由、具有一个或多个公共 IP 地址的Azure 防火墙、一个示例应用程序规则和一个示例网络规则和Azure 防火墙可用性区域 1、2 和 3。 |
在中心虚拟网络部署 Bastion 主机 |
此模板创建两个具有对等互连的 vNet:中心 vNet 中的 Bastion 主机和分支 vNet 中的 Linux VM |
创建具有多个 IP 公共地址的 Azure 防火墙 |
此模板创建一个Azure 防火墙,其中包含两个公共 IP 地址和两个要测试的 Windows Server 2019 服务器。 |
安全虚拟中心 |
此模板使用 Azure 防火墙 创建安全的虚拟中心,以保护发往 Internet 的云网络流量。 |
创建标准的内部负载均衡器 |
此模板使用规则负载均衡端口 80 创建标准内部Azure 负载均衡器 |
使用 HA 端口创建标准内部负载均衡器 |
此模板使用 HA 端口负载均衡规则创建标准内部Azure 负载均衡器 |
创建跨区域负载均衡器 |
此模板创建一个跨区域负载均衡器,其后端池包含两个区域负载均衡器。 跨区域负载均衡器目前在有限的区域中可用。 跨区域负载均衡器后面的区域负载均衡器可以位于任何区域。 |
使用后端池按 IP 地址标准负载均衡器 |
此模板用于演示如何使用 ARM 模板按 IP 地址配置负载均衡器的后端池,如后端池管理文档中所述。 |
创建具有公共 IPv6 地址的负载均衡器 |
此模板为后端池创建一个面向 Internet 的负载均衡器,其中包含一个公共 IPv6 地址、负载均衡规则和两个 VM。 |
创建标准负载均衡器 |
此模板为后端池创建面向 Internet 的负载均衡器、负载均衡规则和三个 VM,每个 VM 位于冗余区域中。 |
负载均衡器包含 2 个 VIP,每个 VIP 有一个 LB 规则 |
此模板允许你为负载均衡器创建一个负载均衡器 2 个公共 IP 地址, (多vip) ,虚拟网络&网络接口,虚拟网络网络接口使用的负载均衡器 LB 规则。 |
使用入站 NAT 规则负载均衡器 |
此模板允许你为负载均衡器创建一个负载均衡器公共 IP 地址,虚拟网络网络接口,虚拟网络&网络接口使用的负载均衡器中的 NAT 规则。 |
使用 VM 虚拟网络 NAT |
部署 NAT 网关和虚拟机 |
具有公共 IP 地址的网络接口 |
此模板允许你在引用公共 IP 地址的虚拟网络中创建网络 Inerface。 |
专用链接服务示例 |
此模板演示如何创建专用链接服务 |
BGP 中的 Azure 路由服务器与 Quagga 对等互连 |
此模板使用 Quagga 部署路由器服务器和 Ubuntu VM。 路由器服务器和 Quagga 之间建立了两个外部 BGP 会话。 Quagga 的安装和配置由适用于 linux 的 Azure 自定义脚本扩展执行 |
使用 VM 创建站点到站点 VPN 连接 |
此模板允许使用 虚拟网络 网关创建站点到站点 VPN 连接 |
具有 BGP 的主动-主动 VPN 网关的站点到站点 VPN |
此模板允许在两个 VNet 之间部署站点到站点 VPN VPN,这些 VNet 采用 BGP 的主动-主动配置。 每个 Azure VPN 网关解析远程对等方的 FQDN,以确定远程VPN 网关的公共 IP。 模板在具有可用性区域的 Azure 区域中按预期运行。 |
Azure 流量管理器 VM 示例 |
此模板演示如何跨多个虚拟机创建 Azure 流量管理器配置文件负载均衡。 |
包含 可用性区域 的 Azure 流量管理器 VM 示例 |
此模板演示如何在放置在 可用性区域 中的多个虚拟机之间创建 Azure 流量管理器配置文件负载均衡。 |
用户定义的路由和设备 |
此模板在相应的子网中部署虚拟网络、VM 和路由,以将流量定向到设备 |
201-vnet-2subnets-service-endpoints-storage-integration |
在同一 VNet 中的两个不同子网中创建 2 个具有 NIC 的新 VM。 在其中一个子网上设置服务终结点,并保护该子网的存储帐户。 |
ARM 模板资源定义
networkInterfaces 资源类型可以部署到:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
创建Microsoft。Network/networkInterfaces 资源,将以下 JSON 添加到模板。
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2022-07-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"extendedLocation": {
"name": "string",
"type": "EdgeZone"
},
"properties": {
"auxiliaryMode": "string",
"disableTcpStateTracking": "bool",
"dnsSettings": {
"dnsServers": [ "string" ],
"internalDnsNameLabel": "string"
},
"enableAcceleratedNetworking": "bool",
"enableIPForwarding": "bool",
"ipConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"applicationGatewayBackendAddressPools": [
{
"id": "string",
"name": "string",
"properties": {
"backendAddresses": [
{
"fqdn": "string",
"ipAddress": "string"
}
]
}
}
],
"applicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"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",
"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",
"privateIPAddressVersion": "string",
"privateIPAllocationMethod": "string",
"publicIPAddress": {
"extendedLocation": {
"name": "string",
"type": "EdgeZone"
},
"id": "string",
"location": "string",
"properties": {
"ddosSettings": {
"ddosProtectionPlan": {
"id": "string"
},
"protectionMode": "string"
},
"deleteOption": "string",
"dnsSettings": {
"domainNameLabel": "string",
"fqdn": "string",
"reverseFqdn": "string"
},
"idleTimeoutInMinutes": "int",
"ipAddress": "string",
"ipTags": [
{
"ipTagType": "string",
"tag": "string"
}
],
"linkedPublicIPAddress": { public-ip-address-object },
"migrationPhase": "string",
"natGateway": {
"id": "string",
"location": "string",
"properties": {
"idleTimeoutInMinutes": "int",
"publicIpAddresses": [
{
"id": "string"
}
],
"publicIpPrefixes": [
{
"id": "string"
}
]
},
"sku": {
"name": "Standard"
},
"tags": {},
"zones": [ "string" ]
},
"publicIPAddressVersion": "string",
"publicIPAllocationMethod": "string",
"publicIPPrefix": {
"id": "string"
},
"servicePublicIPAddress": { public-ip-address-object }
},
"sku": {
"name": "string",
"tier": "string"
},
"tags": {},
"zones": [ "string" ]
},
"subnet": {
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"addressPrefixes": [ "string" ],
"applicationGatewayIpConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"subnet": {
"id": "string"
}
}
}
],
"delegations": [
{
"id": "string",
"name": "string",
"properties": {
"serviceName": "string"
},
"type": "string"
}
],
"ipAllocations": [
{
"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": {}
}
],
"destinationPortRange": "string",
"destinationPortRanges": [ "string" ],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourceAddressPrefix": "string",
"sourceAddressPrefixes": [ "string" ],
"sourceApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"sourcePortRange": "string",
"sourcePortRanges": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
},
"privateEndpointNetworkPolicies": "string",
"privateLinkServiceNetworkPolicies": "string",
"routeTable": {
"id": "string",
"location": "string",
"properties": {
"disableBgpRoutePropagation": "bool",
"routes": [
{
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"hasBgpOverride": "bool",
"nextHopIpAddress": "string",
"nextHopType": "string"
},
"type": "string"
}
]
},
"tags": {}
},
"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": {}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"service": "string"
}
]
},
"type": "string"
},
"virtualNetworkTaps": [
{
"id": "string",
"location": "string",
"properties": {
"destinationLoadBalancerFrontEndIPConfiguration": {
"id": "string",
"name": "string",
"properties": {
"gatewayLoadBalancer": {
"id": "string"
},
"privateIPAddress": "string",
"privateIPAddressVersion": "string",
"privateIPAllocationMethod": "string",
"publicIPAddress": {
"extendedLocation": {
"name": "string",
"type": "EdgeZone"
},
"id": "string",
"location": "string",
"properties": {
"ddosSettings": {
"ddosProtectionPlan": {
"id": "string"
},
"protectionMode": "string"
},
"deleteOption": "string",
"dnsSettings": {
"domainNameLabel": "string",
"fqdn": "string",
"reverseFqdn": "string"
},
"idleTimeoutInMinutes": "int",
"ipAddress": "string",
"ipTags": [
{
"ipTagType": "string",
"tag": "string"
}
],
"linkedPublicIPAddress": { public-ip-address-object },
"migrationPhase": "string",
"natGateway": {
"id": "string",
"location": "string",
"properties": {
"idleTimeoutInMinutes": "int",
"publicIpAddresses": [
{
"id": "string"
}
],
"publicIpPrefixes": [
{
"id": "string"
}
]
},
"sku": {
"name": "Standard"
},
"tags": {},
"zones": [ "string" ]
},
"publicIPAddressVersion": "string",
"publicIPAllocationMethod": "string",
"publicIPPrefix": {
"id": "string"
},
"servicePublicIPAddress": { public-ip-address-object }
},
"sku": {
"name": "string",
"tier": "string"
},
"tags": {},
"zones": [ "string" ]
},
"publicIPPrefix": {
"id": "string"
},
"subnet": {
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"addressPrefixes": [ "string" ],
"applicationGatewayIpConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"subnet": {
"id": "string"
}
}
}
],
"delegations": [
{
"id": "string",
"name": "string",
"properties": {
"serviceName": "string"
},
"type": "string"
}
],
"ipAllocations": [
{
"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": {}
}
],
"destinationPortRange": "string",
"destinationPortRanges": [ "string" ],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourceAddressPrefix": "string",
"sourceAddressPrefixes": [ "string" ],
"sourceApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"sourcePortRange": "string",
"sourcePortRanges": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
},
"privateEndpointNetworkPolicies": "string",
"privateLinkServiceNetworkPolicies": "string",
"routeTable": {
"id": "string",
"location": "string",
"properties": {
"disableBgpRoutePropagation": "bool",
"routes": [
{
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"hasBgpOverride": "bool",
"nextHopIpAddress": "string",
"nextHopType": "string"
},
"type": "string"
}
]
},
"tags": {}
},
"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": {}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"service": "string"
}
]
},
"type": "string"
}
},
"zones": [ "string" ]
},
"destinationNetworkInterfaceIPConfiguration": {
"destinationPort": "int"
},
"tags": {}
}
]
},
"type": "string"
}
],
"migrationPhase": "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": {}
}
],
"destinationPortRange": "string",
"destinationPortRanges": [ "string" ],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourceAddressPrefix": "string",
"sourceAddressPrefixes": [ "string" ],
"sourceApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"sourcePortRange": "string",
"sourcePortRanges": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
},
"nicType": "string",
"privateLinkService": {
"extendedLocation": {
"name": "string",
"type": "EdgeZone"
},
"id": "string",
"location": "string",
"properties": {
"autoApproval": {
"subscriptions": [ "string" ]
},
"enableProxyProtocol": "bool",
"fqdns": [ "string" ],
"ipConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"primary": "bool",
"privateIPAddress": "string",
"privateIPAddressVersion": "string",
"privateIPAllocationMethod": "string",
"subnet": {
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"addressPrefixes": [ "string" ],
"applicationGatewayIpConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"subnet": {
"id": "string"
}
}
}
],
"delegations": [
{
"id": "string",
"name": "string",
"properties": {
"serviceName": "string"
},
"type": "string"
}
],
"ipAllocations": [
{
"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": {}
}
],
"destinationPortRange": "string",
"destinationPortRanges": [ "string" ],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourceAddressPrefix": "string",
"sourceAddressPrefixes": [ "string" ],
"sourceApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"sourcePortRange": "string",
"sourcePortRanges": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
},
"privateEndpointNetworkPolicies": "string",
"privateLinkServiceNetworkPolicies": "string",
"routeTable": {
"id": "string",
"location": "string",
"properties": {
"disableBgpRoutePropagation": "bool",
"routes": [
{
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"hasBgpOverride": "bool",
"nextHopIpAddress": "string",
"nextHopType": "string"
},
"type": "string"
}
]
},
"tags": {}
},
"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": {}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"service": "string"
}
]
},
"type": "string"
}
}
}
],
"loadBalancerFrontendIpConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"gatewayLoadBalancer": {
"id": "string"
},
"privateIPAddress": "string",
"privateIPAddressVersion": "string",
"privateIPAllocationMethod": "string",
"publicIPAddress": {
"extendedLocation": {
"name": "string",
"type": "EdgeZone"
},
"id": "string",
"location": "string",
"properties": {
"ddosSettings": {
"ddosProtectionPlan": {
"id": "string"
},
"protectionMode": "string"
},
"deleteOption": "string",
"dnsSettings": {
"domainNameLabel": "string",
"fqdn": "string",
"reverseFqdn": "string"
},
"idleTimeoutInMinutes": "int",
"ipAddress": "string",
"ipTags": [
{
"ipTagType": "string",
"tag": "string"
}
],
"linkedPublicIPAddress": { public-ip-address-object },
"migrationPhase": "string",
"natGateway": {
"id": "string",
"location": "string",
"properties": {
"idleTimeoutInMinutes": "int",
"publicIpAddresses": [
{
"id": "string"
}
],
"publicIpPrefixes": [
{
"id": "string"
}
]
},
"sku": {
"name": "Standard"
},
"tags": {},
"zones": [ "string" ]
},
"publicIPAddressVersion": "string",
"publicIPAllocationMethod": "string",
"publicIPPrefix": {
"id": "string"
},
"servicePublicIPAddress": { public-ip-address-object }
},
"sku": {
"name": "string",
"tier": "string"
},
"tags": {},
"zones": [ "string" ]
},
"publicIPPrefix": {
"id": "string"
},
"subnet": {
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"addressPrefixes": [ "string" ],
"applicationGatewayIpConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"subnet": {
"id": "string"
}
}
}
],
"delegations": [
{
"id": "string",
"name": "string",
"properties": {
"serviceName": "string"
},
"type": "string"
}
],
"ipAllocations": [
{
"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": {}
}
],
"destinationPortRange": "string",
"destinationPortRanges": [ "string" ],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourceAddressPrefix": "string",
"sourceAddressPrefixes": [ "string" ],
"sourceApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"sourcePortRange": "string",
"sourcePortRanges": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
},
"privateEndpointNetworkPolicies": "string",
"privateLinkServiceNetworkPolicies": "string",
"routeTable": {
"id": "string",
"location": "string",
"properties": {
"disableBgpRoutePropagation": "bool",
"routes": [
{
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"hasBgpOverride": "bool",
"nextHopIpAddress": "string",
"nextHopType": "string"
},
"type": "string"
}
]
},
"tags": {}
},
"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": {}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"service": "string"
}
]
},
"type": "string"
}
},
"zones": [ "string" ]
}
],
"visibility": {
"subscriptions": [ "string" ]
}
},
"tags": {}
},
"workloadType": "string"
}
}
属性值
networkInterfaces
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft。Network/networkInterfaces' |
apiVersion | 资源 API 版本 | '2022-07-01' |
name | 资源名称 | 字符串 (必需) 字符限制:1-80 有效字符: 字母数字、下划线字符、句点和连字符。 以字母数字开头。 以字母数字或下划线结尾。 |
location | 资源位置。 | 字符串 |
标记 | 资源标记。 | 标记名称和值的字典。 请参阅 模板中的标记 |
extendedLocation | 网络接口的扩展位置。 | ExtendedLocation |
properties | 网络接口的属性。 | NetworkInterfacePropertiesFormat |
ExtendedLocation
名称 | 说明 | Value |
---|---|---|
name | 扩展位置的名称。 | 字符串 |
type | 扩展位置的类型。 | “EdgeZone” |
NetworkInterfacePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
auxiliaryMode | 网络接口资源的辅助模式。 | “浮动” “MaxConnections” “None” |
disableTcpStateTracking | 指示是否禁用 tcp 状态跟踪。 | bool |
dnsSettings | 网络接口中的 DNS 设置。 | NetworkInterfaceDnsSettings |
enableAcceleratedNetworking | 如果网络接口配置为加速网络。 不适用于需要加速网络的 VM 大小。 | bool |
enableIPForwarding | 指示是否在此网络接口上启用 IP 转发。 | bool |
ipConfigurations | 网络接口的 IPConfiguration 列表。 | NetworkInterfaceIPConfiguration[] |
migrationPhase | 网络接口资源的迁移阶段。 | 'Abort' “Commit” 'Committed' “None” 'Prepare' |
networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | NetworkSecurityGroup |
nicType | 网络接口资源的类型。 | “Elastic” 'Standard' |
privateLinkService | 网络接口资源的 Privatelinkservice。 | PrivateLinkService |
workloadType | BareMetal 资源的 NetworkInterface 的 WorkloadType | 字符串 |
NetworkInterfaceDnsSettings
名称 | 说明 | 值 |
---|---|---|
dnsServers | DNS 服务器 IP 地址列表。 使用“AzureProvidedDNS”切换到 Azure 提供的 DNS 解析。 “AzureProvidedDNS”值不能与其他 IP 组合,它必须是 dnsServers 集合中的唯一值。 | string[] |
internalDnsNameLabel | 用于同一虚拟网络中 VM 之间的内部通信的此 NIC 的相对 DNS 名称。 | 字符串 |
NetworkInterfaceIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 网络接口 IP 配置属性。 | NetworkInterfaceIPConfigurationPropertiesFormat |
type | 资源类型。 | 字符串 |
NetworkInterfaceIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
applicationGatewayBackendAddressPools | 对 ApplicationGatewayBackendAddressPool 资源的引用。 | ApplicationGatewayBackendAddressPool[] |
applicationSecurityGroups | 包含 IP 配置的应用程序安全组。 | ApplicationSecurityGroup[] |
gatewayLoadBalancer | 对网关负载均衡器前端 IP 的引用。 | SubResource |
loadBalancerBackendAddressPools | 对 LoadBalancerBackendAddressPool 资源的引用。 | BackendAddressPool[] |
loadBalancerInboundNatRules | LoadBalancerInboundNatRules 的引用列表。 | InboundNatRule[] |
角色实体 | 这是否是网络接口上的主要客户地址。 | bool |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 地址分配方法。 | 'Dynamic' 'Static' |
publicIPAddress | 绑定到 IP 配置的公共 IP 地址。 | PublicIPAddress |
子网 | 绑定到 IP 配置的子网。 | 子网 |
virtualNetworkTaps | 对虚拟网络 Taps 的引用。 | VirtualNetworkTap[] |
ApplicationGatewayBackendAddressPool
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 应用程序网关中唯一的后端地址池的名称。 | string |
properties | 应用程序网关后端地址池的属性。 | ApplicationGatewayBackendAddressPoolPropertiesFormat |
ApplicationGatewayBackendAddressPoolPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
backendAddresses | 后端地址。 | ApplicationGatewayBackendAddress[] |
ApplicationGatewayBackendAddress
名称 | 说明 | 值 |
---|---|---|
fqdn | 完全限定的域名 (FQDN)。 | 字符串 |
ipAddress | IP 地址。 | 字符串 |
ApplicationSecurityGroup
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 应用程序安全组的属性。 | ApplicationSecurityGroupPropertiesFormat |
标记 | 资源标记。 | 对象 |
ApplicationSecurityGroupPropertiesFormat
此对象不包含部署期间要设置的任何属性。 所有属性均为 ReadOnly。
SubResource
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
BackendAddressPool
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的后端地址池集中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器后端地址池的属性。 | BackendAddressPoolPropertiesFormat |
BackendAddressPoolPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
drainPeriodInSeconds | 负载均衡器在将 RESET 发送到客户端和后端地址之前等待的秒数。 | int |
loadBalancerBackendAddresses | 后端地址的数组。 | LoadBalancerBackendAddress[] |
location | 后端地址池的位置。 | 字符串 |
tunnelInterfaces | 网关负载均衡器隧道接口的数组。 | GatewayLoadBalancerTunnelInterface[] |
virtualNetwork | 对虚拟网络的引用。 | SubResource |
LoadBalancerBackendAddress
名称 | 说明 | 值 |
---|---|---|
name | 后端地址的名称。 | string |
properties | 负载均衡器后端地址池的属性。 | LoadBalancerBackendAddressPropertiesFormat |
LoadBalancerBackendAddressPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
adminState | 管理状态的列表,一旦设置即可覆盖运行状况探测,以便负载均衡器始终将新连接转发到后端,或拒绝新连接并重置现有连接。 | “Down” “排空” “None” “Up” |
ipAddress | 属于引用的虚拟网络的 IP 地址。 | 字符串 |
loadBalancerFrontendIPConfiguration | 对区域负载均衡器中定义的前端 IP 地址配置的引用。 | SubResource |
子网 | 对现有子网的引用。 | SubResource |
virtualNetwork | 对现有虚拟网络的引用。 | SubResource |
GatewayLoadBalancerTunnelInterface
名称 | 说明 | Value |
---|---|---|
标识符 | 网关负载均衡器隧道接口的标识符。 | int |
port | 网关负载均衡器隧道接口的端口。 | int |
协议 | 网关负载均衡器隧道接口的协议。 | “Native” “None” “VXLAN” |
type | 网关负载均衡器隧道接口的流量类型。 | “External” “Internal” “None” |
InboundNatRule
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的入站 NAT 规则集中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器入站 NAT 规则的属性。 | InboundNatRulePropertiesFormat |
InboundNatRulePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
backendAddressPool | 对 backendAddressPool 资源的引用。 | SubResource |
backendPort | 用于内部终结点的端口。 可接受的值范围为 1 到 65535。 | int |
enableFloatingIP | 为虚拟机的终结点配置配置 SQL AlwaysOn 可用性组所需的浮动 IP 功能。 在 SQL Server 中使用 SQL AlwaysOn 可用性组时,需要此设置。 创建终结点后,无法更改此设置。 | bool |
enableTcpReset | 在 TCP 流空闲超时或意外连接终止时接收双向 TCP 重置。 仅在将协议设置为 TCP 后才使用此元素。 | bool |
frontendIPConfiguration | 对前端 IP 地址的引用。 | SubResource |
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” |
PublicIPAddress
名称 | 说明 | 值 |
---|---|---|
extendedLocation | 公共 IP 地址的扩展位置。 | ExtendedLocation |
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 公共 IP 地址属性。 | PublicIPAddressPropertiesFormat |
sku | 公共 IP 地址 SKU。 | PublicIPAddressSku |
标记 | 资源标记。 | 对象 |
zones | 一个可用性区域列表,指示为资源分配的 IP 需要来自。 | string[] |
PublicIPAddressPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
ddosSettings | 与公共 IP 地址关联的 DDoS 防护自定义策略。 | DdosSettings |
deleteOption | 指定删除使用公共 IP 地址的 VM 时会发生什么情况 | “Delete” “分离” |
dnsSettings | 与公共 IP 地址关联的 DNS 记录的 FQDN。 | PublicIPAddressDnsSettings |
idleTimeoutInMinutes | 公共 IP 地址的空闲超时。 | int |
ipAddress | 与公共 IP 地址资源关联的 IP 地址。 | 字符串 |
ipTags | 与公共 IP 地址关联的标记列表。 | IpTag[] |
linkedPublicIPAddress | 公共 IP 地址资源的链接公共 IP 地址。 | PublicIPAddress |
migrationPhase | 公共 IP 地址的迁移阶段。 | 'Abort' “Commit” 'Committed' “None” 'Prepare' |
natGateway | 公共 IP 地址的 NatGateway。 | NatGateway |
publicIPAddressVersion | 公共 IP 地址版本。 | “IPv4” “IPv6” |
publicIPAllocationMethod | 公共 IP 地址分配方法。 | 'Dynamic' 'Static' |
publicIPPrefix | 应从中分配此公共 IP 地址的公共 IP 前缀。 | SubResource |
servicePublicIPAddress | 公共 IP 地址资源的服务公共 IP 地址。 | PublicIPAddress |
DdosSettings
名称 | 说明 | Value |
---|---|---|
ddosProtectionPlan | 与公共 IP 关联的 DDoS 保护计划。 仅当 ProtectionMode 为“已启用”时,才能设置 | SubResource |
protectionMode | 公共 IP 的 DDoS 保护模式 | 'Disabled' 'Enabled' “VirtualNetworkInherited” |
PublicIPAddressDnsSettings
名称 | 说明 | Value |
---|---|---|
domainNameLabel | 域名标签。 域名标签与区域化 DNS 区域的串联形式构成了与公共 IP 地址关联的完全限定域名。 如果指定了域名标签,则会在 Microsoft Azure DNS 系统中为公共 IP 创建 DNS 记录。 | 字符串 |
fqdn | 与公共 IP 关联的 A DNS 记录的完全限定的域名。 这是 domainNameLabel 和区域化 DNS 区域的串联。 | 字符串 |
reverseFqdn | 反向 FQDN。 用户可见的完全限定域名,解析为此公共 IP 地址。 如果指定了 reverseFqdn,则会创建从 in-addr.arpa 域中的 IP 地址指向反向 FQDN 的 DNS PTR 记录。 | 字符串 |
IpTag
名称 | 说明 | 值 |
---|---|---|
ipTagType | IP 标记类型。 示例:FirstPartyUsage。 | 字符串 |
标记 | 与公共 IP 关联的 IP 标记的值。 示例:SQL。 | 字符串 |
NatGateway
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | Nat 网关属性。 | NatGatewayPropertiesFormat |
sku | nat 网关 SKU。 | NatGatewaySku |
标记 | 资源标记。 | 对象 |
zones | 指示应在其中部署 Nat 网关的区域的可用性区域列表。 | string[] |
NatGatewayPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
idleTimeoutInMinutes | nat 网关的空闲超时。 | int |
publicIpAddresses | 与 nat 网关资源关联的公共 IP 地址数组。 | SubResource[] |
publicIpPrefixes | 与 nat 网关资源关联的公共 IP 前缀数组。 | SubResource[] |
NatGatewaySku
名称 | 说明 | 值 |
---|---|---|
name | Nat 网关 SKU 的名称。 | 'Standard' |
PublicIPAddressSku
名称 | 说明 | 值 |
---|---|---|
name | 公共 IP 地址 SKU 的名称。 | 'Basic' 'Standard' |
层 | 公共 IP 地址 SKU 的层。 | 'Global' 'Regional' |
子网
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 子网的属性。 | SubnetPropertiesFormat |
type | 资源类型。 | 字符串 |
SubnetPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
addressPrefix | 子网的地址前缀。 | 字符串 |
addressPrefixes | 子网的地址前缀列表。 | string[] |
applicationGatewayIpConfigurations | 虚拟网络资源的应用程序网关 IP 配置。 | ApplicationGatewayIPConfiguration[] |
代表团 | 对子网上的委托的引用数组。 | 委派[] |
ipAllocations | 引用此子网的 IpAllocation 数组。 | SubResource[] |
natGateway | 与此子网关联的 Nat 网关。 | SubResource |
networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | NetworkSecurityGroup |
privateEndpointNetworkPolicies | 启用或禁用在子网中的专用终结点应用网络策略。 | 'Disabled' 'Enabled' |
privateLinkServiceNetworkPolicies | 启用或禁用对子网中的专用链接服务应用网络策略。 | 'Disabled' 'Enabled' |
routeTable | 对 RouteTable 资源的引用。 | RouteTable |
serviceEndpointPolicies | 服务终结点策略的数组。 | ServiceEndpointPolicy[] |
serviceEndpoints | 服务终结点的数组。 | ServiceEndpointPropertiesFormat[] |
ApplicationGatewayIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 应用程序网关中唯一的 IP 配置的名称。 | string |
properties | 应用程序网关 IP 配置的属性。 | ApplicationGatewayIPConfigurationPropertiesFormat |
ApplicationGatewayIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
子网 | 对子网资源的引用。 应用程序网关从中获取其专用地址的子网。 | SubResource |
委托
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 子网中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 子网的属性。 | ServiceDelegationPropertiesFormat |
type | 资源类型。 | 字符串 |
ServiceDelegationPropertiesFormat
名称 | 说明 | Value |
---|---|---|
serviceName | 子网应委托给的服务的名称 (例如Microsoft。sql/servers) 。 | 字符串 |
NetworkSecurityGroup
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 网络安全组的属性。 | NetworkSecurityGroupPropertiesFormat |
标记 | 资源标记。 | 对象 |
NetworkSecurityGroupPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
flushConnection | 启用后,当规则更新时,将从网络安全组连接创建的流重新评估。 初始启用将触发重新评估。 | bool |
securityRules | 网络安全组的安全规则集合。 | SecurityRule[] |
SecurityRule
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 安全规则的属性。 | SecurityRulePropertiesFormat |
type | 资源类型。 | 字符串 |
SecurityRulePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
access | 允许或拒绝网络流量。 | “允许” 需要“拒绝” () |
description | 此规则的说明。 限制为 140 个字符。 | 字符串 |
destinationAddressPrefix | 目标地址前缀。 CIDR 或目标 IP 范围。 也可以使用星号“*”来匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 | 字符串 |
destinationAddressPrefixes | 目标地址前缀。 CIDR 或目标 IP 范围。 | string[] |
destinationApplicationSecurityGroups | 指定为目标的应用程序安全组。 | ApplicationSecurityGroup[] |
destinationPortRange | 目标端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
destinationPortRanges | 目标端口范围。 | string[] |
direction | 规则的方向。 direction 指定是要针对传入流量还是传出流量评估该规则。 | 'Inbound' 需要“出站” () |
priority | 规则的优先级。 该值可以介于 100 和 4096 之间。 对于集合中的每个规则,优先级编号必须是唯一的。 优先级编号越低,规则优先级越高。 | int |
协议 | 此规则应用到的网络协议。 | '*' 'Ah' 'Esp' 'Icmp' 'Tcp' “Udp” (必需) |
sourceAddressPrefix | CIDR 或源 IP 范围。 也可以使用星号“*”来匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 如果这是入口规则,则指定网络流量的来源。 | 字符串 |
sourceAddressPrefixes | CIDR 或源 IP 范围。 | string[] |
sourceApplicationSecurityGroups | 指定为源的应用程序安全组。 | ApplicationSecurityGroup[] |
sourcePortRange | 源端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
sourcePortRanges | 源端口范围。 | string[] |
RouteTable
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 路由表的属性。 | RouteTablePropertiesFormat |
标记 | 资源标记。 | 对象 |
RouteTablePropertiesFormat
名称 | 说明 | Value |
---|---|---|
disableBgpRoutePropagation | 是否禁用 BGP 在该路由表上获知的路由。 True 表示禁用。 | bool |
routes | 路由表中包含的路由的集合。 | Route[] |
路由
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 路由的属性。 | RoutePropertiesFormat |
type | 资源类型。 | 字符串 |
RoutePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
addressPrefix | 应用路由的目标 CIDR。 | 字符串 |
hasBgpOverride | 一个 值,该值指示此路由是否替代重叠的 BGP 路由,而不考虑 LPM。 | bool |
nextHopIpAddress | IP 地址数据包应转发到。 下一跃点值仅在下一跃点类型为 VirtualAppliance 的路由中被允许。 | 字符串 |
nextHopType | 数据包应发送到的 Azure 跃点的类型。 | “Internet” “None” “VirtualAppliance” “VirtualNetworkGateway” 需要“VnetLocal” () |
ServiceEndpointPolicy
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 服务终结点策略的属性。 | ServiceEndpointPolicyPropertiesFormat |
标记 | 资源标记。 | 对象 |
ServiceEndpointPolicyPropertiesFormat
名称 | 说明 | Value |
---|---|---|
contextualServiceEndpointPolicies | 上下文服务终结点策略的集合。 | string[] |
serviceAlias | 指示策略是否属于某个服务的别名 | 字符串 |
serviceEndpointPolicyDefinitions | 服务终结点策略的服务终结点策略定义的集合。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 服务终结点策略定义的属性。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
type | 资源类型。 | 字符串 |
ServiceEndpointPolicyDefinitionPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
description | 此规则的说明。 限制为 140 个字符。 | 字符串 |
服务 | 服务终结点名称。 | 字符串 |
serviceResources | 服务资源的列表。 | string[] |
ServiceEndpointPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
locations | 位置列表。 | string[] |
服务 | 终结点服务的类型。 | 字符串 |
VirtualNetworkTap
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 虚拟网络点击“属性”。 | VirtualNetworkTapPropertiesFormat |
标记 | 资源标记。 | 对象 |
VirtualNetworkTapPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
destinationLoadBalancerFrontEndIPConfiguration | 对将接收点击的内部负载均衡器上的专用 IP 地址的引用。 | FrontendIPConfiguration |
destinationNetworkInterfaceIPConfiguration | 对将接收点击的收集器 nic 的专用 IP 地址的引用。 | NetworkInterfaceIPConfiguration |
destinationPort | 将接收已点击流量的 VXLAN 目标端口。 | int |
FrontendIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的前端 IP 配置集中唯一的资源名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器探测的属性。 | FrontendIPConfigurationPropertiesFormat |
zones | 一个可用性区域列表,指示为资源分配的 IP 需要来自。 | string[] |
FrontendIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
gatewayLoadBalancer | 对网关负载均衡器前端 IP 的引用。 | SubResource |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 ip 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 分配方法。 | 'Dynamic' 'Static' |
publicIPAddress | 对公共 IP 资源的引用。 | PublicIPAddress |
publicIPPrefix | 对公共 IP 前缀资源的引用。 | SubResource |
子网 | 对子网资源的引用。 | 子网 |
PrivateLinkService
名称 | 说明 | 值 |
---|---|---|
extendedLocation | 负载均衡器的扩展位置。 | ExtendedLocation |
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 专用链接服务的属性。 | PrivateLinkServiceProperties |
标记 | 资源标记。 | 对象 |
PrivateLinkServiceProperties
名称 | 说明 | 值 |
---|---|---|
autoApproval | 专用链接服务的自动审批列表。 | PrivateLinkServicePropertiesAutoApproval |
enableProxyProtocol | 是否为代理协议启用了专用链接服务。 | bool |
fqdns | Fqdn 的列表。 | string[] |
ipConfigurations | 专用链接服务 IP 配置的数组。 | PrivateLinkServiceIpConfiguration[] |
loadBalancerFrontendIpConfigurations | 对负载均衡器 IP 配置的引用数组。 | FrontendIPConfiguration[] |
可见性 | 专用链接服务的可见性列表。 | PrivateLinkServicePropertiesVisibility |
PrivateLinkServicePropertiesAutoApproval
名称 | 说明 | 值 |
---|---|---|
subscriptions | 订阅列表。 | string[] |
PrivateLinkServiceIpConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 专用链接服务 IP 配置的名称。 | string |
properties | 专用链接服务 IP 配置的属性。 | PrivateLinkServiceIpConfigurationProperties |
PrivateLinkServiceIpConfigurationProperties
名称 | 说明 | Value |
---|---|---|
角色实体 | IP 配置是否为主。 | bool |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 地址分配方法。 | 'Dynamic' 'Static' |
子网 | 对子网资源的引用。 | 子网 |
PrivateLinkServicePropertiesVisibility
名称 | 说明 | 值 |
---|---|---|
subscriptions | 订阅列表。 | string[] |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
具有 应用程序网关 入口控制器的 AKS 群集 |
此示例演示如何使用 应用程序网关、应用程序网关 入口控制器、Azure 容器注册表、Log Analytics 和 密钥保管库 部署 AKS 群集 |
使用 WAF、SSL、IIS 和 HTTPS 重定向的应用网关 |
此模板在 IIS 服务器上部署具有 WAF、端到端 SSL 和 HTTP 到 HTTPS 重定向的应用程序网关。 |
应用程序安全组 |
此模板演示如何将各个部分组合在一起,以使用 NSG 和应用程序安全组来保护工作负荷。 它将部署运行 NGINX 的 Linux VM,通过对网络安全组使用应用程序安全组,我们将允许访问分配给名为 webServersAsg 的应用程序安全组的 VM 的端口 22 和 80。 |
将 Azure 防火墙 用作中心&辐射型拓扑中的 DNS 代理 |
此示例演示如何使用 Azure 防火墙 在 Azure 中部署中心辐射型拓扑。 中心虚拟网络充当通过虚拟网络对等互连连接到中心虚拟网络的许多分支虚拟网络的中心点。 |
使用显式代理创建防火墙 FirewallPolicy |
此模板创建Azure 防火墙 FirewalllPolicy with Explicit Proxy 和 Network Rules with IpGroups。 此外,还包括 Linux Jumpbox vm 设置 |
使用 FirewallPolicy 和 IpGroups 创建防火墙 |
此模板创建一个Azure 防火墙,其中 FirewalllPolicy 引用了 IpGroups 的网络规则。 此外,还包括 Linux Jumpbox vm 设置 |
创建使用 IpGroups 的 Azure 防火墙 |
此模板使用引用 IP 组的应用程序和网络规则创建Azure 防火墙。 此外,还包括 Linux Jumpbox vm 设置 |
使用强制隧道创建Azure 防火墙沙盒 |
此模板 (Linux) 创建一个Azure 防火墙沙盒,其中一个防火墙强制通过对等互连 VNET 中的另一个防火墙 |
Azure 防火墙 Premium 的测试环境 |
此模板创建具有高级功能的 Azure 防火墙 Premium 和防火墙策略,例如入侵检查检测 (IDPS) 、TLS 检查和 Web 类别筛选 |
使用 Linux VM 创建Azure 防火墙的沙盒设置 |
此模板创建一个虚拟网络,其中包含 3 个子网 (服务器子网、jumpbox 子集和 AzureFirewall 子网) 、一个具有公共 IP 的 jumpbox VM、一个服务器 VM、用于指向服务器子网Azure 防火墙的 UDR 路由,以及一个具有 1 个或多个公共 IP 地址、1 个示例应用程序规则、1 个示例网络规则和默认专用范围的Azure 防火墙 |
使用防火墙策略创建沙盒设置 |
此模板创建一个虚拟网络,其中包含 3 个子网 (服务器子网、jumpbox 子集和 AzureFirewall 子网) 、一个具有公共 IP 的 jumpbox VM、一个服务器 VM、用于指向服务器子网Azure 防火墙的 UDR 路由,以及一个具有 1 个或多个公共 IP 地址的Azure 防火墙。 还创建包含 1 个示例应用程序规则、1 个示例网络规则和默认专用范围的防火墙策略 |
创建具有区域的 Azure 防火墙的沙盒设置 |
此模板创建一个虚拟网络,其中包含三个子网 (服务器子网、jumpbox 子网和Azure 防火墙子网) 、具有公共 IP 的 jumpbox VM、服务器 VM、指向 ServerSubnet Azure 防火墙的 UDR 路由、具有一个或多个公共 IP 地址的Azure 防火墙、一个示例应用程序规则和一个示例网络规则和Azure 防火墙可用性区域 1、2 和 3。 |
在中心虚拟网络部署 Bastion 主机 |
此模板创建两个具有对等互连的 vNet:中心 vNet 中的 Bastion 主机和分支 vNet 中的 Linux VM |
创建具有多个 IP 公共地址的 Azure 防火墙 |
此模板创建一个Azure 防火墙,其中包含两个公共 IP 地址和两个要测试的 Windows Server 2019 服务器。 |
安全虚拟中心 |
此模板使用 Azure 防火墙 创建安全的虚拟中心,以保护发往 Internet 的云网络流量。 |
创建标准的内部负载均衡器 |
此模板使用规则负载均衡端口 80 创建标准内部Azure 负载均衡器 |
使用 HA 端口创建标准内部负载均衡器 |
此模板使用 HA 端口负载均衡规则创建标准内部Azure 负载均衡器 |
创建跨区域负载均衡器 |
此模板创建一个跨区域负载均衡器,其后端池包含两个区域负载均衡器。 跨区域负载均衡器目前在有限的区域中可用。 跨区域负载均衡器后面的区域负载均衡器可以位于任何区域。 |
使用后端池按 IP 地址标准负载均衡器 |
此模板用于演示如何使用 ARM 模板按 IP 地址配置负载均衡器的后端池,如后端池管理文档中所述。 |
创建具有公共 IPv6 地址的负载均衡器 |
此模板为后端池创建一个面向 Internet 的负载均衡器,其中包含一个公共 IPv6 地址、负载均衡规则和两个 VM。 |
创建标准负载均衡器 |
此模板为后端池创建面向 Internet 的负载均衡器、负载均衡规则和三个 VM,每个 VM 位于冗余区域中。 |
负载均衡器包含 2 个 VIP,每个 VIP 有一个 LB 规则 |
此模板允许你为负载均衡器创建一个负载均衡器 2 个公共 IP 地址, (多vip) ,虚拟网络&网络接口,虚拟网络网络接口使用的负载均衡器 LB 规则。 |
使用入站 NAT 规则负载均衡器 |
此模板允许你为负载均衡器创建一个负载均衡器公共 IP 地址,虚拟网络网络接口,虚拟网络&网络接口使用的负载均衡器中的 NAT 规则。 |
使用 VM 虚拟网络 NAT |
部署 NAT 网关和虚拟机 |
具有公共 IP 地址的网络接口 |
此模板允许你在引用公共 IP 地址的虚拟网络中创建网络 Inerface。 |
专用链接服务示例 |
此模板演示如何创建专用链接服务 |
BGP 中的 Azure 路由服务器与 Quagga 对等互连 |
此模板使用 Quagga 部署路由器服务器和 Ubuntu VM。 路由器服务器和 Quagga 之间建立了两个外部 BGP 会话。 Quagga 的安装和配置由适用于 linux 的 Azure 自定义脚本扩展执行 |
使用 VM 创建站点到站点 VPN 连接 |
此模板允许使用 虚拟网络 网关创建站点到站点 VPN 连接 |
具有 BGP 的主动-主动 VPN 网关的站点到站点 VPN |
此模板允许在两个 VNet 之间部署站点到站点 VPN VPN,这些 VNet 采用 BGP 的主动-主动配置。 每个 Azure VPN 网关解析远程对等方的 FQDN,以确定远程VPN 网关的公共 IP。 模板在具有可用性区域的 Azure 区域中按预期运行。 |
Azure 流量管理器 VM 示例 |
此模板演示如何跨多个虚拟机创建 Azure 流量管理器配置文件负载均衡。 |
包含 可用性区域 的 Azure 流量管理器 VM 示例 |
此模板演示如何在放置在 可用性区域 中的多个虚拟机之间创建 Azure 流量管理器配置文件负载均衡。 |
用户定义的路由和设备 |
此模板在相应的子网中部署虚拟网络、VM 和路由,以将流量定向到设备 |
201-vnet-2subnets-service-endpoints-storage-integration |
在同一 VNet 中的两个不同子网中创建 2 个具有 NIC 的新 VM。 在其中一个子网上设置服务终结点,并保护该子网的存储帐户。 |
Terraform (AzAPI 提供程序) 资源定义
networkInterfaces 资源类型可以部署到:
- 资源组
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
创建Microsoft。Network/networkInterfaces 资源,将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/networkInterfaces@2022-07-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
auxiliaryMode = "string"
disableTcpStateTracking = bool
dnsSettings = {
dnsServers = [
"string"
]
internalDnsNameLabel = "string"
}
enableAcceleratedNetworking = bool
enableIPForwarding = bool
ipConfigurations = [
{
id = "string"
name = "string"
properties = {
applicationGatewayBackendAddressPools = [
{
id = "string"
name = "string"
properties = {
backendAddresses = [
{
fqdn = "string"
ipAddress = "string"
}
]
}
}
]
applicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
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"
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"
privateIPAddressVersion = "string"
privateIPAllocationMethod = "string"
publicIPAddress = {
extendedLocation = {
name = "string"
type = "EdgeZone"
}
id = "string"
location = "string"
properties = {
ddosSettings = {
ddosProtectionPlan = {
id = "string"
}
protectionMode = "string"
}
deleteOption = "string"
dnsSettings = {
domainNameLabel = "string"
fqdn = "string"
reverseFqdn = "string"
}
idleTimeoutInMinutes = int
ipAddress = "string"
ipTags = [
{
ipTagType = "string"
tag = "string"
}
]
linkedPublicIPAddress = {
public-ip-address-object
}
migrationPhase = "string"
natGateway = {
id = "string"
location = "string"
properties = {
idleTimeoutInMinutes = int
publicIpAddresses = [
{
id = "string"
}
]
publicIpPrefixes = [
{
id = "string"
}
]
}
sku = {
name = "Standard"
}
tags = {}
zones = [
"string"
]
}
publicIPAddressVersion = "string"
publicIPAllocationMethod = "string"
publicIPPrefix = {
id = "string"
}
servicePublicIPAddress = {
public-ip-address-object
}
}
sku = {
name = "string"
tier = "string"
}
tags = {}
zones = [
"string"
]
}
subnet = {
id = "string"
name = "string"
properties = {
addressPrefix = "string"
addressPrefixes = [
"string"
]
applicationGatewayIpConfigurations = [
{
id = "string"
name = "string"
properties = {
subnet = {
id = "string"
}
}
}
]
delegations = [
{
id = "string"
name = "string"
properties = {
serviceName = "string"
}
type = "string"
}
]
ipAllocations = [
{
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 = {}
}
]
destinationPortRange = "string"
destinationPortRanges = [
"string"
]
direction = "string"
priority = int
protocol = "string"
sourceAddressPrefix = "string"
sourceAddressPrefixes = [
"string"
]
sourceApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
sourcePortRange = "string"
sourcePortRanges = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
privateEndpointNetworkPolicies = "string"
privateLinkServiceNetworkPolicies = "string"
routeTable = {
id = "string"
location = "string"
properties = {
disableBgpRoutePropagation = bool
routes = [
{
id = "string"
name = "string"
properties = {
addressPrefix = "string"
hasBgpOverride = bool
nextHopIpAddress = "string"
nextHopType = "string"
}
type = "string"
}
]
}
tags = {}
}
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 = {}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
service = "string"
}
]
}
type = "string"
}
virtualNetworkTaps = [
{
id = "string"
location = "string"
properties = {
destinationLoadBalancerFrontEndIPConfiguration = {
id = "string"
name = "string"
properties = {
gatewayLoadBalancer = {
id = "string"
}
privateIPAddress = "string"
privateIPAddressVersion = "string"
privateIPAllocationMethod = "string"
publicIPAddress = {
extendedLocation = {
name = "string"
type = "EdgeZone"
}
id = "string"
location = "string"
properties = {
ddosSettings = {
ddosProtectionPlan = {
id = "string"
}
protectionMode = "string"
}
deleteOption = "string"
dnsSettings = {
domainNameLabel = "string"
fqdn = "string"
reverseFqdn = "string"
}
idleTimeoutInMinutes = int
ipAddress = "string"
ipTags = [
{
ipTagType = "string"
tag = "string"
}
]
linkedPublicIPAddress = {
public-ip-address-object
}
migrationPhase = "string"
natGateway = {
id = "string"
location = "string"
properties = {
idleTimeoutInMinutes = int
publicIpAddresses = [
{
id = "string"
}
]
publicIpPrefixes = [
{
id = "string"
}
]
}
sku = {
name = "Standard"
}
tags = {}
zones = [
"string"
]
}
publicIPAddressVersion = "string"
publicIPAllocationMethod = "string"
publicIPPrefix = {
id = "string"
}
servicePublicIPAddress = {
public-ip-address-object
}
}
sku = {
name = "string"
tier = "string"
}
tags = {}
zones = [
"string"
]
}
publicIPPrefix = {
id = "string"
}
subnet = {
id = "string"
name = "string"
properties = {
addressPrefix = "string"
addressPrefixes = [
"string"
]
applicationGatewayIpConfigurations = [
{
id = "string"
name = "string"
properties = {
subnet = {
id = "string"
}
}
}
]
delegations = [
{
id = "string"
name = "string"
properties = {
serviceName = "string"
}
type = "string"
}
]
ipAllocations = [
{
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 = {}
}
]
destinationPortRange = "string"
destinationPortRanges = [
"string"
]
direction = "string"
priority = int
protocol = "string"
sourceAddressPrefix = "string"
sourceAddressPrefixes = [
"string"
]
sourceApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
sourcePortRange = "string"
sourcePortRanges = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
privateEndpointNetworkPolicies = "string"
privateLinkServiceNetworkPolicies = "string"
routeTable = {
id = "string"
location = "string"
properties = {
disableBgpRoutePropagation = bool
routes = [
{
id = "string"
name = "string"
properties = {
addressPrefix = "string"
hasBgpOverride = bool
nextHopIpAddress = "string"
nextHopType = "string"
}
type = "string"
}
]
}
tags = {}
}
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 = {}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
service = "string"
}
]
}
type = "string"
}
}
zones = [
"string"
]
}
destinationNetworkInterfaceIPConfiguration = {
destinationPort = int
}
tags = {}
}
]
}
type = "string"
}
]
migrationPhase = "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 = {}
}
]
destinationPortRange = "string"
destinationPortRanges = [
"string"
]
direction = "string"
priority = int
protocol = "string"
sourceAddressPrefix = "string"
sourceAddressPrefixes = [
"string"
]
sourceApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
sourcePortRange = "string"
sourcePortRanges = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
nicType = "string"
privateLinkService = {
extendedLocation = {
name = "string"
type = "EdgeZone"
}
id = "string"
location = "string"
properties = {
autoApproval = {
subscriptions = [
"string"
]
}
enableProxyProtocol = bool
fqdns = [
"string"
]
ipConfigurations = [
{
id = "string"
name = "string"
properties = {
primary = bool
privateIPAddress = "string"
privateIPAddressVersion = "string"
privateIPAllocationMethod = "string"
subnet = {
id = "string"
name = "string"
properties = {
addressPrefix = "string"
addressPrefixes = [
"string"
]
applicationGatewayIpConfigurations = [
{
id = "string"
name = "string"
properties = {
subnet = {
id = "string"
}
}
}
]
delegations = [
{
id = "string"
name = "string"
properties = {
serviceName = "string"
}
type = "string"
}
]
ipAllocations = [
{
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 = {}
}
]
destinationPortRange = "string"
destinationPortRanges = [
"string"
]
direction = "string"
priority = int
protocol = "string"
sourceAddressPrefix = "string"
sourceAddressPrefixes = [
"string"
]
sourceApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
sourcePortRange = "string"
sourcePortRanges = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
privateEndpointNetworkPolicies = "string"
privateLinkServiceNetworkPolicies = "string"
routeTable = {
id = "string"
location = "string"
properties = {
disableBgpRoutePropagation = bool
routes = [
{
id = "string"
name = "string"
properties = {
addressPrefix = "string"
hasBgpOverride = bool
nextHopIpAddress = "string"
nextHopType = "string"
}
type = "string"
}
]
}
tags = {}
}
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 = {}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
service = "string"
}
]
}
type = "string"
}
}
}
]
loadBalancerFrontendIpConfigurations = [
{
id = "string"
name = "string"
properties = {
gatewayLoadBalancer = {
id = "string"
}
privateIPAddress = "string"
privateIPAddressVersion = "string"
privateIPAllocationMethod = "string"
publicIPAddress = {
extendedLocation = {
name = "string"
type = "EdgeZone"
}
id = "string"
location = "string"
properties = {
ddosSettings = {
ddosProtectionPlan = {
id = "string"
}
protectionMode = "string"
}
deleteOption = "string"
dnsSettings = {
domainNameLabel = "string"
fqdn = "string"
reverseFqdn = "string"
}
idleTimeoutInMinutes = int
ipAddress = "string"
ipTags = [
{
ipTagType = "string"
tag = "string"
}
]
linkedPublicIPAddress = {
public-ip-address-object
}
migrationPhase = "string"
natGateway = {
id = "string"
location = "string"
properties = {
idleTimeoutInMinutes = int
publicIpAddresses = [
{
id = "string"
}
]
publicIpPrefixes = [
{
id = "string"
}
]
}
sku = {
name = "Standard"
}
tags = {}
zones = [
"string"
]
}
publicIPAddressVersion = "string"
publicIPAllocationMethod = "string"
publicIPPrefix = {
id = "string"
}
servicePublicIPAddress = {
public-ip-address-object
}
}
sku = {
name = "string"
tier = "string"
}
tags = {}
zones = [
"string"
]
}
publicIPPrefix = {
id = "string"
}
subnet = {
id = "string"
name = "string"
properties = {
addressPrefix = "string"
addressPrefixes = [
"string"
]
applicationGatewayIpConfigurations = [
{
id = "string"
name = "string"
properties = {
subnet = {
id = "string"
}
}
}
]
delegations = [
{
id = "string"
name = "string"
properties = {
serviceName = "string"
}
type = "string"
}
]
ipAllocations = [
{
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 = {}
}
]
destinationPortRange = "string"
destinationPortRanges = [
"string"
]
direction = "string"
priority = int
protocol = "string"
sourceAddressPrefix = "string"
sourceAddressPrefixes = [
"string"
]
sourceApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
sourcePortRange = "string"
sourcePortRanges = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
privateEndpointNetworkPolicies = "string"
privateLinkServiceNetworkPolicies = "string"
routeTable = {
id = "string"
location = "string"
properties = {
disableBgpRoutePropagation = bool
routes = [
{
id = "string"
name = "string"
properties = {
addressPrefix = "string"
hasBgpOverride = bool
nextHopIpAddress = "string"
nextHopType = "string"
}
type = "string"
}
]
}
tags = {}
}
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 = {}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
service = "string"
}
]
}
type = "string"
}
}
zones = [
"string"
]
}
]
visibility = {
subscriptions = [
"string"
]
}
}
tags = {}
}
workloadType = "string"
}
extendedLocation = {
name = "string"
type = "EdgeZone"
}
})
}
属性值
networkInterfaces
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft。Network/networkInterfaces@2022-07-01” |
name | 资源名称 | 字符串 (必需) 字符限制:1-80 有效字符: 字母数字、下划线字符、句点和连字符。 以字母数字开头。 以字母数字或下划线结尾。 |
location | 资源位置。 | 字符串 |
parent_id | 若要部署到资源组,请使用该资源组的 ID。 | 字符串 (必需) |
标记 | 资源标记。 | 标记名称和值的字典。 |
extendedLocation | 网络接口的扩展位置。 | ExtendedLocation |
properties | 网络接口的属性。 | NetworkInterfacePropertiesFormat |
ExtendedLocation
名称 | 说明 | Value |
---|---|---|
name | 扩展位置的名称。 | 字符串 |
type | 扩展位置的类型。 | “EdgeZone” |
NetworkInterfacePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
auxiliaryMode | 网络接口资源的辅助模式。 | “浮动” “MaxConnections” "None" |
disableTcpStateTracking | 指示是否禁用 tcp 状态跟踪。 | bool |
dnsSettings | 网络接口中的 DNS 设置。 | NetworkInterfaceDnsSettings |
enableAcceleratedNetworking | 如果网络接口配置为加速网络。 不适用于需要加速网络的 VM 大小。 | bool |
enableIPForwarding | 指示是否在此网络接口上启用 IP 转发。 | bool |
ipConfigurations | 网络接口的 IP 配置列表。 | NetworkInterfaceIPConfiguration[] |
migrationPhase | 网络接口资源的迁移阶段。 | “中止” “Commit” “Committed” "None" “准备” |
networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | NetworkSecurityGroup |
nicType | 网络接口资源的类型。 | “Elastic” “标准” |
privateLinkService | 网络接口资源的 Privatelinkservice。 | PrivateLinkService |
workloadType | BareMetal 资源的 NetworkInterface 的 WorkloadType | 字符串 |
NetworkInterfaceDnsSettings
名称 | 说明 | 值 |
---|---|---|
dnsServers | DNS 服务器 IP 地址列表。 使用“AzureProvidedDNS”切换到 Azure 提供的 DNS 解析。 “AzureProvidedDNS”值不能与其他 IP 组合,它必须是 dnsServers 集合中的唯一值。 | string[] |
internalDnsNameLabel | 此 NIC 的相对 DNS 名称,用于同一虚拟网络中的 VM 之间的内部通信。 | 字符串 |
NetworkInterfaceIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 网络接口 IP 配置属性。 | NetworkInterfaceIPConfigurationPropertiesFormat |
type | 资源类型。 | 字符串 |
NetworkInterfaceIPConfigurationPropertiesFormat
名称 | 说明 | Value |
---|---|---|
applicationGatewayBackendAddressPools | 对 ApplicationGatewayBackendAddressPool 资源的引用。 | ApplicationGatewayBackendAddressPool[] |
applicationSecurityGroups | 包含 IP 配置的应用程序安全组。 | ApplicationSecurityGroup[] |
gatewayLoadBalancer | 对网关负载均衡器前端 IP 的引用。 | SubResource |
loadBalancerBackendAddressPools | 对 LoadBalancerBackendAddressPool 资源的引用。 | BackendAddressPool[] |
loadBalancerInboundNatRules | LoadBalancerInboundNatRules 的引用列表。 | InboundNatRule[] |
角色实体 | 这是否是网络接口上的主要客户地址。 | bool |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 地址分配方法。 | “动态” “Static” |
publicIPAddress | 绑定到 IP 配置的公共 IP 地址。 | PublicIPAddress |
子网 | 绑定到 IP 配置的子网。 | 子网 |
virtualNetworkTaps | 对虚拟网络 Taps 的引用。 | VirtualNetworkTap[] |
ApplicationGatewayBackendAddressPool
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 应用程序网关中唯一的后端地址池的名称。 | string |
properties | 应用程序网关后端地址池的属性。 | ApplicationGatewayBackendAddressPoolPropertiesFormat |
ApplicationGatewayBackendAddressPoolPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
backendAddresses | 后端地址。 | ApplicationGatewayBackendAddress[] |
ApplicationGatewayBackendAddress
名称 | 说明 | Value |
---|---|---|
fqdn | 完全限定的域名 (FQDN)。 | 字符串 |
ipAddress | IP 地址。 | 字符串 |
ApplicationSecurityGroup
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 应用程序安全组的属性。 | ApplicationSecurityGroupPropertiesFormat |
标记 | 资源标记。 | 对象 |
ApplicationSecurityGroupPropertiesFormat
此对象不包含部署期间要设置的任何属性。 所有属性均为 ReadOnly。
SubResource
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
BackendAddressPool
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的后端地址池集中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器后端地址池的属性。 | BackendAddressPoolPropertiesFormat |
BackendAddressPoolPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
drainPeriodInSeconds | 负载均衡器在将 RESET 发送到客户端和后端地址之前等待的秒数。 | int |
loadBalancerBackendAddresses | 后端地址的数组。 | LoadBalancerBackendAddress[] |
location | 后端地址池的位置。 | 字符串 |
tunnelInterfaces | 网关负载均衡器隧道接口的数组。 | GatewayLoadBalancerTunnelInterface[] |
virtualNetwork | 对虚拟网络的引用。 | SubResource |
LoadBalancerBackendAddress
名称 | 说明 | Value |
---|---|---|
name | 后端地址的名称。 | string |
properties | 负载均衡器后端地址池的属性。 | LoadBalancerBackendAddressPropertiesFormat |
LoadBalancerBackendAddressPropertiesFormat
名称 | 说明 | Value |
---|---|---|
adminState | 管理状态的列表,一旦设置即可覆盖运行状况探测,以便负载均衡器始终将新连接转发到后端,或拒绝新连接并重置现有连接。 | “Down” “排水” "None" “向上” |
ipAddress | 属于引用的虚拟网络的 IP 地址。 | 字符串 |
loadBalancerFrontendIPConfiguration | 对区域负载均衡器中定义的前端 IP 地址配置的引用。 | SubResource |
子网 | 对现有子网的引用。 | SubResource |
virtualNetwork | 对现有虚拟网络的引用。 | SubResource |
GatewayLoadBalancerTunnelInterface
名称 | 说明 | 值 |
---|---|---|
标识符 | 网关负载均衡器隧道接口的标识符。 | int |
port | 网关负载均衡器隧道接口的端口。 | int |
协议 | 网关负载均衡器隧道接口的协议。 | “Native” "None" “VXLAN” |
type | 网关负载均衡器隧道接口的流量类型。 | “External” “Internal” "None" |
InboundNatRule
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的入站 NAT 规则集中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器入站 NAT 规则的属性。 | InboundNatRulePropertiesFormat |
InboundNatRulePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
backendAddressPool | 对 backendAddressPool 资源的引用。 | SubResource |
backendPort | 用于内部终结点的端口。 可接受的值范围为 1 到 65535。 | int |
enableFloatingIP | 为虚拟机的终结点配置配置 SQL AlwaysOn 可用性组所需的浮动 IP 功能。 在 SQL Server 中使用 SQL AlwaysOn 可用性组时,需要此设置。 创建终结点后,无法更改此设置。 | bool |
enableTcpReset | 在 TCP 流空闲超时或意外连接终止时接收双向 TCP 重置。 仅在将协议设置为 TCP 后才使用此元素。 | bool |
frontendIPConfiguration | 对前端 IP 地址的引用。 | SubResource |
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 |
协议 | 对负载均衡规则使用的传输协议的引用。 | “全部” “Tcp” “Udp” |
PublicIPAddress
名称 | 说明 | 值 |
---|---|---|
extendedLocation | 公共 IP 地址的扩展位置。 | ExtendedLocation |
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 公共 IP 地址属性。 | PublicIPAddressPropertiesFormat |
sku | 公共 IP 地址 SKU。 | PublicIPAddressSku |
标记 | 资源标记。 | 对象 |
zones | 一个可用性区域列表,指示为资源分配的 IP 需要来自。 | string[] |
PublicIPAddressPropertiesFormat
名称 | 说明 | Value |
---|---|---|
ddosSettings | 与公共 IP 地址关联的 DDoS 防护自定义策略。 | DdosSettings |
deleteOption | 指定删除使用公共 IP 地址的 VM 时会发生什么情况 | “Delete” “分离” |
dnsSettings | 与公共 IP 地址关联的 DNS 记录的 FQDN。 | PublicIPAddressDnsSettings |
idleTimeoutInMinutes | 公共 IP 地址的空闲超时。 | int |
ipAddress | 与公共 IP 地址资源关联的 IP 地址。 | 字符串 |
ipTags | 与公共 IP 地址关联的标记列表。 | IpTag[] |
linkedPublicIPAddress | 公共 IP 地址资源的链接公共 IP 地址。 | PublicIPAddress |
migrationPhase | 公共 IP 地址的迁移阶段。 | “中止” “Commit” “Committed” "None" “准备” |
natGateway | 公共 IP 地址的 NatGateway。 | NatGateway |
publicIPAddressVersion | 公共 IP 地址版本。 | “IPv4” “IPv6” |
publicIPAllocationMethod | 公共 IP 地址分配方法。 | “动态” “Static” |
publicIPPrefix | 应从中分配此公共 IP 地址的公共 IP 前缀。 | SubResource |
servicePublicIPAddress | 公共 IP 地址资源的服务公共 IP 地址。 | PublicIPAddress |
DdosSettings
名称 | 说明 | Value |
---|---|---|
ddosProtectionPlan | 与公共 IP 关联的 DDoS 保护计划。 仅当 ProtectionMode 为“已启用”时,才能设置 | SubResource |
protectionMode | 公共 IP 的 DDoS 保护模式 | “Disabled” “Enabled” “VirtualNetworkInherited” |
PublicIPAddressDnsSettings
名称 | 说明 | Value |
---|---|---|
domainNameLabel | 域名标签。 域名标签与区域化 DNS 区域的串联形式构成了与公共 IP 地址关联的完全限定域名。 如果指定了域名标签,则会在 Microsoft Azure DNS 系统中为公共 IP 创建 DNS 记录。 | 字符串 |
fqdn | 与公共 IP 关联的 A DNS 记录的完全限定的域名。 这是 domainNameLabel 和区域化 DNS 区域的串联。 | 字符串 |
reverseFqdn | 反向 FQDN。 用户可见的完全限定域名,解析为此公共 IP 地址。 如果指定了 reverseFqdn,则会创建从 in-addr.arpa 域中的 IP 地址指向反向 FQDN 的 DNS PTR 记录。 | 字符串 |
IpTag
名称 | 说明 | 值 |
---|---|---|
ipTagType | IP 标记类型。 示例:FirstPartyUsage。 | 字符串 |
标记 | 与公共 IP 关联的 IP 标记的值。 示例:SQL。 | 字符串 |
NatGateway
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | Nat 网关属性。 | NatGatewayPropertiesFormat |
sku | nat 网关 SKU。 | NatGatewaySku |
标记 | 资源标记。 | 对象 |
zones | 指示应在其中部署 Nat 网关的区域的可用性区域列表。 | string[] |
NatGatewayPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
idleTimeoutInMinutes | nat 网关的空闲超时。 | int |
publicIpAddresses | 与 nat 网关资源关联的公共 IP 地址数组。 | SubResource[] |
publicIpPrefixes | 与 nat 网关资源关联的公共 IP 前缀数组。 | SubResource[] |
NatGatewaySku
名称 | 说明 | 值 |
---|---|---|
name | Nat 网关 SKU 的名称。 | “标准” |
PublicIPAddressSku
名称 | 说明 | 值 |
---|---|---|
name | 公共 IP 地址 SKU 的名称。 | "Basic" “标准” |
层 | 公共 IP 地址 SKU 的层。 | “Global” “区域” |
子网
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 子网的属性。 | SubnetPropertiesFormat |
type | 资源类型。 | 字符串 |
SubnetPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
addressPrefix | 子网的地址前缀。 | 字符串 |
addressPrefixes | 子网的地址前缀列表。 | string[] |
applicationGatewayIpConfigurations | 虚拟网络资源的应用程序网关 IP 配置。 | ApplicationGatewayIPConfiguration[] |
代表团 | 对子网上的委派的引用数组。 | 委派[] |
ipAllocations | 引用此子网的 IpAllocation 数组。 | SubResource[] |
natGateway | 与此子网关联的 Nat 网关。 | SubResource |
networkSecurityGroup | 对 NetworkSecurityGroup 资源的引用。 | NetworkSecurityGroup |
privateEndpointNetworkPolicies | 在子网中的专用终结点上启用或禁用应用网络策略。 | “Disabled” “已启用” |
privateLinkServiceNetworkPolicies | 启用或禁用对子网中的专用链接服务应用网络策略。 | “Disabled” “已启用” |
routeTable | 对 RouteTable 资源的引用。 | RouteTable |
serviceEndpointPolicies | 服务终结点策略的数组。 | ServiceEndpointPolicy[] |
serviceEndpoints | 服务终结点的数组。 | ServiceEndpointPropertiesFormat[] |
ApplicationGatewayIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 应用程序网关中唯一的 IP 配置的名称。 | string |
properties | 应用程序网关 IP 配置的属性。 | ApplicationGatewayIPConfigurationPropertiesFormat |
ApplicationGatewayIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
子网 | 对子网资源的引用。 应用程序网关从中获取其专用地址的子网。 | SubResource |
委托
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 子网中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 子网的属性。 | ServiceDelegationPropertiesFormat |
type | 资源类型。 | 字符串 |
ServiceDelegationPropertiesFormat
名称 | 说明 | Value |
---|---|---|
serviceName | 子网应委托给的服务的名称 (例如Microsoft。sql/servers) 。 | 字符串 |
NetworkSecurityGroup
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 网络安全组的属性。 | NetworkSecurityGroupPropertiesFormat |
标记 | 资源标记。 | 对象 |
NetworkSecurityGroupPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
flushConnection | 启用后,将在规则更新时重新评估从网络安全组连接创建的流。 初始启用将触发重新评估。 | bool |
securityRules | 网络安全组的安全规则集合。 | SecurityRule[] |
SecurityRule
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 安全规则的属性。 | SecurityRulePropertiesFormat |
type | 资源类型。 | 字符串 |
SecurityRulePropertiesFormat
名称 | 说明 | Value |
---|---|---|
access | 允许或拒绝网络流量。 | “允许” 需要“拒绝” () |
description | 此规则的说明。 限制为 140 个字符。 | 字符串 |
destinationAddressPrefix | 目标地址前缀。 CIDR 或目标 IP 范围。 也可以使用星号“*”来匹配所有源 IP。 也可以使用“VirtualNetwork”、“AzureLoadBalancer”和“Internet”等默认标记。 | 字符串 |
destinationAddressPrefixes | 目标地址前缀。 CIDR 或目标 IP 范围。 | string[] |
destinationApplicationSecurityGroups | 指定为目标的应用程序安全组。 | ApplicationSecurityGroup[] |
destinationPortRange | 目标端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
destinationPortRanges | 目标端口范围。 | string[] |
direction | 规则的方向。 direction 指定是要针对传入流量还是传出流量评估该规则。 | “入站” “出站” (必需) |
priority | 规则的优先级。 该值可以介于 100 和 4096 之间。 集合中每个规则的优先级编号必须是唯一的。 优先级编号越低,规则优先级越高。 | int |
协议 | 此规则应用到的网络协议。 | "*" “啊” “Esp” “Icmp” “Tcp” 需要“Udp” () |
sourceAddressPrefix | CIDR 或源 IP 范围。 也可以使用星号“*”来匹配所有源 IP。 也可以使用默认标记,例如“VirtualNetwork”、“AzureLoadBalancer”和“Internet”。 如果这是入口规则,则指定网络流量的来源。 | 字符串 |
sourceAddressPrefixes | CIDR 或源 IP 范围。 | string[] |
sourceApplicationSecurityGroups | 指定为源的应用程序安全组。 | ApplicationSecurityGroup[] |
sourcePortRange | 源端口或范围。 介于 0 和 65535 之间的整数或范围。 星号“*”也可用于匹配所有端口。 | 字符串 |
sourcePortRanges | 源端口范围。 | string[] |
RouteTable
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 路由表的属性。 | RouteTablePropertiesFormat |
标记 | 资源标记。 | 对象 |
RouteTablePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
disableBgpRoutePropagation | 是否禁用 BGP 在该路由表上获知的路由。 True 表示禁用。 | bool |
routes | 路由表中包含的路由的集合。 | Route[] |
路由
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 路由的属性。 | RoutePropertiesFormat |
type | 资源类型。 | 字符串 |
RoutePropertiesFormat
名称 | 说明 | 值 |
---|---|---|
addressPrefix | 应用路由的目标 CIDR。 | 字符串 |
hasBgpOverride | 一个 值,该值指示此路由是否替代重叠的 BGP 路由,而不考虑 LPM。 | bool |
nextHopIpAddress | IP 地址数据包应转发到。 下一跃点值仅在下一跃点类型为 VirtualAppliance 的路由中被允许。 | 字符串 |
nextHopType | 数据包应发送到的 Azure 跃点的类型。 | “Internet” "None" “VirtualAppliance” “VirtualNetworkGateway” “VnetLocal” (必需) |
ServiceEndpointPolicy
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 服务终结点策略的属性。 | ServiceEndpointPolicyPropertiesFormat |
标记 | 资源标记。 | 对象 |
ServiceEndpointPolicyPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
contextualServiceEndpointPolicies | 上下文服务终结点策略的集合。 | string[] |
serviceAlias | 指示策略是否属于某个服务的别名 | 字符串 |
serviceEndpointPolicyDefinitions | 服务终结点策略的服务终结点策略定义的集合。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 资源组中唯一的资源的名称。 此名称可用于访问资源。 | string |
properties | 服务终结点策略定义的属性。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
type | 资源类型。 | 字符串 |
ServiceEndpointPolicyDefinitionPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
description | 此规则的说明。 限制为 140 个字符。 | 字符串 |
服务 | 服务终结点名称。 | 字符串 |
serviceResources | 服务资源的列表。 | string[] |
ServiceEndpointPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
locations | 位置列表。 | string[] |
服务 | 终结点服务的类型。 | 字符串 |
VirtualNetworkTap
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 虚拟网络点击“属性”。 | VirtualNetworkTapPropertiesFormat |
标记 | 资源标记。 | 对象 |
VirtualNetworkTapPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
destinationLoadBalancerFrontEndIPConfiguration | 对将接收点击的内部负载均衡器上的专用 IP 地址的引用。 | FrontendIPConfiguration |
destinationNetworkInterfaceIPConfiguration | 对将接收点击的收集器 nic 的专用 IP 地址的引用。 | NetworkInterfaceIPConfiguration |
destinationPort | 将接收已点击流量的 VXLAN 目标端口。 | int |
FrontendIPConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 负载均衡器使用的前端 IP 配置集中唯一的资源名称。 此名称可用于访问资源。 | string |
properties | 负载均衡器探测的属性。 | FrontendIPConfigurationPropertiesFormat |
zones | 一个可用性区域列表,指示为资源分配的 IP 需要来自。 | string[] |
FrontendIPConfigurationPropertiesFormat
名称 | 说明 | 值 |
---|---|---|
gatewayLoadBalancer | 对网关负载均衡器前端 IP 的引用。 | SubResource |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 ip 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 分配方法。 | “动态” “Static” |
publicIPAddress | 对公共 IP 资源的引用。 | PublicIPAddress |
publicIPPrefix | 对公共 IP 前缀资源的引用。 | SubResource |
子网 | 对子网资源的引用。 | 子网 |
PrivateLinkService
名称 | 说明 | 值 |
---|---|---|
extendedLocation | 负载均衡器的扩展位置。 | ExtendedLocation |
id | 资源 ID。 | 字符串 |
location | 资源位置。 | string |
properties | 专用链接服务的属性。 | PrivateLinkServiceProperties |
标记 | 资源标记。 | 对象 |
PrivateLinkServiceProperties
名称 | 说明 | 值 |
---|---|---|
autoApproval | 专用链接服务的自动审批列表。 | PrivateLinkServicePropertiesAutoApproval |
enableProxyProtocol | 是否为代理协议启用了专用链接服务。 | bool |
fqdns | Fqdn 的列表。 | string[] |
ipConfigurations | 专用链接服务 IP 配置的数组。 | PrivateLinkServiceIpConfiguration[] |
loadBalancerFrontendIpConfigurations | 对负载均衡器 IP 配置的引用数组。 | FrontendIPConfiguration[] |
可见性 | 专用链接服务的可见性列表。 | PrivateLinkServicePropertiesVisibility |
PrivateLinkServicePropertiesAutoApproval
名称 | 说明 | 值 |
---|---|---|
subscriptions | 订阅列表。 | string[] |
PrivateLinkServiceIpConfiguration
名称 | 说明 | Value |
---|---|---|
id | 资源 ID。 | 字符串 |
name | 专用链接服务 IP 配置的名称。 | string |
properties | 专用链接服务 IP 配置的属性。 | PrivateLinkServiceIpConfigurationProperties |
PrivateLinkServiceIpConfigurationProperties
名称 | 说明 | 值 |
---|---|---|
角色实体 | IP 配置是否为主。 | bool |
privateIPAddress | IP 配置的专用 IP 地址。 | 字符串 |
privateIPAddressVersion | 特定 IP 配置是 IPv4 还是 IPv6。 默认值为 IPv4。 | “IPv4” “IPv6” |
privateIPAllocationMethod | 专用 IP 地址分配方法。 | “动态” “Static” |
子网 | 对子网资源的引用。 | 子网 |
PrivateLinkServicePropertiesVisibility
名称 | 说明 | 值 |
---|---|---|
subscriptions | 订阅列表。 | string[] |