Microsoft.Network loadBalancers

Bicep リソース定義

loadBalancers リソースの種類は、次をターゲットとする操作と共にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Network/loadBalancers リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.Network/loadBalancers@2023-04-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
    tier: 'string'
  }
  extendedLocation: {
    name: 'string'
    type: 'EdgeZone'
  }
  properties: {
    backendAddressPools: [
      {
        id: 'string'
        name: 'string'
        properties: {
          drainPeriodInSeconds: int
          loadBalancerBackendAddresses: [
            {
              name: 'string'
              properties: {
                adminState: 'string'
                ipAddress: 'string'
                loadBalancerFrontendIPConfiguration: {
                  id: 'string'
                }
                subnet: {
                  id: 'string'
                }
                virtualNetwork: {
                  id: 'string'
                }
              }
            }
          ]
          location: 'string'
          syncMode: 'string'
          tunnelInterfaces: [
            {
              identifier: int
              port: int
              protocol: 'string'
              type: 'string'
            }
          ]
          virtualNetwork: {
            id: 'string'
          }
        }
      }
    ]
    frontendIPConfigurations: [
      {
        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'
                domainNameLabelScope: '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'
        ]
      }
    ]
    inboundNatPools: [
      {
        id: 'string'
        name: 'string'
        properties: {
          backendPort: int
          enableFloatingIP: bool
          enableTcpReset: bool
          frontendIPConfiguration: {
            id: 'string'
          }
          frontendPortRangeEnd: int
          frontendPortRangeStart: int
          idleTimeoutInMinutes: int
          protocol: 'string'
        }
      }
    ]
    inboundNatRules: [
      {
        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'
        }
      }
    ]
    loadBalancingRules: [
      {
        id: 'string'
        name: 'string'
        properties: {
          backendAddressPool: {
            id: 'string'
          }
          backendAddressPools: [
            {
              id: 'string'
            }
          ]
          backendPort: int
          disableOutboundSnat: bool
          enableFloatingIP: bool
          enableTcpReset: bool
          frontendIPConfiguration: {
            id: 'string'
          }
          frontendPort: int
          idleTimeoutInMinutes: int
          loadDistribution: 'string'
          probe: {
            id: 'string'
          }
          protocol: 'string'
        }
      }
    ]
    outboundRules: [
      {
        id: 'string'
        name: 'string'
        properties: {
          allocatedOutboundPorts: int
          backendAddressPool: {
            id: 'string'
          }
          enableTcpReset: bool
          frontendIPConfigurations: [
            {
              id: 'string'
            }
          ]
          idleTimeoutInMinutes: int
          protocol: 'string'
        }
      }
    ]
    probes: [
      {
        id: 'string'
        name: 'string'
        properties: {
          intervalInSeconds: int
          numberOfProbes: int
          port: int
          probeThreshold: int
          protocol: 'string'
          requestPath: 'string'
        }
      }
    ]
  }
}

プロパティ値

loadBalancers

名前 説明
name リソース名 string (必須)

文字制限: 1 から 80

有効な文字:
英数字、アンダースコア、ピリオド、およびハイフン。

英数字で開始します。 英数字またはアンダースコアで終了します。
location リソースの場所。 string
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
sku ロード バランサー SKU。 LoadBalancerSku
extendedLocation ロード バランサーの拡張された場所。 ExtendedLocation
properties ロード バランサーのプロパティ。 LoadBalancerPropertiesFormat

ExtendedLocation

名前 説明
name 拡張場所の名前。 string
type 拡張場所の型。 'EdgeZone'

LoadBalancerPropertiesFormat

名前 説明
backendAddressPools ロード バランサーによって使用されるバックエンド アドレス プールのコレクション。 BackendAddressPool[]
frontendIPConfigurations ロード バランサーに使用するフロントエンド IP を表す オブジェクト。 FrontendIPConfiguration[]
inboundNatPools ロード バランサーに関連付けられている NIC 上の 1 つのバックエンド ポートへの受信 NAT の外部ポート範囲を定義します。 受信 NAT 規則は、この範囲の外部ポートを使用して、Load Balancerに関連付けられている各 NIC に対して自動的に作成されます。 Load Balancerでのインバウンド NAT プールの定義は、インバウンド NAT 規則の定義と相互に排他的です。 受信 NAT プールは、仮想マシン スケール セットから参照されます。 個々の仮想マシンに関連付けられている NIC は、受信 NAT プールを参照できません。 個々の受信 NAT 規則を参照する必要があります。 InboundNatPool[]
inboundNatRules ロード バランサーによって使用される受信 NAT 規則のコレクション。 ロード バランサーで受信 NAT 規則を定義することは、受信 NAT プールの定義と相互に排他的です。 受信 NAT プールは、仮想マシン スケール セットから参照されます。 個々の仮想マシンに関連付けられている NIC は、受信 NAT プールを参照できません。 個々の受信 NAT 規則を参照する必要があります。 InboundNatRule[]
loadBalancingRules 負荷分散規則を表すオブジェクト コレクション プロビジョニングを取得します。 LoadBalancingRule[]
outboundRules 送信規則。 OutboundRule[]
probes ロード バランサーで使用されるプローブ オブジェクトのコレクション。 Probe[]

BackendAddressPool

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるバックエンド アドレス プールのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー バックエンド アドレス プールのプロパティ。 BackendAddressPoolPropertiesFormat

BackendAddressPoolPropertiesFormat

名前 説明
drainPeriodInSeconds クライアントアドレスとバックエンドアドレスに RESET を送信するまでに待機するLoad Balancer秒数。 INT
loadBalancerBackendAddresses バックエンド アドレスの配列。 LoadBalancerBackendAddress[]
location バックエンド アドレス プールの場所。 string
syncMode バックエンド プールのバックエンド アドレス同期モード 'Automatic'
'Manual'
tunnelInterfaces ゲートウェイ ロード バランサー トンネル インターフェイスの配列。 GatewayLoadBalancerTunnelInterface[]
virtualNetwork 仮想ネットワークへの参照。 サブリソース

LoadBalancerBackendAddress

名前 説明
name バックエンド アドレスの名前。 string
properties ロード バランサー バックエンド アドレス プールのプロパティ。 LoadBalancerBackendAddressPropertiesFormat

LoadBalancerBackendAddressPropertiesFormat

名前 説明
adminState 一度設定した管理状態の一覧は、正常性プローブをオーバーライドして、Load Balancerが常に新しい接続をバックエンドに転送したり、新しい接続を拒否したり、既存の接続をリセットしたりできます。 'Down'
'None'
'Up'
ipAddress 参照されている仮想ネットワークに属する IP アドレス。 string
loadBalancerFrontendIPConfiguration リージョンのロードバランサーで定義されているフロントエンド IP アドレス構成への参照。 サブリソース
サブネット 既存のサブネットへの参照。 サブリソース
virtualNetwork 既存の仮想ネットワークへの参照。 サブリソース

サブリソース

名前 説明
id リソースの ID string

GatewayLoadBalancerTunnelInterface

名前 説明
identifier ゲートウェイ ロード バランサー トンネル インターフェイスの識別子。 INT
port ゲートウェイ ロード バランサー トンネル インターフェイスのポート。 INT
protocol ゲートウェイ ロード バランサー トンネル インターフェイスのプロトコル。 'Native'
'None'
'VXLAN'
ゲートウェイ ロード バランサー トンネル インターフェイスのトラフィックの種類。 'External'
'Internal'
'None'

FrontendIPConfiguration

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるフロントエンド IP 構成のセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー プローブのプロパティ。 FrontendIPConfigurationPropertiesFormat
ゾーン リソースに割り当てられた IP を示す可用性ゾーンの一覧は、 から取得する必要があります。 string[]

FrontendIPConfigurationPropertiesFormat

名前 説明
gatewayLoadBalancer ゲートウェイ ロード バランサーフロントエンド IP への参照。 サブリソース
privateIPAddress IP 構成のプライベート IP アドレス。 string
privateIPAddressVersion 特定の ipconfiguration が IPv4 か IPv6 かを指定します。 既定値は IPv4 と見なされます。 'IPv4'
'IPv6'
privateIPAllocationMethod プライベート IP 割り当て方法。 'Dynamic'
'Static'
publicIPAddress パブリック IP リソースへの参照。 PublicIPAddress
publicIPPrefix パブリック IP プレフィックス リソースへの参照。 サブリソース
サブネット サブネット リソースへの参照。 サブネット

PublicIPAddress

名前 説明
extendedLocation パブリック IP アドレスの拡張された場所。 ExtendedLocation
id リソースの ID string
location リソースの場所。 string
properties パブリック IP アドレスのプロパティ。 PublicIPAddressPropertiesFormat
sku パブリック IP アドレス SKU。 PublicIPAddressSku
tags リソース タグ。 object
ゾーン リソースに割り当てられた IP を示す可用性ゾーンの一覧は、 から取得する必要があります。 string[]

PublicIPAddressPropertiesFormat

名前 説明
ddosSettings パブリック IP アドレスに関連付けられている DDoS 保護カスタム ポリシー。 DdosSettings
deleteOption パブリック IP アドレスを使用している VM が削除された場合の動作を指定する 'Delete'
'デタッチ'
dnsSettings パブリック IP アドレスに関連付けられている DNS レコードの FQDN。 PublicIPAddressDnsSettings
idleTimeoutInMinutes パブリック IP アドレスのアイドル タイムアウト。 INT
ipAddress パブリック IP アドレス リソースに関連付けられている IP アドレス。 string
ipTags パブリック IP アドレスに関連付けられているタグの一覧。 IpTag[]
linkedPublicIPAddress パブリック IP アドレス リソースのリンクされたパブリック IP アドレス。 PublicIPAddress
migrationPhase パブリック IP アドレスの移行フェーズ。 'Abort'
'Commit'
'Committed'
'None'
'準備'
natGateway パブリック IP アドレスの NatGateway。 NatGateway
publicIPAddressVersion パブリック IP アドレスのバージョン。 'IPv4'
'IPv6'
publicIPAllocationMethod パブリック IP アドレスの割り当て方法。 'Dynamic'
'Static'
publicIPPrefix このパブリック IP アドレスを割り当てる必要があるパブリック IP プレフィックス。 サブリソース
servicePublicIPAddress パブリック IP アドレス リソースのサービス パブリック IP アドレス。 PublicIPAddress

DdosSettings

名前 説明
ddosProtectionPlan パブリック IP に関連付けられている DDoS 保護プラン。 ProtectionMode が有効な場合にのみ設定できます サブリソース
protectionMode パブリック IP の DDoS 保護モード 'Disabled'
'Enabled'
'VirtualNetworkInherited'

PublicIPAddressDnsSettings

名前 説明
domainNameLabel ドメイン名ラベル。 ドメイン名ラベルと地域の DNS ゾーンを連結して、パブリック IP アドレスに関連付けられている完全修飾ドメイン名を構成します。 ドメイン名ラベルを指定した場合、Microsoft Azure DNS システム内のパブリック IP に対して DNS レコードが作成されます。 string
domainNameLabelScope ドメイン名ラベルスコープ。 ドメイン名ラベルとドメイン名ラベルスコープが指定されている場合、MICROSOFT Azure DNS システムのパブリック IP に対して DNS レコードが作成され、ハッシュ値が FQDN に含まれます。 'NoReuse'
'ResourceGroupReuse'
'SubscriptionReuse'
'TenantReuse'
fqdn パブリック IP に関連付けられている A DNS レコードの完全修飾ドメイン名。 これは、domainNameLabel と地域化された DNS ゾーンの連結です。 string
reverseFqdn 逆 FQDN。 このパブリック IP アドレスに解決される、ユーザーに表示される完全修飾ドメイン名。 reverseFqdn を指定した場合、in-addr.arpa ドメイン内の IP アドレスから逆方向 FQDN を指す PTR DNS レコードが作成されます。 string

IpTag

名前 説明
ipTagType IP タグの種類。 例: FirstPartyUsage。 string
タグ パブリック IP に関連付けられている IP タグの値。 例: SQL。 string

NatGateway

名前 説明
id リソースの ID string
location リソースの場所。 string
properties Nat Gateway のプロパティ。 NatGatewayPropertiesFormat
sku nat ゲートウェイ SKU。 NatGatewaySku
tags リソース タグ。 object
ゾーン Nat Gateway をデプロイする必要があるゾーンを示す可用性ゾーンの一覧。 string[]

NatGatewayPropertiesFormat

名前 説明
idleTimeoutInMinutes nat ゲートウェイのアイドル タイムアウト。 INT
publicIpAddresses nat ゲートウェイ リソースに関連付けられているパブリック IP アドレスの配列。 SubResource[]
publicIpPrefixes nat ゲートウェイ リソースに関連付けられているパブリック IP プレフィックスの配列。 SubResource[]

NatGatewaySku

名前 説明
name Nat Gateway SKU の名前。 'Standard'

PublicIPAddressSku

名前 説明
name パブリック IP アドレス SKU の名前。 'Basic'
'Standard'
レベル パブリック IP アドレス SKU の層。 'Global'
'Regional'

Subnet

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サブネットのプロパティ。 SubnetPropertiesFormat
リソースの種類。 string

SubnetPropertiesFormat

名前 説明
addressPrefix サブネットのアドレス プレフィックス。 string
addressPrefixes サブネットのアドレス プレフィックスの一覧。 string[]
applicationGatewayIPConfigurations 仮想ネットワーク リソースのアプリケーション ゲートウェイ IP 構成。 ApplicationGatewayIPConfiguration[]
代表 団 サブネット上の委任への参照の配列。 Delegation[]
ipAllocations このサブネットを参照する IpAllocation の配列。 SubResource[]
natGateway このサブネットに関連付けられている Nat ゲートウェイ。 サブリソース
networkSecurityGroup NetworkSecurityGroup リソースへの参照。 NetworkSecurityGroup
privateEndpointNetworkPolicies サブネット内のプライベート エンドポイントにネットワーク ポリシーを適用するを有効または無効にします。 'Disabled'
'Enabled'
privateLinkServiceNetworkPolicies サブネット内のプライベート リンク サービスに対するネットワーク ポリシーの適用を有効または無効にします。 'Disabled'
'Enabled'
routeTable RouteTable リソースへの参照。 RouteTable
serviceEndpointPolicies サービス エンドポイント ポリシーの配列。 ServiceEndpointPolicy[]
serviceEndpoints サービス エンドポイントの配列。 ServiceEndpointPropertiesFormat[]

ApplicationGatewayIPConfiguration

名前 説明
id リソースの ID string
name Application Gateway内で一意である IP 構成の名前。 string
properties アプリケーション ゲートウェイ IP 構成のプロパティ。 ApplicationGatewayIPConfigurationPropertiesFormat

ApplicationGatewayIPConfigurationPropertiesFormat

名前 説明
サブネット サブネット リソースへの参照。 アプリケーション ゲートウェイがプライベート アドレスを取得するサブネット。 サブリソース

委任

名前 説明
id リソースの ID string
name サブネット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サブネットのプロパティ。 ServiceDelegationPropertiesFormat
リソースの種類。 string

ServiceDelegationPropertiesFormat

名前 説明
serviceName サブネットを委任する必要があるサービスの名前 (Microsoft.Sql/servers など)。 string

NetworkSecurityGroup

名前 説明
id リソースの ID string
location リソースの場所。 string
properties ネットワーク セキュリティ グループのプロパティ。 NetworkSecurityGroupPropertiesFormat
tags リソース タグ。 object

NetworkSecurityGroupPropertiesFormat

名前 説明
flushConnection 有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化によって再評価がトリガーされます。 [bool]
securityRules ネットワーク セキュリティ グループのセキュリティ規則のコレクション。 SecurityRule[]

SecurityRule

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties セキュリティ規則のプロパティ。 SecurityRulePropertiesFormat
リソースの型。 string

SecurityRulePropertiesFormat

名前 説明
access ネットワーク トラフィックは許可または拒否されます。 'Allow'
'Deny' (必須)
description この規則の説明。 140 文字に制限されています。 string
destinationAddressPrefix 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 string
destinationAddressPrefixes 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 string[]
destinationApplicationSecurityGroups 宛先として指定されたアプリケーション セキュリティ グループ。 ApplicationSecurityGroup[]
destinationPortRange 宛先ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 string
destinationPortRanges 宛先ポート範囲。 string[]
方向 ルールの方向。 この方向は、ルールの評価が受信または送信トラフィックのどちらで行われるかを指定します。 'Inbound'
'Outbound' (必須)
priority ルールの優先度。 値は 100 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 int (必須)
protocol この規則が適用されるネットワーク プロトコル。 '*'
'Ah'
'Esp'
'Icmp'
'Tcp'
'Udp' (必須)
sourceAddressPrefix CIDR またはソース IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 これがイングレス ルールの場合は、ネットワーク トラフィックの発信元を指定します。 string
sourceAddressPrefixes CIDR またはソース IP 範囲。 string[]
sourceApplicationSecurityGroups ソースとして指定されたアプリケーション セキュリティ グループ。 ApplicationSecurityGroup[]
sourcePortRange ソース ポートまたは範囲。 整数または 0 ~ 65535 の範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 string
sourcePortRanges ソース ポートの範囲。 string[]

ApplicationSecurityGroup

名前 説明
id リソースの ID string
location リソースの場所。 string
properties アプリケーション セキュリティ グループのプロパティ。 ApplicationSecurityGroupPropertiesFormat
tags リソース タグ。 object

ApplicationSecurityGroupPropertiesFormat

このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。

RouteTable

名前 説明
id リソースの ID string
location リソースの場所。 string
properties ルート テーブルのプロパティ。 RouteTablePropertiesFormat
tags リソース タグ。 object

RouteTablePropertiesFormat

名前 説明
disableBgpRoutePropagation そのルート テーブルで BGP によって学習されたルートを無効にするかどうか。 True は無効を意味します。 [bool]
ルート ルート テーブル内に含まれるルートのコレクション。 Route[]

ルート

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ルートのプロパティ。 RoutePropertiesFormat
リソースの型。 string

RoutePropertiesFormat

名前 説明
addressPrefix ルートが適用される宛先 CIDR。 string
hasBgpOverride LPM に関係なく、このルートが重複する BGP ルートをオーバーライドするかどうかを示す値。 [bool]
nextHopIpAddress IP アドレス パケットは に転送する必要があります。 次ホップの値は、次ホップの種類が VirtualAppliance であるルートでのみ許可されます。 string
nextHopType パケットの送信先となる Azure ホップの種類。 'Internet'
'None'
'VirtualAppliance'
'VirtualNetworkGateway'
'VnetLocal' (必須)

ServiceEndpointPolicy

名前 説明
id リソースの ID string
location リソースの場所。 string
properties サービス エンドポイント ポリシーのプロパティ。 ServiceEndpointPolicyPropertiesFormat
tags リソース タグ。 object

ServiceEndpointPolicyPropertiesFormat

名前 説明
contextualServiceEndpointPolicies コンテキスト サービス エンドポイント ポリシーのコレクション。 string[]
serviceAlias ポリシーがサービスに属しているかどうかを示すエイリアス string
serviceEndpointPolicyDefinitions サービス エンドポイント ポリシーのサービス エンドポイント ポリシー定義のコレクション。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPolicyDefinition

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サービス エンドポイント ポリシー定義のプロパティ。 ServiceEndpointPolicyDefinitionPropertiesFormat
リソースの型。 string

ServiceEndpointPolicyDefinitionPropertiesFormat

名前 説明
description この規則の説明。 140 文字に制限されています。 string
サービス (service) サービス エンドポイント名。 string
serviceResources サービス リソースの一覧。 string[]

ServiceEndpointPropertiesFormat

名前 説明
locations 場所の一覧。 string[]
サービス (service) エンドポイント サービスの種類。 string

InboundNatPool

名前 説明
id リソースの ID string
name ロード バランサーによって使用される受信 NAT プールのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの受信 nat プールのプロパティ。 InboundNatPoolPropertiesFormat

InboundNatPoolPropertiesFormat

名前 説明
backendPort エンドポイント上の内部接続に使用されるポート。 使用できる値は 1 ~ 65535 です。 int (必須)
enableFloatingIP SQL AlwaysOn 可用性グループの構成に必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 この設定は、エンドポイントを作成した後は変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPortRangeEnd ロード バランサーに関連付けられている NIC に受信 Nat を提供するために使用される外部ポートの範囲内の最後のポート番号。 使用できる値の範囲は 1 ~ 65535 です。 int (必須)
frontendPortRangeStart ロード バランサーに関連付けられている NIC に受信 Nat を提供するために使用される外部ポートの範囲内の最初のポート番号。 使用できる値の範囲は 1 ~ 65534 です。 int (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
protocol 受信 NAT プールによって使用されるトランスポート プロトコルへの参照。 'All'
'Tcp'
'Udp' (必須)

InboundNatRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される受信 NAT 規則のセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの受信 NAT 規則のプロパティ。 InboundNatRulePropertiesFormat

InboundNatRulePropertiesFormat

名前 説明
backendAddressPool backendAddressPool リソースへの参照。 サブリソース
backendPort 内部エンドポイントで使用されるポート。 使用できる値の範囲は 1 ~ 65535 です。 INT
enableFloatingIP SQL AlwaysOn 可用性グループの構成に必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 この設定は、エンドポイントを作成した後は変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPort 外部エンドポイントのポートです。 各ルールのポート番号は、Load Balancer内で一意である必要があります。 使用できる値の範囲は 1 ~ 65534 です。 INT
frontendPortRangeEnd 外部エンドポイントのポート範囲の終了。 このプロパティは、BackendAddressPool および FrontendPortRangeStart と共に使用されます。 BackendAddressPool からのバックエンド アドレスごとに、個々の受信 NAT 規則ポート マッピングが作成されます。 使用できる値の範囲は 1 ~ 65534 です。 INT
frontendPortRangeStart 外部エンドポイントのポート範囲が開始されます。 このプロパティは、BackendAddressPool および FrontendPortRangeEnd と共に使用されます。 BackendAddressPool からのバックエンド アドレスごとに、個々の受信 NAT 規則ポート マッピングが作成されます。 使用できる値の範囲は 1 ~ 65534 です。 INT
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
protocol 負荷分散規則で使用されるトランスポート プロトコルへの参照。 'All'
'Tcp'
'Udp'

LoadBalancingRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される負荷分散規則のセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの負荷分散規則のプロパティ。 LoadBalancingRulePropertiesFormat

LoadBalancingRulePropertiesFormat

名前 説明
backendAddressPool DIP のプールへの参照。 受信トラフィックは、バックエンド IP 内の IP 間でランダムに負荷分散されます。 サブリソース
backendAddressPools DIP のプールへの参照の配列。 SubResource[]
backendPort エンドポイント上の内部接続に使用されるポート。 許容される値は 0 ~ 65535 です。 値 0 では "任意のポート" が有効になります。 INT
disableOutboundSnat 負荷分散規則のフロントエンドで指定されたパブリック IP アドレスを使用するように、バックエンド プール内の VM の SNAT を構成します。 [bool]
enableFloatingIP SQL AlwaysOn 可用性グループを構成するために必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 エンドポイントを作成した後は、この設定を変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPort 外部エンドポイントのポートです。 各規則のポート番号は、Load Balancer内で一意である必要があります。 許容される値は 0 ~ 65534 です。 値 0 では "任意のポート" が有効になります。 int (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
loadDistribution このルールの負荷分散ポリシー。 'Default'
'SourceIP'
'SourceIPProtocol'
プローブ 負荷分散規則によって使用されるロード バランサー プローブへの参照。 サブリソース
protocol 負荷分散規則で使用されるトランスポート プロトコルへの参照。 'All'
'Tcp'
'Udp' (必須)

OutboundRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される送信規則のセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの送信規則のプロパティ。 OutboundRulePropertiesFormat

OutboundRulePropertiesFormat

名前 説明
allocatedOutboundPorts NAT に使用する送信ポートの数。 INT
backendAddressPool DIP のプールへの参照。 送信トラフィックは、バックエンド IP 内の IP 間でランダムに負荷分散されます。 SubResource (必須)
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfigurations ロード バランサーのフロントエンド IP アドレス。 SubResource[] (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 INT
protocol ロード バランサーの送信規則のプロトコル。 'All'
'Tcp'
'Udp' (必須)

プローブ

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるプローブのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー プローブのプロパティ。 ProbePropertiesFormat

ProbePropertiesFormat

名前 説明
intervalInSeconds どのぐらいの頻度でエンドポイントに正常性状態をプローブするかを表す間隔 (秒)。 この間隔は、割り当てられているタイムアウト期間 (秒) の 1/2 よりもわずかに短くするのが一般的です。そうすることで、2 回のプローブを完全に実施したうえで、インスタンスをローテーションから除外することができます。 既定値は 15、最小値は 5 です。 INT
numberOfProbes 応答がない場合、エンドポイントへのそれ以上のトラフィックの配信を停止するプローブの数。 この値を使用すると、エンドポイントを Azure で使用される一般的な時間よりも速く、または低速にローテーションから外すことができます。 INT
port プローブ通信用ポート。 指定できる値は 1 以上 65535 以下です。 int (必須)
probeThreshold このエンドポイントへのトラフィックの配信を許可または拒否するための、連続した成功または失敗したプローブの数。 この値と等しい連続するプローブの数に失敗すると、エンドポイントはローテーションから取り出され、同じ数の正常な連続プローブをローテーションに戻す必要があります。 INT
protocol エンドポイントのプロトコル。 'Tcp' が指定されている場合、プローブを正常に実行するには、受信した ACK が必要です。 'Http' または 'Https' が指定されている場合、プローブを成功させるには、 からの 200 OK 応答が URI を指定する必要があります。 'Http'
'Https'
'Tcp' (必須)
requestPath VM の正常性状態を要求する目的で使用される URI。 プロトコルが http に設定されている場合は、パスが必要です。 それ以外の場合は、許可されません。 既定値はありません。 string

LoadBalancerSku

名前 説明
name ロード バランサー SKU の名前。 'Basic'
'Gateway'
'Standard'
レベル ロード バランサー SKU の層。 'Global'
'Regional'

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
ゲートウェイ Load Balancerにチェーンされたパブリック Load Balancer

Azure にデプロイする
このテンプレートを使用すると、ゲートウェイ Load Balancerにチェーンされたパブリック Standard Load Balancerをデプロイできます。 インターネットから受信したトラフィックは、バックエンド プール内の Linux VM (NVA) を使用してゲートウェイ Load Balancerにルーティングされます。
複数の NIC と RDP アクセス可能な VM を作成する

Azure にデプロイする
このテンプレートを使用すると、複数の (2) ネットワーク インターフェイス (NIC) を使用してVirtual Machinesを作成し、構成されたロード バランサーと受信 NAT 規則を使用して RDP 接続できます。 このテンプレートを使用すると、より多くの NIC を簡単に追加できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、2 つのネットワーク インターフェイス (フロントエンドとバックエンド) もデプロイされます。
VNET 内の 2 つの VM - 内部Load Balancerおよび LB 規則

Azure にデプロイする
このテンプレートを使用すると、VNET と内部ロード バランサーの下に 2 つのVirtual Machinesを作成し、ポート 80 で負荷分散規則を構成できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、可用性セット、ネットワーク インターフェイスもデプロイされます。
ロード バランサー内の 2 台の VM と負荷分散規則

Azure にデプロイする
このテンプレートを使用すると、ロード バランサーの下に 2 つのVirtual Machinesを作成し、ポート 80 で負荷分散規則を構成できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、可用性セット、ネットワーク インターフェイスもデプロイされます。 このテンプレートでは、リソース ループ機能を使用して、ネットワーク インターフェイスと仮想マシンを作成します
Load Balancer内の 2 つの VM と LB の NAT 規則の構成

Azure にデプロイする
このテンプレートを使用すると、可用性セットに 2 つのVirtual Machinesを作成し、ロード バランサーを使用して NAT 規則を構成できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、ネットワーク インターフェイスもデプロイされます。 このテンプレートでは、リソース ループ機能を使用して、ネットワーク インターフェイスと仮想マシンを作成します
ILB の背後に Linux VM を使用して VM スケール セットをデプロイする

Azure にデプロイする
このテンプレートを使用すると、修正プログラムが適用された最新バージョンの Ubuntu Linux 15.10 または 14.04.4-LTS を使用して、Linux VM の VM スケール セットをデプロイできます。 これらの VM は、SSH 接続の NAT 規則を持つ内部ロード バランサーの背後にあります。
VNetInjection および Load Balancer 用 AzureDatabricks テンプレート

Azure にデプロイする
このテンプレートを使用すると、ロード バランサー、ネットワーク セキュリティ グループ、仮想ネットワーク、および仮想ネットワークを含む Azure Databricks ワークスペースを作成できます。
標準の内部ロード バランサーを作成する

Azure にデプロイする
このテンプレートは、規則の負荷分散ポート 80 を使用して標準の内部Azure Load Balancerを作成します
HA ポートを使用して標準の内部ロード バランサーを作成する

Azure にデプロイする
このテンプレートでは、HA ポートの負荷分散規則を使用して標準の内部Azure Load Balancerを作成します
リージョン間ロード バランサーを作成する

Azure にデプロイする
このテンプレートは、2 つのリージョン ロード バランサーを含むバックエンド プールを持つリージョン間ロード バランサーを作成します。 リージョン間ロード バランサーは現在、限られたリージョンで使用できます。 リージョン間ロード バランサーの背後にあるリージョン ロード バランサーは、任意のリージョンに存在できます。
IP アドレス別のバックエンド プールを使用したStandard Load Balancer

Azure にデプロイする
このテンプレートは、ARM テンプレートを使用して、バックエンド プール管理ドキュメントで説明されているように、IP アドレスでLoad Balancerのバックエンド プールを構成する方法を示すために使用されます。
パブリック IPv6 アドレスを使用してロード バランサーを作成する

Azure にデプロイする
このテンプレートでは、パブリック IPv6 アドレス、負荷分散規則、およびバックエンド プール用の 2 つの VM を使用して、インターネットに接続するロード バランサーを作成します。
Standard Load Balancer を作成する

Azure にデプロイする
このテンプレートは、インターネットに接続するロード バランサー、負荷分散規則、および各 VM を冗長ゾーンに含むバックエンド プール用の 3 つの VM を作成します。
2 つの VIP を含むLoad Balancer、それぞれ 1 つの LB ルール

Azure にデプロイする
このテンプレートを使用すると、ロード バランサー (multivip)、Virtual Network、ネットワーク インターフェイスで使用されるLoad Balancerの LB 規則Virtual Network &に、Load Balancer 2 つのパブリック IP アドレスを作成できます。
受信 NAT 規則を使用したLoad Balancer

Azure にデプロイする
このテンプレートを使用すると、ロード バランサーのLoad Balancerパブリック IP アドレス、Virtual Network、ネットワーク インターフェイスで使用されるLoad Balancerの NAT 規則Virtual Network &ネットワーク インターフェイスを作成できます。

ARM テンプレート リソース定義

loadBalancers リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Network/loadBalancers リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.Network/loadBalancers",
  "apiVersion": "2023-04-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string",
    "tier": "string"
  },
  "extendedLocation": {
    "name": "string",
    "type": "EdgeZone"
  },
  "properties": {
    "backendAddressPools": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "drainPeriodInSeconds": "int",
          "loadBalancerBackendAddresses": [
            {
              "name": "string",
              "properties": {
                "adminState": "string",
                "ipAddress": "string",
                "loadBalancerFrontendIPConfiguration": {
                  "id": "string"
                },
                "subnet": {
                  "id": "string"
                },
                "virtualNetwork": {
                  "id": "string"
                }
              }
            }
          ],
          "location": "string",
          "syncMode": "string",
          "tunnelInterfaces": [
            {
              "identifier": "int",
              "port": "int",
              "protocol": "string",
              "type": "string"
            }
          ],
          "virtualNetwork": {
            "id": "string"
          }
        }
      }
    ],
    "frontendIPConfigurations": [
      {
        "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",
                "domainNameLabelScope": "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" ]
      }
    ],
    "inboundNatPools": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "backendPort": "int",
          "enableFloatingIP": "bool",
          "enableTcpReset": "bool",
          "frontendIPConfiguration": {
            "id": "string"
          },
          "frontendPortRangeEnd": "int",
          "frontendPortRangeStart": "int",
          "idleTimeoutInMinutes": "int",
          "protocol": "string"
        }
      }
    ],
    "inboundNatRules": [
      {
        "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"
        }
      }
    ],
    "loadBalancingRules": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "backendAddressPool": {
            "id": "string"
          },
          "backendAddressPools": [
            {
              "id": "string"
            }
          ],
          "backendPort": "int",
          "disableOutboundSnat": "bool",
          "enableFloatingIP": "bool",
          "enableTcpReset": "bool",
          "frontendIPConfiguration": {
            "id": "string"
          },
          "frontendPort": "int",
          "idleTimeoutInMinutes": "int",
          "loadDistribution": "string",
          "probe": {
            "id": "string"
          },
          "protocol": "string"
        }
      }
    ],
    "outboundRules": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "allocatedOutboundPorts": "int",
          "backendAddressPool": {
            "id": "string"
          },
          "enableTcpReset": "bool",
          "frontendIPConfigurations": [
            {
              "id": "string"
            }
          ],
          "idleTimeoutInMinutes": "int",
          "protocol": "string"
        }
      }
    ],
    "probes": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "intervalInSeconds": "int",
          "numberOfProbes": "int",
          "port": "int",
          "probeThreshold": "int",
          "protocol": "string",
          "requestPath": "string"
        }
      }
    ]
  }
}

プロパティ値

loadBalancers

名前 説明
type リソースの種類 'Microsoft.Network/loadBalancers'
apiVersion リソース API のバージョン '2023-04-01'
name リソース名 string (必須)

文字数制限: 1 から 80

有効な文字:
英数字、アンダースコア、ピリオド、およびハイフン。

英数字で開始します。 英数字またはアンダースコアで終了します。
location リソースの場所。 string
tags リソース タグ。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
sku ロード バランサー SKU。 LoadBalancerSku
extendedLocation ロード バランサーの拡張された場所。 ExtendedLocation
properties ロード バランサーのプロパティ。 LoadBalancerPropertiesFormat

ExtendedLocation

名前 説明
name 拡張場所の名前。 string
type 拡張された場所の型。 'EdgeZone'

LoadBalancerPropertiesFormat

名前 説明
backendAddressPools ロード バランサーによって使用されるバックエンド アドレス プールのコレクション。 BackendAddressPool[]
frontendIPConfigurations ロード バランサーに使用するフロントエンド IP を表す オブジェクト。 FrontendIPConfiguration[]
inboundNatPools ロード バランサーに関連付けられている NIC 上の 1 つのバックエンド ポートへの受信 NAT の外部ポート範囲を定義します。 受信 NAT 規則は、この範囲の外部ポートを使用して、Load Balancerに関連付けられている各 NIC に対して自動的に作成されます。 Load Balancerでのインバウンド NAT プールの定義は、インバウンド NAT 規則の定義と相互に排他的です。 受信 NAT プールは、仮想マシン スケール セットから参照されます。 個々の仮想マシンに関連付けられている NIC は、受信 NAT プールを参照できません。 個々の受信 NAT 規則を参照する必要があります。 InboundNatPool[]
inboundNatRules ロード バランサーによって使用される受信 NAT 規則のコレクション。 ロード バランサーでのインバウンド NAT 規則の定義は、インバウンド NAT プールの定義と相互に排他的です。 受信 NAT プールは、仮想マシン スケール セットから参照されます。 個々の仮想マシンに関連付けられている NIC は、受信 NAT プールを参照できません。 個々の受信 NAT 規則を参照する必要があります。 InboundNatRule[]
loadBalancingRules 負荷分散規則を表すオブジェクト コレクション プロビジョニングを取得します。 LoadBalancingRule[]
outboundRules 送信規則。 OutboundRule[]
probes ロード バランサーで使用されるプローブ オブジェクトのコレクション。 Probe[]

BackendAddressPool

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるバックエンド アドレス プールのセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーのバックエンド アドレス プールのプロパティ。 BackendAddressPoolPropertiesFormat

BackendAddressPoolPropertiesFormat

名前 説明
drainPeriodInSeconds クライアントとバックエンド アドレスに RESET を送信するまでに待機するLoad Balancer秒数。 INT
loadBalancerBackendAddresses バックエンド アドレスの配列。 LoadBalancerBackendAddress[]
location バックエンド アドレス プールの場所。 string
syncMode バックエンド プールのバックエンド アドレス同期モード 'Automatic'
'Manual'
tunnelInterfaces ゲートウェイ ロード バランサー トンネル インターフェイスの配列。 GatewayLoadBalancerTunnelInterface[]
virtualNetwork 仮想ネットワークへの参照。 サブリソース

LoadBalancerBackendAddress

名前 説明
name バックエンド アドレスの名前。 string
properties ロード バランサーのバックエンド アドレス プールのプロパティ。 LoadBalancerBackendAddressPropertiesFormat

LoadBalancerBackendAddressPropertiesFormat

名前 説明
adminState 一度設定した管理状態の一覧は、正常性プローブをオーバーライドして、Load Balancerが常に新しい接続をバックエンドに転送したり、新しい接続を拒否したり、既存の接続をリセットしたりできます。 'Down'
'None'
'Up'
ipAddress 参照先の仮想ネットワークに属する IP アドレス。 string
loadBalancerFrontendIPConfiguration リージョンのロードバランサーで定義されているフロントエンド IP アドレス構成への参照。 サブリソース
サブネット 既存のサブネットへの参照。 サブリソース
virtualNetwork 既存の仮想ネットワークへの参照。 サブリソース

サブリソース

名前 説明
id リソースの ID string

GatewayLoadBalancerTunnelInterface

名前 説明
identifier ゲートウェイ ロード バランサートンネル インターフェイスの識別子。 INT
port ゲートウェイ ロード バランサートンネル インターフェイスのポート。 INT
protocol ゲートウェイ ロード バランサー トンネル インターフェイスのプロトコル。 'Native'
'None'
'VXLAN'
ゲートウェイ ロード バランサー トンネル インターフェイスのトラフィックの種類。 'External'
'Internal'
'None'

FrontendIPConfiguration

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるフロントエンド IP 構成のセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー プローブのプロパティ。 FrontendIPConfigurationPropertiesFormat
ゾーン リソースに割り当てられた IP を示す可用性ゾーンの一覧は、取得元である必要があります。 string[]

FrontendIPConfigurationPropertiesFormat

名前 説明
gatewayLoadBalancer ゲートウェイ ロード バランサーのフロントエンド IP への参照。 サブリソース
privateIPAddress IP 構成のプライベート IP アドレス。 string
privateIPAddressVersion 特定の ipconfiguration が IPv4 か IPv6 かを指定します。 既定値は IPv4 と見なされます。 'IPv4'
'IPv6'
privateIPAllocationMethod プライベート IP 割り当て方法。 'Dynamic'
'Static'
publicIPAddress パブリック IP リソースへの参照。 PublicIPAddress
publicIPPrefix パブリック IP プレフィックス リソースへの参照。 サブリソース
サブネット サブネット リソースへの参照。 サブネット

PublicIPAddress

名前 説明
extendedLocation パブリック IP アドレスの拡張された場所。 ExtendedLocation
id リソースの ID string
location リソースの場所。 string
properties パブリック IP アドレスのプロパティ。 PublicIPAddressPropertiesFormat
sku パブリック IP アドレス SKU。 PublicIPAddressSku
tags リソース タグ。 object
ゾーン リソースに割り当てられた IP を示す可用性ゾーンの一覧は、取得元である必要があります。 string[]

PublicIPAddressPropertiesFormat

名前 説明
ddosSettings パブリック IP アドレスに関連付けられている DDoS 保護カスタム ポリシー。 DdosSettings
deleteOption パブリック IP アドレスを使用している VM が削除されたときの動作を指定する 'Delete'
'Detach'
dnsSettings パブリック IP アドレスに関連付けられている DNS レコードの FQDN。 PublicIPAddressDnsSettings
idleTimeoutInMinutes パブリック IP アドレスのアイドル タイムアウト。 INT
ipAddress パブリック IP アドレス リソースに関連付けられている IP アドレス。 string
ipTags パブリック IP アドレスに関連付けられているタグの一覧。 IpTag[]
linkedPublicIPAddress パブリック IP アドレス リソースのリンクされたパブリック IP アドレス。 PublicIPAddress
migrationPhase パブリック IP アドレスの移行フェーズ。 'Abort'
'Commit'
'Committed'
'None'
'準備'
natGateway パブリック IP アドレスの NatGateway。 NatGateway
publicIPAddressVersion パブリック IP アドレスのバージョン。 'IPv4'
'IPv6'
publicIPAllocationMethod パブリック IP アドレスの割り当て方法。 'Dynamic'
'Static'
publicIPPrefix このパブリック IP アドレスを割り当てる必要があるパブリック IP プレフィックス。 サブリソース
servicePublicIPAddress パブリック IP アドレス リソースのサービス パブリック IP アドレス。 PublicIPAddress

DdosSettings

名前 説明
ddosProtectionPlan パブリック IP に関連付けられている DDoS 保護プラン。 ProtectionMode が有効な場合にのみ設定できます サブリソース
protectionMode パブリック IP の DDoS 保護モード 'Disabled'
'Enabled'
'VirtualNetworkInherited'

PublicIPAddressDnsSettings

名前 説明
domainNameLabel ドメイン名ラベル。 ドメイン名ラベルと地域の DNS ゾーンを連結して、パブリック IP アドレスに関連付けられている完全修飾ドメイン名を構成します。 ドメイン名ラベルを指定した場合、Microsoft Azure DNS システム内のパブリック IP に対して DNS レコードが作成されます。 string
domainNameLabelScope ドメイン名ラベルスコープ。 ドメイン名ラベルとドメイン名ラベルスコープが指定されている場合、MICROSOFT Azure DNS システムのパブリック IP に対して DNS レコードが作成され、ハッシュ値が FQDN に含まれます。 'NoReuse'
'ResourceGroupReuse'
'SubscriptionReuse'
'TenantReuse'
fqdn パブリック IP に関連付けられている A DNS レコードの完全修飾ドメイン名。 これは、domainNameLabel と地域化された DNS ゾーンの連結です。 string
reverseFqdn 逆 FQDN。 このパブリック IP アドレスに解決される、ユーザーに表示される完全修飾ドメイン名。 reverseFqdn を指定した場合、in-addr.arpa ドメイン内の IP アドレスから逆方向 FQDN を指す PTR DNS レコードが作成されます。 string

IpTag

名前 説明
ipTagType IP タグの種類。 例: FirstPartyUsage。 string
タグ パブリック IP に関連付けられている IP タグの値。 例: SQL。 string

NatGateway

名前 説明
id リソースの ID string
location リソースの場所。 string
properties Nat Gateway のプロパティ。 NatGatewayPropertiesFormat
sku nat ゲートウェイ SKU。 NatGatewaySku
tags リソース タグ。 object
ゾーン Nat Gateway をデプロイする必要があるゾーンを示す可用性ゾーンの一覧。 string[]

NatGatewayPropertiesFormat

名前 説明
idleTimeoutInMinutes nat ゲートウェイのアイドル タイムアウト。 INT
publicIpAddresses nat ゲートウェイ リソースに関連付けられているパブリック IP アドレスの配列。 SubResource[]
publicIpPrefixes nat ゲートウェイ リソースに関連付けられているパブリック IP プレフィックスの配列。 SubResource[]

NatGatewaySku

名前 説明
name Nat Gateway SKU の名前。 'Standard'

PublicIPAddressSku

名前 説明
name パブリック IP アドレス SKU の名前。 'Basic'
'Standard'
レベル パブリック IP アドレス SKU の層。 'Global'
'Regional'

Subnet

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サブネットのプロパティ。 SubnetPropertiesFormat
リソースの種類。 string

SubnetPropertiesFormat

名前 説明
addressPrefix サブネットのアドレス プレフィックス。 string
addressPrefixes サブネットのアドレス プレフィックスの一覧。 string[]
applicationGatewayIPConfigurations 仮想ネットワーク リソースのアプリケーション ゲートウェイ IP 構成。 ApplicationGatewayIPConfiguration[]
代表 団 サブネット上の委任への参照の配列。 Delegation[]
ipAllocations このサブネットを参照する IpAllocation の配列。 SubResource[]
natGateway このサブネットに関連付けられている Nat ゲートウェイ。 サブリソース
networkSecurityGroup NetworkSecurityGroup リソースへの参照。 NetworkSecurityGroup
privateEndpointNetworkPolicies サブネット内のプライベート エンドポイントにネットワーク ポリシーを適用するを有効または無効にします。 'Disabled'
'Enabled'
privateLinkServiceNetworkPolicies サブネット内のプライベート リンク サービスに対するネットワーク ポリシーの適用を有効または無効にします。 'Disabled'
'Enabled'
routeTable RouteTable リソースへの参照。 RouteTable
serviceEndpointPolicies サービス エンドポイント ポリシーの配列。 ServiceEndpointPolicy[]
serviceEndpoints サービス エンドポイントの配列。 ServiceEndpointPropertiesFormat[]

ApplicationGatewayIPConfiguration

名前 説明
id リソースの ID string
name Application Gateway内で一意の IP 構成の名前。 string
properties アプリケーション ゲートウェイ IP 構成のプロパティ。 ApplicationGatewayIPConfigurationPropertiesFormat

ApplicationGatewayIPConfigurationPropertiesFormat

名前 説明
サブネット サブネット リソースへの参照。 アプリケーション ゲートウェイがプライベート アドレスを取得するサブネット。 サブリソース

委任

名前 説明
id リソースの ID string
name サブネット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サブネットのプロパティ。 ServiceDelegationPropertiesFormat
リソースの種類。 string

ServiceDelegationPropertiesFormat

名前 説明
serviceName サブネットを委任する必要があるサービスの名前 (Microsoft.Sql/servers など)。 string

NetworkSecurityGroup

名前 説明
id リソースの ID string
location リソースの場所。 string
properties ネットワーク セキュリティ グループのプロパティ。 NetworkSecurityGroupPropertiesFormat
tags リソース タグ。 object

NetworkSecurityGroupPropertiesFormat

名前 説明
flushConnection 有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化では、再評価がトリガーされます。 [bool]
securityRules ネットワーク セキュリティ グループのセキュリティ規則のコレクション。 SecurityRule[]

SecurityRule

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties セキュリティ規則のプロパティ。 SecurityRulePropertiesFormat
リソースの型。 string

SecurityRulePropertiesFormat

名前 説明
access ネットワーク トラフィックは許可または拒否されます。 'Allow'
'Deny' (必須)
description この規則の説明。 140 文字に制限されています。 string
destinationAddressPrefix 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 string
destinationAddressPrefixes 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 string[]
destinationApplicationSecurityGroups 宛先として指定されたアプリケーション セキュリティ グループ。 ApplicationSecurityGroup[]
destinationPortRange 宛先ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 string
destinationPortRanges 宛先ポート範囲。 string[]
方向 ルールの方向。 この方向は、ルールの評価が受信または送信トラフィックのどちらで行われるかを指定します。 'Inbound'
'送信' (必須)
priority ルールの優先度。 値は 100 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 int (必須)
protocol この規則が適用されるネットワーク プロトコル。 '*'
'Ah'
'Esp'
'Icmp'
'Tcp'
'Udp' (必須)
sourceAddressPrefix CIDR またはソース IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 これがイングレス ルールの場合は、ネットワーク トラフィックの発信元を指定します。 string
sourceAddressPrefixes CIDR またはソース IP 範囲。 string[]
sourceApplicationSecurityGroups ソースとして指定されたアプリケーション セキュリティ グループ。 ApplicationSecurityGroup[]
sourcePortRange ソース ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 string
sourcePortRanges ソース ポートの範囲。 string[]

ApplicationSecurityGroup

名前 説明
id リソースの ID string
location リソースの場所。 string
properties アプリケーション セキュリティ グループのプロパティ。 ApplicationSecurityGroupPropertiesFormat
tags リソース タグ。 object

ApplicationSecurityGroupPropertiesFormat

このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。

RouteTable

名前 説明
id リソースの ID string
location リソースの場所。 string
properties ルート テーブルのプロパティ。 RouteTablePropertiesFormat
tags リソース タグ。 object

RouteTablePropertiesFormat

名前 説明
disableBgpRoutePropagation そのルート テーブルで BGP によって学習されたルートを無効にするかどうか。 True は無効を意味します。 [bool]
ルート ルート テーブル内に含まれるルートのコレクション。 Route[]

ルート

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ルートのプロパティ。 RoutePropertiesFormat
リソースの型。 string

RoutePropertiesFormat

名前 説明
addressPrefix ルートが適用される宛先 CIDR。 string
hasBgpOverride LPM に関係なく、このルートが重複する BGP ルートをオーバーライドするかどうかを示す値。 [bool]
nextHopIpAddress IP アドレス パケットは に転送する必要があります。 次ホップの値は、次ホップの種類が VirtualAppliance であるルートでのみ許可されます。 string
nextHopType パケットの送信先となる Azure ホップの種類。 'Internet'
'None'
'VirtualAppliance'
'VirtualNetworkGateway'
'VnetLocal' (必須)

ServiceEndpointPolicy

名前 説明
id リソースの ID string
location リソースの場所。 string
properties サービス エンドポイント ポリシーのプロパティ。 ServiceEndpointPolicyPropertiesFormat
tags リソース タグ。 object

ServiceEndpointPolicyPropertiesFormat

名前 説明
contextualServiceEndpointPolicies コンテキスト サービス エンドポイント ポリシーのコレクション。 string[]
serviceAlias ポリシーがサービスに属しているかどうかを示すエイリアス string
serviceEndpointPolicyDefinitions サービス エンドポイント ポリシーのサービス エンドポイント ポリシー定義のコレクション。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPolicyDefinition

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サービス エンドポイント ポリシー定義のプロパティ。 ServiceEndpointPolicyDefinitionPropertiesFormat
リソースの型。 string

ServiceEndpointPolicyDefinitionPropertiesFormat

名前 説明
description この規則の説明。 140 文字に制限されています。 string
サービス (service) サービス エンドポイント名。 string
serviceResources サービス リソースの一覧。 string[]

ServiceEndpointPropertiesFormat

名前 説明
locations 場所の一覧。 string[]
サービス (service) エンドポイント サービスの種類。 string

InboundNatPool

名前 説明
id リソースの ID string
name ロード バランサーによって使用される受信 NAT プールのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの受信 nat プールのプロパティ。 InboundNatPoolPropertiesFormat

InboundNatPoolPropertiesFormat

名前 説明
backendPort エンドポイント上の内部接続に使用されるポート。 使用できる値は 1 ~ 65535 です。 int (必須)
enableFloatingIP SQL AlwaysOn 可用性グループの構成に必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 この設定は、エンドポイントを作成した後は変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPortRangeEnd ロード バランサーに関連付けられている NIC に受信 Nat を提供するために使用される外部ポートの範囲内の最後のポート番号。 使用できる値の範囲は 1 ~ 65535 です。 int (必須)
frontendPortRangeStart ロード バランサーに関連付けられている NIC に受信 Nat を提供するために使用される外部ポートの範囲内の最初のポート番号。 使用できる値の範囲は 1 ~ 65534 です。 int (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
protocol 受信 NAT プールによって使用されるトランスポート プロトコルへの参照。 'All'
'Tcp'
'Udp' (必須)

InboundNatRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される受信 NAT 規則のセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの受信 NAT 規則のプロパティ。 InboundNatRulePropertiesFormat

InboundNatRulePropertiesFormat

名前 説明
backendAddressPool backendAddressPool リソースへの参照。 サブリソース
backendPort 内部エンドポイントで使用されるポート。 使用できる値の範囲は 1 ~ 65535 です。 INT
enableFloatingIP SQL AlwaysOn 可用性グループの構成に必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 この設定は、エンドポイントを作成した後は変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPort 外部エンドポイントのポートです。 各規則のポート番号は、Load Balancer内で一意である必要があります。 使用できる値の範囲は 1 ~ 65534 です。 INT
frontendPortRangeEnd 外部エンドポイントのポート範囲の終了。 このプロパティは、BackendAddressPool と FrontendPortRangeStart と共に使用されます。 BackendAddressPool のバックエンド アドレスごとに、個々の受信 NAT 規則のポート マッピングが作成されます。 使用できる値の範囲は 1 ~ 65534 です。 INT
frontendPortRangeStart 外部エンドポイントのポート範囲の開始。 このプロパティは、BackendAddressPool と FrontendPortRangeEnd と共に使用されます。 BackendAddressPool のバックエンド アドレスごとに、個々の受信 NAT 規則のポート マッピングが作成されます。 使用できる値の範囲は 1 ~ 65534 です。 INT
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
protocol 負荷分散規則で使用されるトランスポート プロトコルへの参照。 'All'
'Tcp'
'Udp'

LoadBalancingRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される負荷分散規則のセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの負荷分散規則のプロパティ。 LoadBalancingRulePropertiesFormat

LoadBalancingRulePropertiesFormat

名前 説明
backendAddressPool DIP のプールへの参照。 受信トラフィックは、バックエンド IP 内の IP 間でランダムに負荷分散されます。 サブリソース
backendAddressPools DIP のプールへの参照の配列。 SubResource[]
backendPort エンドポイント上の内部接続に使用されるポート。 許容される値は 0 ~ 65535 です。 値 0 では "任意のポート" が有効になります。 INT
disableOutboundSnat 負荷分散規則のフロントエンドで指定されたパブリック IP アドレスを使用するように、バックエンド プール内の VM の SNAT を構成します。 [bool]
enableFloatingIP SQL AlwaysOn 可用性グループを構成するために必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 エンドポイントを作成した後は、この設定を変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPort 外部エンドポイントのポートです。 各規則のポート番号は、Load Balancer内で一意である必要があります。 許容される値は 0 ~ 65534 です。 値 0 では "任意のポート" が有効になります。 int (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
loadDistribution このルールの負荷分散ポリシー。 'Default'
'SourceIP'
'SourceIPProtocol'
プローブ 負荷分散規則によって使用されるロード バランサー プローブへの参照。 サブリソース
protocol 負荷分散規則で使用されるトランスポート プロトコルへの参照。 'All'
'Tcp'
'Udp' (必須)

OutboundRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される送信規則のセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの送信規則のプロパティ。 OutboundRulePropertiesFormat

OutboundRulePropertiesFormat

名前 説明
allocatedOutboundPorts NAT に使用する送信ポートの数。 INT
backendAddressPool DIP のプールへの参照。 送信トラフィックは、バックエンド IP 内の IP 間でランダムに負荷分散されます。 SubResource (必須)
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfigurations ロード バランサーのフロントエンド IP アドレス。 SubResource[] (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 INT
protocol ロード バランサーの送信規則のプロトコル。 'All'
'Tcp'
'Udp' (必須)

プローブ

名前 説明
id リソースの ID string
name ロード バランサーで使用されるプローブのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー プローブのプロパティ。 ProbePropertiesFormat

ProbePropertiesFormat

名前 説明
intervalInSeconds どのぐらいの頻度でエンドポイントに正常性状態をプローブするかを表す間隔 (秒)。 この間隔は、割り当てられているタイムアウト期間 (秒) の 1/2 よりもわずかに短くするのが一般的です。そうすることで、2 回のプローブを完全に実施したうえで、インスタンスをローテーションから除外することができます。 既定値は 15、最小値は 5 です。 INT
numberOfProbes 応答がない場合に、エンドポイントへのそれ以上のトラフィックの配信を停止するプローブの数。 この値を使用すると、エンドポイントを Azure で使用される一般的な時間よりも速く、または低速にローテーションから取り出すことができます。 INT
port プローブ通信用ポート。 指定できる値は 1 以上 65535 以下です。 int (必須)
probeThreshold このエンドポイントへのトラフィックの配信を許可または拒否するための連続した成功または失敗したプローブの数。 この値と等しい連続するプローブの数に失敗すると、エンドポイントはローテーションから取り出され、同じ数の正常な連続プローブを回転に戻す必要があります。 INT
protocol エンドポイントのプロトコル。 'Tcp' が指定されている場合、プローブを正常に実行するには、受信した ACK が必要です。 'Http' または 'Https' が指定されている場合、プローブを成功させるには、 からの 200 OK 応答が URI を指定する必要があります。 'Http'
'Https'
'Tcp' (必須)
requestPath VM の正常性状態を要求する目的で使用される URI。 プロトコルが http に設定されている場合は、パスが必要です。 それ以外の場合は、許可されません。 既定値はありません。 string

LoadBalancerSku

名前 説明
name ロード バランサー SKU の名前。 'Basic'
'Gateway'
'Standard'
レベル ロード バランサー SKU の層。 'Global'
'Regional'

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
ゲートウェイ Load Balancerにチェーンされたパブリック Load Balancer

Azure にデプロイする
このテンプレートを使用すると、ゲートウェイ Load Balancerにチェーンされたパブリック Standard Load Balancerをデプロイできます。 インターネットから受信したトラフィックは、バックエンド プール内の Linux VM (NVA) を使用してゲートウェイ Load Balancerにルーティングされます。
複数の NIC と RDP アクセス可能な VM を作成する

Azure にデプロイする
このテンプレートを使用すると、複数の (2) ネットワーク インターフェイス (NIC) を使用してVirtual Machinesを作成し、構成されたロード バランサーと受信 NAT 規則を使用して RDP 接続できます。 このテンプレートを使用すると、より多くの NIC を簡単に追加できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、2 つのネットワーク インターフェイス (フロントエンドとバックエンド) もデプロイされます。
VNET 内の 2 つの VM - 内部Load Balancerおよび LB 規則

Azure にデプロイする
このテンプレートを使用すると、VNET と内部ロード バランサーの下に 2 つのVirtual Machinesを作成し、ポート 80 で負荷分散規則を構成できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、可用性セット、ネットワーク インターフェイスもデプロイされます。
ロード バランサー内の 2 台の VM と負荷分散規則

Azure にデプロイする
このテンプレートを使用すると、ロード バランサーの下に 2 つのVirtual Machinesを作成し、ポート 80 で負荷分散規則を構成できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、可用性セット、ネットワーク インターフェイスもデプロイされます。 このテンプレートでは、リソース ループ機能を使用して、ネットワーク インターフェイスと仮想マシンを作成します
Load Balancer内の 2 つの VM と LB の NAT 規則の構成

Azure にデプロイする
このテンプレートを使用すると、可用性セットに 2 つのVirtual Machinesを作成し、ロード バランサーを使用して NAT 規則を構成できます。 このテンプレートでは、ストレージ アカウント、Virtual Network、パブリック IP アドレス、ネットワーク インターフェイスもデプロイされます。 このテンプレートでは、リソース ループ機能を使用して、ネットワーク インターフェイスと仮想マシンを作成します
ILB の背後に Linux VM を使用して VM スケール セットをデプロイする

Azure にデプロイする
このテンプレートを使用すると、修正プログラムが適用された最新バージョンの Ubuntu Linux 15.10 または 14.04.4-LTS を使用して、Linux VM の VM スケール セットをデプロイできます。 これらの VM は、SSH 接続の NAT 規則を持つ内部ロード バランサーの背後にあります。
VNetInjection および Load Balancer 用 AzureDatabricks テンプレート

Azure にデプロイする
このテンプレートを使用すると、ロード バランサー、ネットワーク セキュリティ グループ、仮想ネットワーク、および仮想ネットワークを含む Azure Databricks ワークスペースを作成できます。
標準の内部ロード バランサーを作成する

Azure にデプロイする
このテンプレートは、規則の負荷分散ポート 80 を使用して標準の内部Azure Load Balancerを作成します
HA ポートを使用して標準の内部ロード バランサーを作成する

Azure にデプロイする
このテンプレートでは、HA ポートの負荷分散規則を使用して標準の内部Azure Load Balancerを作成します
リージョン間ロード バランサーを作成する

Azure にデプロイする
このテンプレートは、2 つのリージョン ロード バランサーを含むバックエンド プールを持つリージョン間ロード バランサーを作成します。 リージョン間ロード バランサーは現在、限られたリージョンで使用できます。 リージョン間ロード バランサーの背後にあるリージョン ロード バランサーは、任意のリージョンに存在できます。
IP アドレス別のバックエンド プールを使用したStandard Load Balancer

Azure にデプロイする
このテンプレートは、ARM テンプレートを使用して、バックエンド プール管理ドキュメントで説明されているように、IP アドレスでLoad Balancerのバックエンド プールを構成する方法を示すために使用されます。
パブリック IPv6 アドレスを使用してロード バランサーを作成する

Azure にデプロイする
このテンプレートでは、パブリック IPv6 アドレス、負荷分散規則、およびバックエンド プール用の 2 つの VM を使用して、インターネットに接続するロード バランサーを作成します。
Standard Load Balancer を作成する

Azure にデプロイする
このテンプレートは、インターネットに接続するロード バランサー、負荷分散規則、および各 VM を冗長ゾーンに含むバックエンド プール用の 3 つの VM を作成します。
2 つの VIP を含むLoad Balancer、それぞれ 1 つの LB ルール

Azure にデプロイする
このテンプレートを使用すると、ロード バランサー (multivip)、Virtual Network、ネットワーク インターフェイスで使用されるLoad Balancerの LB 規則Virtual Network &に、Load Balancer 2 つのパブリック IP アドレスを作成できます。
受信 NAT 規則を使用したLoad Balancer

Azure にデプロイする
このテンプレートを使用すると、ロード バランサーのLoad Balancerパブリック IP アドレス、Virtual Network、ネットワーク インターフェイスで使用されるLoad Balancerの NAT 規則Virtual Network &ネットワーク インターフェイスを作成できます。

Terraform (AzAPI プロバイダー) リソース定義

loadBalancers リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Network/loadBalancers リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/loadBalancers@2023-04-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      backendAddressPools = [
        {
          id = "string"
          name = "string"
          properties = {
            drainPeriodInSeconds = int
            loadBalancerBackendAddresses = [
              {
                name = "string"
                properties = {
                  adminState = "string"
                  ipAddress = "string"
                  loadBalancerFrontendIPConfiguration = {
                    id = "string"
                  }
                  subnet = {
                    id = "string"
                  }
                  virtualNetwork = {
                    id = "string"
                  }
                }
              }
            ]
            location = "string"
            syncMode = "string"
            tunnelInterfaces = [
              {
                identifier = int
                port = int
                protocol = "string"
                type = "string"
              }
            ]
            virtualNetwork = {
              id = "string"
            }
          }
        }
      ]
      frontendIPConfigurations = [
        {
          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"
                  domainNameLabelScope = "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"
          ]
        }
      ]
      inboundNatPools = [
        {
          id = "string"
          name = "string"
          properties = {
            backendPort = int
            enableFloatingIP = bool
            enableTcpReset = bool
            frontendIPConfiguration = {
              id = "string"
            }
            frontendPortRangeEnd = int
            frontendPortRangeStart = int
            idleTimeoutInMinutes = int
            protocol = "string"
          }
        }
      ]
      inboundNatRules = [
        {
          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"
          }
        }
      ]
      loadBalancingRules = [
        {
          id = "string"
          name = "string"
          properties = {
            backendAddressPool = {
              id = "string"
            }
            backendAddressPools = [
              {
                id = "string"
              }
            ]
            backendPort = int
            disableOutboundSnat = bool
            enableFloatingIP = bool
            enableTcpReset = bool
            frontendIPConfiguration = {
              id = "string"
            }
            frontendPort = int
            idleTimeoutInMinutes = int
            loadDistribution = "string"
            probe = {
              id = "string"
            }
            protocol = "string"
          }
        }
      ]
      outboundRules = [
        {
          id = "string"
          name = "string"
          properties = {
            allocatedOutboundPorts = int
            backendAddressPool = {
              id = "string"
            }
            enableTcpReset = bool
            frontendIPConfigurations = [
              {
                id = "string"
              }
            ]
            idleTimeoutInMinutes = int
            protocol = "string"
          }
        }
      ]
      probes = [
        {
          id = "string"
          name = "string"
          properties = {
            intervalInSeconds = int
            numberOfProbes = int
            port = int
            probeThreshold = int
            protocol = "string"
            requestPath = "string"
          }
        }
      ]
    }
    sku = {
      name = "string"
      tier = "string"
    }
    extendedLocation = {
      name = "string"
      type = "EdgeZone"
    }
  })
}

プロパティ値

loadBalancers

名前 説明
type リソースの種類 "Microsoft.Network/loadBalancers@2023-04-01"
name リソース名 string (必須)

文字数制限: 1 から 80

有効な文字:
英数字、アンダースコア、ピリオド、およびハイフン。

英数字で開始します。 英数字またはアンダースコアで終了します。
location リソースの場所。 string
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソース タグ。 タグ名と値のディクショナリ。
sku ロード バランサー SKU。 LoadBalancerSku
extendedLocation ロード バランサーの拡張された場所。 ExtendedLocation
properties ロード バランサーのプロパティ。 LoadBalancerPropertiesFormat

ExtendedLocation

名前 説明
name 拡張場所の名前。 string
type 拡張場所の型。 "EdgeZone"

LoadBalancerPropertiesFormat

名前 説明
backendAddressPools ロード バランサーによって使用されるバックエンド アドレス プールのコレクション。 BackendAddressPool[]
frontendIPConfigurations ロード バランサーに使用するフロントエンド IP を表す オブジェクト。 FrontendIPConfiguration[]
inboundNatPools ロード バランサーに関連付けられている NIC 上の 1 つのバックエンド ポートへの受信 NAT の外部ポート範囲を定義します。 受信 NAT 規則は、この範囲の外部ポートを使用して、Load Balancerに関連付けられている各 NIC に対して自動的に作成されます。 Load Balancerでのインバウンド NAT プールの定義は、インバウンド NAT 規則の定義と相互に排他的です。 受信 NAT プールは、仮想マシン スケール セットから参照されます。 個々の仮想マシンに関連付けられている NIC は、受信 NAT プールを参照できません。 個々の受信 NAT 規則を参照する必要があります。 InboundNatPool[]
inboundNatRules ロード バランサーによって使用される受信 NAT 規則のコレクション。 ロード バランサーで受信 NAT 規則を定義することは、受信 NAT プールの定義と相互に排他的です。 受信 NAT プールは、仮想マシン スケール セットから参照されます。 個々の仮想マシンに関連付けられている NIC は、受信 NAT プールを参照できません。 個々の受信 NAT 規則を参照する必要があります。 InboundNatRule[]
loadBalancingRules 負荷分散規則を表すオブジェクト コレクション プロビジョニングを取得します。 LoadBalancingRule[]
outboundRules 送信規則。 OutboundRule[]
probes ロード バランサーで使用されるプローブ オブジェクトのコレクション。 Probe[]

BackendAddressPool

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるバックエンド アドレス プールのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー バックエンド アドレス プールのプロパティ。 BackendAddressPoolPropertiesFormat

BackendAddressPoolPropertiesFormat

名前 説明
drainPeriodInSeconds クライアントアドレスとバックエンドアドレスに RESET を送信するまでに待機するLoad Balancer秒数。 INT
loadBalancerBackendAddresses バックエンド アドレスの配列。 LoadBalancerBackendAddress[]
location バックエンド アドレス プールの場所。 string
syncMode バックエンド プールのバックエンド アドレス同期モード "自動"
"Manual"
tunnelInterfaces ゲートウェイ ロード バランサー トンネル インターフェイスの配列。 GatewayLoadBalancerTunnelInterface[]
virtualNetwork 仮想ネットワークへの参照。 サブリソース

LoadBalancerBackendAddress

名前 説明
name バックエンド アドレスの名前。 string
properties ロード バランサー バックエンド アドレス プールのプロパティ。 LoadBalancerBackendAddressPropertiesFormat

LoadBalancerBackendAddressPropertiesFormat

名前 説明
adminState 一度設定した管理状態の一覧は、正常性プローブをオーバーライドして、Load Balancerが常に新しい接続をバックエンドに転送したり、新しい接続を拒否したり、既存の接続をリセットしたりできます。 "Down"
"None"
"Up"
ipAddress 参照先の仮想ネットワークに属する IP アドレス。 string
loadBalancerFrontendIPConfiguration リージョンのロードバランサーで定義されているフロントエンド IP アドレス構成への参照。 サブリソース
サブネット 既存のサブネットへの参照。 サブリソース
virtualNetwork 既存の仮想ネットワークへの参照。 サブリソース

サブリソース

名前 説明
id リソースの ID string

GatewayLoadBalancerTunnelInterface

名前 説明
identifier ゲートウェイ ロード バランサートンネル インターフェイスの識別子。 INT
port ゲートウェイ ロード バランサートンネル インターフェイスのポート。 INT
protocol ゲートウェイ ロード バランサー トンネル インターフェイスのプロトコル。 "ネイティブ"
"None"
"VXLAN"
ゲートウェイ ロード バランサー トンネル インターフェイスのトラフィックの種類。 "外部"
"Internal"
"None"

FrontendIPConfiguration

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるフロントエンド IP 構成のセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー プローブのプロパティ。 FrontendIPConfigurationPropertiesFormat
ゾーン リソースに割り当てられた IP を示す可用性ゾーンの一覧は、取得元である必要があります。 string[]

FrontendIPConfigurationPropertiesFormat

名前 説明
gatewayLoadBalancer ゲートウェイ ロード バランサーのフロントエンド IP への参照。 サブリソース
privateIPAddress IP 構成のプライベート IP アドレス。 string
privateIPAddressVersion 特定の ipconfiguration が IPv4 か IPv6 かを指定します。 既定値は IPv4 と見なされます。 "IPv4"
"IPv6"
privateIPAllocationMethod プライベート IP 割り当て方法。 "Dynamic"
"Static"
publicIPAddress パブリック IP リソースへの参照。 PublicIPAddress
publicIPPrefix パブリック IP プレフィックス リソースへの参照。 サブリソース
サブネット サブネット リソースへの参照。 サブネット

PublicIPAddress

名前 説明
extendedLocation パブリック IP アドレスの拡張された場所。 ExtendedLocation
id リソースの ID string
location リソースの場所。 string
properties パブリック IP アドレスのプロパティ。 PublicIPAddressPropertiesFormat
sku パブリック IP アドレス SKU。 PublicIPAddressSku
tags リソース タグ。 object
ゾーン リソースに割り当てられた IP を示す可用性ゾーンの一覧は、 から取得する必要があります。 string[]

PublicIPAddressPropertiesFormat

名前 説明
ddosSettings パブリック IP アドレスに関連付けられている DDoS 保護カスタム ポリシー。 DdosSettings
deleteOption パブリック IP アドレスを使用している VM が削除された場合の動作を指定する "削除"
"デタッチ"
dnsSettings パブリック IP アドレスに関連付けられている DNS レコードの FQDN。 PublicIPAddressDnsSettings
idleTimeoutInMinutes パブリック IP アドレスのアイドル タイムアウト。 INT
ipAddress パブリック IP アドレス リソースに関連付けられている IP アドレス。 string
ipTags パブリック IP アドレスに関連付けられているタグの一覧。 IpTag[]
linkedPublicIPAddress パブリック IP アドレス リソースのリンクされたパブリック IP アドレス。 PublicIPAddress
migrationPhase パブリック IP アドレスの移行フェーズ。 "Abort"
"Commit"
"コミット済み"
"None"
"準備"
natGateway パブリック IP アドレスの NatGateway。 NatGateway
publicIPAddressVersion パブリック IP アドレスのバージョン。 "IPv4"
"IPv6"
publicIPAllocationMethod パブリック IP アドレスの割り当て方法。 "Dynamic"
"Static"
publicIPPrefix このパブリック IP アドレスを割り当てる必要があるパブリック IP プレフィックス。 サブリソース
servicePublicIPAddress パブリック IP アドレス リソースのサービス パブリック IP アドレス。 PublicIPAddress

DdosSettings

名前 説明
ddosProtectionPlan パブリック IP に関連付けられている DDoS 保護プラン。 ProtectionMode が有効な場合にのみ設定できます サブリソース
protectionMode パブリック IP の DDoS 保護モード "無効"
"有効"
"VirtualNetworkInherited"

PublicIPAddressDnsSettings

名前 説明
domainNameLabel ドメイン名ラベル。 ドメイン名ラベルと地域の DNS ゾーンを連結して、パブリック IP アドレスに関連付けられている完全修飾ドメイン名を構成します。 ドメイン名ラベルを指定した場合、Microsoft Azure DNS システム内のパブリック IP に対して DNS レコードが作成されます。 string
domainNameLabelScope ドメイン名ラベルのスコープ。 ドメイン名ラベルとドメイン名ラベルスコープが指定されている場合、ハッシュ値が FQDN に含まれる Microsoft Azure DNS システムのパブリック IP に対して DNS レコードが作成されます。 "NoReuse"
"ResourceGroupReuse"
"SubscriptionReuse"
"TenantReuse"
fqdn パブリック IP に関連付けられている A DNS レコードの完全修飾ドメイン名。 これは、domainNameLabel と地域化された DNS ゾーンの連結です。 string
reverseFqdn 逆引き FQDN。 このパブリック IP アドレスに解決される、ユーザーに表示される完全修飾ドメイン名。 reverseFqdn を指定した場合、in-addr.arpa ドメイン内の IP アドレスから逆方向 FQDN を指す PTR DNS レコードが作成されます。 string

IpTag

名前 説明
ipTagType IP タグの種類。 例: FirstPartyUsage。 string
タグ パブリック IP に関連付けられている IP タグの値。 例: SQL。 string

NatGateway

名前 説明
id リソースの ID string
location リソースの場所。 string
properties Nat Gateway のプロパティ。 NatGatewayPropertiesFormat
sku nat ゲートウェイ SKU。 NatGatewaySku
tags リソース タグ。 object
ゾーン Nat Gateway をデプロイする必要があるゾーンを示す可用性ゾーンの一覧。 string[]

NatGatewayPropertiesFormat

名前 説明
idleTimeoutInMinutes nat ゲートウェイのアイドル タイムアウト。 INT
publicIpAddresses nat ゲートウェイ リソースに関連付けられているパブリック IP アドレスの配列。 SubResource[]
publicIpPrefixes nat ゲートウェイ リソースに関連付けられているパブリック IP プレフィックスの配列。 SubResource[]

NatGatewaySku

名前 説明
name Nat Gateway SKU の名前。 "Standard"

PublicIPAddressSku

名前 説明
name パブリック IP アドレス SKU の名前。 "Basic"
"Standard"
レベル パブリック IP アドレス SKU の層。 "Global"
"地域"

Subnet

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サブネットのプロパティ。 SubnetPropertiesFormat
リソースの種類。 string

SubnetPropertiesFormat

名前 説明
addressPrefix サブネットのアドレス プレフィックス。 string
addressPrefixes サブネットのアドレス プレフィックスの一覧。 string[]
applicationGatewayIPConfigurations 仮想ネットワーク リソースのアプリケーション ゲートウェイ IP 構成。 ApplicationGatewayIPConfiguration[]
代表 団 サブネット上の委任への参照の配列。 Delegation[]
ipAllocations このサブネットを参照する IpAllocation の配列。 SubResource[]
natGateway このサブネットに関連付けられている Nat ゲートウェイ。 サブリソース
networkSecurityGroup NetworkSecurityGroup リソースへの参照。 NetworkSecurityGroup
privateEndpointNetworkPolicies サブネット内のプライベート エンドポイントにネットワーク ポリシーを適用するを有効または無効にします。 "無効"
"有効"
privateLinkServiceNetworkPolicies サブネット内のプライベート リンク サービスに対するネットワーク ポリシーの適用を有効または無効にします。 "無効"
"有効"
routeTable RouteTable リソースへの参照。 RouteTable
serviceEndpointPolicies サービス エンドポイント ポリシーの配列。 ServiceEndpointPolicy[]
serviceEndpoints サービス エンドポイントの配列。 ServiceEndpointPropertiesFormat[]

ApplicationGatewayIPConfiguration

名前 説明
id リソースの ID string
name Application Gateway内で一意の IP 構成の名前。 string
properties アプリケーション ゲートウェイ IP 構成のプロパティ。 ApplicationGatewayIPConfigurationPropertiesFormat

ApplicationGatewayIPConfigurationPropertiesFormat

名前 説明
サブネット サブネット リソースへの参照。 アプリケーション ゲートウェイがプライベート アドレスを取得するサブネット。 サブリソース

委任

名前 説明
id リソースの ID string
name サブネット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サブネットのプロパティ。 ServiceDelegationPropertiesFormat
リソースの種類。 string

ServiceDelegationPropertiesFormat

名前 説明
serviceName サブネットを委任する必要があるサービスの名前 (Microsoft.Sql/servers など)。 string

NetworkSecurityGroup

名前 説明
id リソースの ID string
location リソースの場所。 string
properties ネットワーク セキュリティ グループのプロパティ。 NetworkSecurityGroupPropertiesFormat
tags リソース タグ。 object

NetworkSecurityGroupPropertiesFormat

名前 説明
flushConnection 有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化では、再評価がトリガーされます。 [bool]
securityRules ネットワーク セキュリティ グループのセキュリティ規則のコレクション。 SecurityRule[]

SecurityRule

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties セキュリティ規則のプロパティ。 SecurityRulePropertiesFormat
リソースの型。 string

SecurityRulePropertiesFormat

名前 説明
access ネットワーク トラフィックは許可または拒否されます。 "許可"
"Deny" (必須)
description この規則の説明。 140 文字に制限されています。 string
destinationAddressPrefix 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 string
destinationAddressPrefixes 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 string[]
destinationApplicationSecurityGroups 宛先として指定されたアプリケーション セキュリティ グループ。 ApplicationSecurityGroup[]
destinationPortRange 宛先ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 string
destinationPortRanges 宛先ポート範囲。 string[]
方向 ルールの方向。 この方向は、ルールの評価が受信または送信トラフィックのどちらで行われるかを指定します。 "Inbound"
"送信" (必須)
priority ルールの優先度。 値は 100 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 int (必須)
protocol この規則が適用されるネットワーク プロトコル。 "*"
"Ah"
"Esp"
"Icmp"
"Tcp"
"Udp" (必須)
sourceAddressPrefix CIDR またはソース IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 これがイングレス ルールの場合は、ネットワーク トラフィックの発信元を指定します。 string
sourceAddressPrefixes CIDR またはソース IP 範囲。 string[]
sourceApplicationSecurityGroups ソースとして指定されたアプリケーション セキュリティ グループ。 ApplicationSecurityGroup[]
sourcePortRange ソース ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 string
sourcePortRanges ソース ポートの範囲。 string[]

ApplicationSecurityGroup

名前 説明
id リソースの ID string
location リソースの場所。 string
properties アプリケーション セキュリティ グループのプロパティ。 ApplicationSecurityGroupPropertiesFormat
tags リソース タグ。 object

ApplicationSecurityGroupPropertiesFormat

このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。

RouteTable

名前 説明
id リソースの ID string
location リソースの場所。 string
properties ルート テーブルのプロパティ。 RouteTablePropertiesFormat
tags リソース タグ。 object

RouteTablePropertiesFormat

名前 説明
disableBgpRoutePropagation そのルート テーブルで BGP によって学習されたルートを無効にするかどうか。 True は無効を意味します。 [bool]
ルート ルート テーブル内に含まれるルートのコレクション。 Route[]

ルート

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ルートのプロパティ。 RoutePropertiesFormat
リソースの型。 string

RoutePropertiesFormat

名前 説明
addressPrefix ルートが適用される宛先 CIDR。 string
hasBgpOverride LPM に関係なく、このルートが重複する BGP ルートをオーバーライドするかどうかを示す値。 [bool]
nextHopIpAddress IP アドレス パケットは に転送する必要があります。 次ホップの値は、次ホップの種類が VirtualAppliance であるルートでのみ許可されます。 string
nextHopType パケットの送信先となる Azure ホップの種類。 "インターネット"
"None"
"VirtualAppliance"
"VirtualNetworkGateway"
"VnetLocal" (必須)

ServiceEndpointPolicy

名前 説明
id リソースの ID string
location リソースの場所。 string
properties サービス エンドポイント ポリシーのプロパティ。 ServiceEndpointPolicyPropertiesFormat
tags リソース タグ。 object

ServiceEndpointPolicyPropertiesFormat

名前 説明
contextualServiceEndpointPolicies コンテキスト サービス エンドポイント ポリシーのコレクション。 string[]
serviceAlias ポリシーがサービスに属しているかどうかを示すエイリアス string
serviceEndpointPolicyDefinitions サービス エンドポイント ポリシーのサービス エンドポイント ポリシー定義のコレクション。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPolicyDefinition

名前 説明
id リソースの ID string
name リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties サービス エンドポイント ポリシー定義のプロパティ。 ServiceEndpointPolicyDefinitionPropertiesFormat
リソースの型。 string

ServiceEndpointPolicyDefinitionPropertiesFormat

名前 説明
description この規則の説明。 140 文字に制限されています。 string
サービス (service) サービス エンドポイント名。 string
serviceResources サービス リソースの一覧。 string[]

ServiceEndpointPropertiesFormat

名前 説明
locations 場所の一覧。 string[]
サービス (service) エンドポイント サービスの種類。 string

InboundNatPool

名前 説明
id リソースの ID string
name ロード バランサーによって使用される受信 NAT プールのセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの受信 nat プールのプロパティ。 InboundNatPoolPropertiesFormat

InboundNatPoolPropertiesFormat

名前 説明
backendPort エンドポイント上の内部接続に使用されるポート。 使用できる値は 1 ~ 65535 です。 int (必須)
enableFloatingIP SQL AlwaysOn 可用性グループを構成するために必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 エンドポイントを作成した後は、この設定を変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPortRangeEnd ロード バランサーに関連付けられている NIC に受信 Nat を提供するために使用される外部ポートの範囲内の最後のポート番号。 使用できる値の範囲は 1 ~ 65535 です。 int (必須)
frontendPortRangeStart ロード バランサーに関連付けられている NIC に受信 Nat を提供するために使用される外部ポートの範囲内の最初のポート番号。 指定できる値の範囲は 1 ~ 65534 です。 int (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
protocol 受信 NAT プールによって使用されるトランスポート プロトコルへの参照。 "All"
"Tcp"
"Udp" (必須)

InboundNatRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される受信 NAT 規則のセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの受信 NAT 規則のプロパティ。 InboundNatRulePropertiesFormat

InboundNatRulePropertiesFormat

名前 説明
backendAddressPool backendAddressPool リソースへの参照。 サブリソース
backendPort 内部エンドポイントで使用されるポート。 使用できる値の範囲は 1 ~ 65535 です。 INT
enableFloatingIP SQL AlwaysOn 可用性グループの構成に必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 この設定は、エンドポイントを作成した後は変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPort 外部エンドポイントのポートです。 各ルールのポート番号は、Load Balancer内で一意である必要があります。 使用できる値の範囲は 1 ~ 65534 です。 INT
frontendPortRangeEnd 外部エンドポイントのポート範囲の終了。 このプロパティは、BackendAddressPool および FrontendPortRangeStart と共に使用されます。 BackendAddressPool からのバックエンド アドレスごとに、個々の受信 NAT 規則ポート マッピングが作成されます。 使用できる値の範囲は 1 ~ 65534 です。 INT
frontendPortRangeStart 外部エンドポイントのポート範囲が開始されます。 このプロパティは、BackendAddressPool および FrontendPortRangeEnd と共に使用されます。 BackendAddressPool からのバックエンド アドレスごとに、個々の受信 NAT 規則ポート マッピングが作成されます。 使用できる値の範囲は 1 ~ 65534 です。 INT
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
protocol 負荷分散規則で使用されるトランスポート プロトコルへの参照。 "All"
"Tcp"
"Udp"

LoadBalancingRule

名前 説明
id リソースの ID string
name ロード バランサーで使用される負荷分散規則のセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー負荷分散規則のプロパティ。 LoadBalancingRulePropertiesFormat

LoadBalancingRulePropertiesFormat

名前 説明
backendAddressPool DIP のプールへの参照。 受信トラフィックは、バックエンド IP 内の IP 間でランダムに負荷分散されます。 サブリソース
backendAddressPools DIP のプールへの参照の配列。 SubResource[]
backendPort エンドポイント上の内部接続に使用されるポート。 使用できる値は 0 ~ 65535 です。 値 0 では "任意のポート" が有効になります。 INT
disableOutboundSnat 負荷分散規則のフロントエンドで指定されたパブリック IP アドレスを使用するように、バックエンド プール内の VM の SNAT を構成します。 [bool]
enableFloatingIP SQL AlwaysOn 可用性グループの構成に必要なフローティング IP 機能用に仮想マシンのエンドポイントを構成します。 この設定は、SQL Server で SQL AlwaysOn 可用性グループを使用する場合に必要です。 この設定は、エンドポイントを作成した後は変更できません。 [bool]
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfiguration フロントエンド IP アドレスへの参照。 サブリソース
frontendPort 外部エンドポイントのポートです。 各規則のポート番号は、Load Balancer内で一意である必要があります。 許容される値は 0 ~ 65534 です。 値 0 では "任意のポート" が有効になります。 int (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 この値は、4 ~ 30 分の範囲で設定できます。 既定値は 4 分です。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 INT
loadDistribution このルールの負荷分散ポリシー。 "Default"
"SourceIP"
"SourceIPProtocol"
プローブ 負荷分散規則によって使用されるロード バランサー プローブへの参照。 サブリソース
protocol 負荷分散規則で使用されるトランスポート プロトコルへの参照。 "All"
"Tcp"
"Udp" (必須)

OutboundRule

名前 説明
id リソースの ID string
name ロード バランサーによって使用される送信規則のセット内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサーの送信規則のプロパティ。 OutboundRulePropertiesFormat

OutboundRulePropertiesFormat

名前 説明
allocatedOutboundPorts NAT に使用する送信ポートの数。 INT
backendAddressPool DIP のプールへの参照。 送信トラフィックは、バックエンド IP 内の IP 間でランダムに負荷分散されます。 SubResource (必須)
enableTcpReset TCP フローのアイドル タイムアウトまたは予期しない接続終了で双方向 TCP リセットを受信します。 この要素が使用されるのは、プロトコルが TCP に設定されている場合のみです。 [bool]
frontendIPConfigurations ロード バランサーのフロントエンド IP アドレス。 SubResource[] (必須)
idleTimeoutInMinutes TCP アイドル接続のタイムアウト。 INT
protocol ロード バランサーの送信規則のプロトコル。 "All"
"Tcp"
"Udp" (必須)

プローブ

名前 説明
id リソースの ID string
name ロード バランサーによって使用されるプローブのセット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 string
properties ロード バランサー プローブのプロパティ。 ProbePropertiesFormat

ProbePropertiesFormat

名前 説明
intervalInSeconds どのぐらいの頻度でエンドポイントに正常性状態をプローブするかを表す間隔 (秒)。 この間隔は、割り当てられているタイムアウト期間 (秒) の 1/2 よりもわずかに短くするのが一般的です。そうすることで、2 回のプローブを完全に実施したうえで、インスタンスをローテーションから除外することができます。 既定値は 15、最小値は 5 です。 INT
numberOfProbes 応答がない場合、エンドポイントへのそれ以上のトラフィックの配信を停止するプローブの数。 この値を使用すると、エンドポイントを Azure で使用される一般的な時間よりも速く、または低速にローテーションから外すことができます。 INT
port プローブ通信用ポート。 指定できる値は 1 以上 65535 以下です。 int (必須)
probeThreshold このエンドポイントへのトラフィックの配信を許可または拒否するための、連続した成功または失敗したプローブの数。 この値と等しい連続するプローブの数に失敗すると、エンドポイントはローテーションから取り出され、同じ数の正常な連続プローブを回転に戻す必要があります。 INT
protocol エンドポイントのプロトコル。 'Tcp' が指定されている場合、プローブを正常に実行するには、受信した ACK が必要です。 'Http' または 'Https' が指定されている場合、プローブを成功させるには、 からの 200 OK 応答が URI を指定する必要があります。 "Http"
"Https"
"Tcp" (必須)
requestPath VM の正常性状態を要求する目的で使用される URI。 プロトコルが http に設定されている場合は、パスが必要です。 それ以外の場合は、許可されません。 既定値はありません。 string

LoadBalancerSku

名前 説明
name ロード バランサー SKU の名前。 "Basic"
"ゲートウェイ"
"Standard"
レベル ロード バランサー SKU の層。 "Global"
"Regional"