Load Balancers - Create Or Update
建立或更新負載平衡器。
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}?api-version=2024-05-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
load
|
path | True |
string |
負載平衡器的名稱。 |
resource
|
path | True |
string |
資源群組的名稱。 |
subscription
|
path | True |
string |
可唯一識別Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶標識碼會形成每個服務呼叫 URI 的一部分。 |
api-version
|
query | True |
string |
用戶端 API 版本。 |
要求本文
名稱 | 類型 | Description |
---|---|---|
extendedLocation |
負載平衡器的擴充位置。 |
|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
properties.backendAddressPools |
負載平衡器所使用的後端位址池集合。 |
|
properties.frontendIPConfigurations |
物件,表示要用於負載平衡器的前端IP。 |
|
properties.inboundNatPools |
在與負載平衡器相關聯的 NIC 上,定義輸入 NAT 到單一後埠的外部埠範圍。 輸入 NAT 規則會自動針對使用此範圍的外部埠,針對與 Load Balancer 相關聯的每個 NIC 建立。 在Load Balancer上定義輸入NAT集區與定義輸入NAT規則互斥。 輸入 NAT 集區會從虛擬機擴展集參考。 與個別虛擬機相關聯的 NIC 無法參考輸入 NAT 集區。 它們必須參考個別的輸入NAT規則。 |
|
properties.inboundNatRules |
負載平衡器所使用的輸入NAT規則集合。 在負載平衡器上定義輸入NAT規則與定義輸入NAT集區互斥。 輸入 NAT 集區會從虛擬機擴展集參考。 與個別虛擬機相關聯的 NIC 無法參考輸入 NAT 集區。 它們必須參考個別的輸入NAT規則。 |
|
properties.loadBalancingRules |
代表負載平衡規則的物件集合取得布建。 |
|
properties.outboundRules |
輸出規則。 |
|
properties.probes |
Probe[] |
負載平衡器中使用的探查物件集合。 |
sku |
負載平衡器 SKU。 |
|
tags |
object |
資源標籤。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
更新成功。 作業會傳回產生的LoadBalancer資源。 |
|
201 Created |
建立成功。 作業會傳回產生的LoadBalancer資源。 |
|
Other Status Codes |
描述作業失敗原因的錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
範例
Create load balancer
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false,
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false
}
}
],
"inboundNatPools": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Basic"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false,
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false
}
}
],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Basic"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false,
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false
}
}
],
"inboundNatPools": []
}
}
Create load balancer with Frontend IP in Zone 1
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
},
"zones": [
"1"
]
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"inboundNatPools": [],
"outboundRules": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"zones": [
"1"
],
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"zones": [
"1"
],
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
Create load balancer with Gateway Load Balancer Consumer configured
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"gatewayLoadBalancer": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"inboundNatPools": [],
"outboundRules": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
],
"gatewayLoadBalancer": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
],
"gatewayLoadBalancer": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Gateway"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {
"tunnelInterfaces": [
{
"port": 15000,
"identifier": 900,
"protocol": "VXLAN",
"type": "Internal"
},
{
"port": 15001,
"identifier": 901,
"protocol": "VXLAN",
"type": "Internal"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 0,
"backendPort": 0,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "All",
"loadDistribution": "Default",
"backendAddressPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
}
],
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatPools": [],
"outboundRules": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Gateway"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"tunnelInterfaces": [
{
"port": 15000,
"identifier": 900,
"protocol": "VXLAN",
"type": "Internal"
},
{
"port": 15001,
"identifier": 901,
"protocol": "VXLAN",
"type": "Internal"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
}
],
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Gateway"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"tunnelInterfaces": [
{
"port": 15000,
"identifier": 900,
"protocol": "VXLAN",
"type": "Internal"
},
{
"port": 15001,
"identifier": 901,
"protocol": "VXLAN",
"type": "Internal"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
}
],
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Gateway"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb1",
"properties": {}
},
{
"name": "be-lb2",
"properties": {}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 0,
"backendPort": 0,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "All",
"loadDistribution": "Default",
"backendAddressPool": {},
"backendAddressPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2"
}
],
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatPools": [],
"outboundRules": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Gateway"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"tunnelInterfaces": [
{
"port": 15000,
"identifier": 900,
"protocol": "VXLAN",
"type": "Internal"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
},
{
"name": "be-lb2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"tunnelInterfaces": [
{
"port": 15001,
"identifier": 901,
"protocol": "VXLAN",
"type": "Internal"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 0,
"backendPort": 0,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2"
}
],
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Gateway"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"tunnelInterfaces": [
{
"port": 15000,
"identifier": 900,
"protocol": "VXLAN",
"type": "Internal"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
},
{
"name": "be-lb2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"tunnelInterfaces": [
{
"port": 15001,
"identifier": 901,
"protocol": "VXLAN",
"type": "Internal"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2"
}
],
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
Create load balancer with Global Tier and one regional load balancer in its backend pool
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard",
"tier": "Global"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {
"loadBalancerBackendAddresses": [
{
"name": "regional-lb1-address",
"properties": {
"loadBalancerFrontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb"
}
}
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": false,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
]
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard",
"tier": "Global"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancerBackendAddresses": [
{
"name": "regional-lb1-address",
"properties": {
"loadBalancerFrontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb"
}
}
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": false,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
]
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard",
"tier": "Global"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancerBackendAddresses": [
{
"name": "regional-lb1-address",
"properties": {
"loadBalancerFrontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb"
}
}
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": false,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
]
}
}
Create load balancer with inbound nat pool
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"frontendIPConfigurations": [
{
"properties": {
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
}
},
"name": "test",
"zones": [],
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
}
],
"backendAddressPools": [],
"loadBalancingRules": [],
"probes": [],
"inboundNatRules": [],
"outboundRules": [],
"inboundNatPools": [
{
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
},
"protocol": "Tcp",
"frontendPortRangeStart": 8080,
"frontendPortRangeEnd": 8085,
"backendPort": 8888,
"idleTimeoutInMinutes": 10,
"enableFloatingIP": true,
"enableTcpReset": true
},
"name": "test",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
}
]
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "test",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
},
"inboundNatPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
}
]
}
}
],
"backendAddressPools": [],
"loadBalancingRules": [],
"probes": [],
"inboundNatRules": [],
"outboundRules": [],
"inboundNatPools": [
{
"name": "test",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
"type": "Microsoft.Network/loadBalancers/inboundNatPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendPortRangeStart": 8080,
"frontendPortRangeEnd": 8085,
"backendPort": 8888,
"idleTimeoutInMinutes": 10,
"enableFloatingIP": true,
"protocol": "Tcp",
"enableTcpReset": true,
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
}
}
}
]
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "test",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
},
"inboundNatPools": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
}
]
}
}
],
"backendAddressPools": [],
"loadBalancingRules": [],
"probes": [],
"inboundNatRules": [],
"outboundRules": [],
"inboundNatPools": [
{
"name": "test",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
"type": "Microsoft.Network/loadBalancers/inboundNatPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendPortRangeStart": 8080,
"frontendPortRangeEnd": 8085,
"backendPort": 8888,
"idleTimeoutInMinutes": 10,
"enableFloatingIP": true,
"protocol": "Tcp",
"enableTcpReset": true,
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
}
}
}
]
}
}
Create load balancer with outbound rules
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"publicIPAddress": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"protocol": "Tcp",
"loadDistribution": "Default",
"frontendPort": 80,
"backendPort": 80,
"idleTimeoutInMinutes": 15,
"enableFloatingIP": true,
"disableOutboundSnat": true
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"inboundNatPools": [],
"outboundRules": [
{
"name": "rule1",
"properties": {
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"frontendIPConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
],
"protocol": "All"
}
}
]
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
],
"outboundRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
}
],
"privateIPAddressVersion": "IPv4"
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"outboundRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false,
"loadDistribution": "Default",
"disableOutboundSnat": true,
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false
}
}
],
"outboundRules": [
{
"name": "rule1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1",
"type": "Microsoft.Network/loadBalancers/outboundRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"allocatedOutboundPorts": 1024,
"protocol": "All",
"enableTcpReset": false,
"idleTimeoutInMinutes": 4,
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"frontendIPConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
]
}
}
],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
],
"outboundRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
}
],
"privateIPAddressVersion": "IPv4"
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"outboundRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
}
],
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false,
"loadDistribution": "Default",
"disableOutboundSnat": true,
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"enableTcpReset": false
}
}
],
"outboundRules": [
{
"name": "rule1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1",
"type": "Microsoft.Network/loadBalancers/outboundRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"allocatedOutboundPorts": 1024,
"protocol": "All",
"enableTcpReset": false,
"idleTimeoutInMinutes": 4,
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"frontendIPConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
]
}
}
],
"inboundNatPools": []
}
}
Create load balancer with Standard SKU
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"inboundNatPools": [],
"outboundRules": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
Create load balancer with Sync Mode Property on Pool
範例要求
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2024-05-01
{
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"frontendIPConfigurations": [
{
"name": "fe-lb",
"properties": {
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
}
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"properties": {
"syncMode": "Automatic",
"virtualNetwork": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb"
}
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
}
}
}
],
"probes": [
{
"name": "probe-lb",
"properties": {
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"properties": {
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"inboundNatPools": [],
"outboundRules": []
}
}
範例回覆
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"virtualNetwork": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"syncMode": "Automatic"
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
{
"name": "lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
"type": "Microsoft.Network/loadBalancers",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"frontendIPConfigurations": [
{
"name": "fe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAddress": "10.0.1.4",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"inboundNatRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
}
]
}
}
],
"backendAddressPools": [
{
"name": "be-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
"type": "Microsoft.Network/loadBalancers/backendAddressPools",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"virtualNetwork": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb"
},
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
],
"syncMode": "Automatic"
}
}
],
"loadBalancingRules": [
{
"name": "rulelb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
"type": "Microsoft.Network/loadBalancers/loadBalancingRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 80,
"backendPort": 80,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp",
"loadDistribution": "Default",
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
},
"probe": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
},
"disableOutboundSnat": false
}
}
],
"probes": [
{
"name": "probe-lb",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
"type": "Microsoft.Network/loadBalancers/probes",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"protocol": "Http",
"port": 80,
"requestPath": "healthcheck.aspx",
"intervalInSeconds": 15,
"numberOfProbes": 2,
"probeThreshold": 1,
"loadBalancingRules": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
}
]
}
}
],
"inboundNatRules": [
{
"name": "in-nat-rule",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
"type": "Microsoft.Network/loadBalancers/inboundNatRules",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"properties": {
"provisioningState": "Succeeded",
"frontendIPConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
},
"frontendPort": 3389,
"backendPort": 3389,
"enableFloatingIP": true,
"idleTimeoutInMinutes": 15,
"protocol": "Tcp"
}
}
],
"outboundRules": [],
"inboundNatPools": []
}
}
定義
名稱 | Description |
---|---|
Application |
應用程式閘道的後端位址。 |
Application |
應用程式閘道的後端位址池。 |
Application |
應用程式閘道的IP組態。 目前允許1個公用和1個私人IP組態。 |
Application |
資源群組中的應用程式安全組。 |
Auto |
私人連結服務的自動核准清單。 |
Backend |
後端IP位址的集區。 |
Cloud |
來自服務的錯誤回應。 |
Cloud |
來自服務的錯誤回應。 |
Custom |
包含來自客戶的自定義 Dns 解析組態。 |
Ddos |
包含公用IP的 DDoS 保護設定。 |
Ddos |
公用IP的 DDoS 保護模式 |
Delegation |
詳細說明要委派子網的服務。 |
Delete |
指定刪除 VM 時,公用 IP 位址會發生什麼事 |
Extended |
ExtendedLocation 複雜類型。 |
Extended |
擴充位置的類型。 |
Flow |
流量記錄資源。 |
Flow |
定義流程記錄格式的參數。 |
Flow |
流量記錄檔的文件類型。 |
Frontend |
負載平衡器的前端IP位址。 |
Gateway |
負載平衡器後端位址池的閘道關負載平衡器通道介面。 |
Gateway |
閘道連接平衡器通道介面的流量類型。 |
Gateway |
閘道連接平衡器通道介面的通訊協定。 |
Inbound |
負載平衡器的輸入NAT集區。 |
Inbound |
負載平衡器的輸入NAT規則。 |
IPAllocation |
IP 位址配置方法。 |
Ipam |
IpamPool 前置詞配置參考。 |
IPConfiguration |
IP 組態。 |
IPConfiguration |
IP 組態配置檔子資源。 |
Ip |
包含與 對象相關聯的 IpTag。 |
IPVersion |
IP 位址版本。 |
Load |
LoadBalancer 資源。 |
Load |
負載平衡器後端位址。 |
Load |
一旦設定后,系統管理狀態清單可以覆寫健康狀態探查,讓Load Balancer 一律會將新的連線轉送至後端,或拒絕新的連線並重設現有的連線。 |
Load |
負載平衡器中輸出規則的通訊協定。 |
Load |
負載平衡器的 SKU。 |
Load |
負載平衡器 SKU 的名稱。 |
Load |
負載平衡器 SKU 的階層。 |
Load |
負載平衡器的負載平衡規則。 |
Load |
此規則的負載分配原則。 |
Managed |
資源的身分識別。 |
Nat |
Nat 閘道資源。 |
Nat |
NAT 閘道的 SKU。 |
Nat |
Nat 閘道 SKU 的名稱。 |
Nat |
針對針對後端集區建立之輸入NAT規則的個別埠對應。 |
Network |
資源群組中的網路介面。 |
Network |
網路介面資源的輔助模式。 |
Network |
網路介面資源的輔助 SKU。 |
Network |
網路介面的 DNS 設定。 |
Network |
網路介面中的IPConfiguration。 |
Network |
網路介面的 PrivateLinkConnection 屬性。 |
Network |
網路介面資源的移轉階段。 |
Network |
網路介面資源的類型。 |
Network |
點選網路介面中的組態。 |
Network |
NetworkSecurityGroup 資源。 |
Outbound |
負載平衡器的輸出規則。 |
Private |
私人端點資源。 |
Private |
PrivateEndpointConnection 資源。 |
Private |
私人端點的IP組態。 |
Private |
私人鏈接服務資源。 |
Private |
PrivateLinkServiceConnection 資源。 |
Private |
服務取用者與提供者之間連線狀態的相關信息集合。 |
Private |
私人鏈接服務IP組態。 |
Probe |
負載平衡器探查。 |
Probe |
決定當所有後端實例被探查關閉時,負載平衡器如何處理新的連線。 |
Probe |
端點的通訊協定。 如果指定了 『Tcp』,則需要接收的 ACK,才能成功探查。 如果指定了 'Http' 或 'Https',則需要來自 指定 URI 的 200 OK 回應,才能成功探查。 |
Provisioning |
目前的布建狀態。 |
Public |
公用IP位址資源。 |
Public |
包含與公用IP位址相關聯的 DNS 記錄 FQDN。 |
Public |
功能變數名稱標籤範圍。 如果指定功能變數名稱標籤和功能變數名稱標籤範圍,則會為Microsoft Azure DNS 系統中的公用IP建立一個 DNS 記錄,其中包含 FQDN 中的哈希值。 |
Public |
公用IP位址的移轉階段。 |
Public |
公用IP位址的SKU。 |
Public |
公用IP位址 SKU 的名稱。 |
Public |
公用IP位址SKU的階層。 |
Resource |
用於資源的身分識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 會從虛擬機中移除任何身分識別。 |
Resource |
ResourceNavigationLink 資源。 |
Retention |
定義流量記錄保留原則的參數。 |
Route |
路由資源。 |
Route |
封包應傳送至的 Azure 躍點類型。 |
Route |
路由表資源。 |
Security |
網路安全性規則。 |
Security |
是否允許或拒絕網路流量。 |
Security |
規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 |
Security |
此規則適用的網路協定。 |
Service |
ServiceAssociationLink 資源。 |
Service |
服務端點原則資源。 |
Service |
服務端點原則定義。 |
Service |
服務端點屬性。 |
Sharing |
將此屬性設定為 Tenant,以允許與 AAD 租使用者中的其他訂用帳戶共用子網。 只有當 defaultOutboundAccess 設定為 false 時,才能設定此屬性,只有在子網是空的時,才能設定這兩個屬性。 |
Subnet |
虛擬網路資源中的子網。 |
Sub |
另一個子資源的參考。 |
Sync |
後端集區的後端位址同步模式 |
Traffic |
定義使用分析組態的參數。 |
Traffic |
定義使用分析組態的參數。 |
Transport |
端點的傳輸通訊協定。 |
User |
與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |
Virtual |
在子網的私人端點上啟用或停用套用網路原則。 |
Virtual |
在子網中的私人連結服務上啟用或停用套用網路原則。 |
Virtual |
虛擬網路點選資源。 |
Visibility |
私人連結服務的可見度清單。 |
ApplicationGatewayBackendAddress
應用程式閘道的後端位址。
名稱 | 類型 | Description |
---|---|---|
fqdn |
string |
完整功能變數名稱(FQDN)。 |
ipAddress |
string |
IP位址。 |
ApplicationGatewayBackendAddressPool
應用程式閘道的後端位址池。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
應用程式閘道內唯一的後端位址池名稱。 |
properties.backendAddresses |
後端位址。 |
|
properties.backendIPConfigurations |
網路介面中定義的IP參考集合。 |
|
properties.provisioningState |
後端位址池資源的布建狀態。 |
|
type |
string |
資源的類型。 |
ApplicationGatewayIPConfiguration
應用程式閘道的IP組態。 目前允許1個公用和1個私人IP組態。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
應用程式閘道內唯一的IP組態名稱。 |
properties.provisioningState |
應用程式閘道IP組態資源的布建狀態。 |
|
properties.subnet |
子網資源的參考。 應用程式閘道從中取得其私人位址的子網。 |
|
type |
string |
資源的類型。 |
ApplicationSecurityGroup
資源群組中的應用程式安全組。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.provisioningState |
應用程式安全組資源的布建狀態。 |
|
properties.resourceGuid |
string |
應用程式安全組資源的資源 GUID 屬性。 它可唯一識別資源,即使使用者變更其名稱,或跨訂用帳戶或資源群組移轉資源也一樣。 |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
AutoApproval
私人連結服務的自動核准清單。
名稱 | 類型 | Description |
---|---|---|
subscriptions |
string[] |
訂用帳戶清單。 |
BackendAddressPool
後端IP位址的集區。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用之後端位址池集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.backendIPConfigurations |
網路介面中定義的IP位址參考數位。 |
|
properties.drainPeriodInSeconds |
integer |
將 RESET 傳送至用戶端和後端位址之前,Load Balancer 會等候的秒數。 |
properties.inboundNatRules |
使用此後端位址池之輸入NAT規則的參考陣列。 |
|
properties.loadBalancerBackendAddresses |
後端位址的陣列。 |
|
properties.loadBalancingRules |
使用此後端位址池之負載平衡規則的參考陣列。 |
|
properties.location |
string |
後端位址池的位置。 |
properties.outboundRule |
使用此後端位址池之輸出規則的參考。 |
|
properties.outboundRules |
使用此後端位址池之輸出規則的參考數位。 |
|
properties.provisioningState |
後端位址池資源的布建狀態。 |
|
properties.syncMode |
後端集區的後端位址同步模式 |
|
properties.tunnelInterfaces |
閘道連接平衡器通道介面的陣列。 |
|
properties.virtualNetwork |
虛擬網路的參考。 |
|
type |
string |
資源的類型。 |
CloudError
來自服務的錯誤回應。
名稱 | 類型 | Description |
---|---|---|
error |
雲端錯誤本文。 |
CloudErrorBody
來自服務的錯誤回應。
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤的識別碼。 程序代碼是不變的,而且是要以程序設計方式取用。 |
details |
錯誤的其他詳細數據清單。 |
|
message |
string |
描述錯誤的訊息,適用於在使用者介面中顯示。 |
target |
string |
特定錯誤的目標。 例如,錯誤中的屬性名稱。 |
CustomDnsConfigPropertiesFormat
包含來自客戶的自定義 Dns 解析組態。
名稱 | 類型 | Description |
---|---|---|
fqdn |
string |
解析為私人端點 IP 位址的 Fqdn。 |
ipAddresses |
string[] |
私人端點的私人IP位址清單。 |
DdosSettings
包含公用IP的 DDoS 保護設定。
名稱 | 類型 | Description |
---|---|---|
ddosProtectionPlan |
與公用IP相關聯的 DDoS 保護計劃。 只有在 ProtectionMode 已啟用時,才能設定 |
|
protectionMode |
公用IP的 DDoS 保護模式 |
DdosSettingsProtectionMode
公用IP的 DDoS 保護模式
名稱 | 類型 | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
|
VirtualNetworkInherited |
string |
Delegation
詳細說明要委派子網的服務。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
子網內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.actions |
string[] |
委派時允許服務執行的動作。 |
properties.provisioningState |
服務委派資源的布建狀態。 |
|
properties.serviceName |
string |
應委派子網的服務名稱(例如Microsoft.Sql/servers)。 |
type |
string |
資源類型。 |
DeleteOptions
指定刪除 VM 時,公用 IP 位址會發生什麼事
名稱 | 類型 | Description |
---|---|---|
Delete |
string |
|
Detach |
string |
ExtendedLocation
ExtendedLocation 複雜類型。
名稱 | 類型 | Description |
---|---|---|
name |
string |
擴充位置的名稱。 |
type |
擴充位置的類型。 |
ExtendedLocationTypes
擴充位置的類型。
名稱 | 類型 | Description |
---|---|---|
EdgeZone |
string |
FlowLog
流量記錄資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
identity |
FlowLog 資源受控識別 |
|
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.enabled |
boolean |
啟用/停用流量記錄的旗標。 |
properties.enabledFilteringCriteria |
string |
選擇性欄位,可根據 SrcIP、SrcPort、DstIP、DstPort、通訊協定、加密、方向和動作來篩選網路流量記錄。 如果未指定,則會記錄所有網路流量。 |
properties.flowAnalyticsConfiguration |
定義使用分析組態的參數。 |
|
properties.format |
定義流程記錄格式的參數。 |
|
properties.provisioningState |
流量記錄的布建狀態。 |
|
properties.retentionPolicy |
定義流量記錄保留原則的參數。 |
|
properties.storageId |
string |
用來儲存流量記錄的記憶體帳戶標識碼。 |
properties.targetResourceGuid |
string |
將套用流量記錄的網路安全組 GUID。 |
properties.targetResourceId |
string |
將套用流量記錄的網路安全組標識碼。 |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
FlowLogFormatParameters
定義流程記錄格式的參數。
名稱 | 類型 | 預設值 | Description |
---|---|---|---|
type |
流量記錄檔的文件類型。 |
||
version |
integer |
0 |
流程記錄的版本(修訂)。 |
FlowLogFormatType
流量記錄檔的文件類型。
名稱 | 類型 | Description |
---|---|---|
JSON |
string |
FrontendIPConfiguration
負載平衡器的前端IP位址。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用前端IP組態集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.gatewayLoadBalancer |
閘道負載平衡器前端IP的參考。 |
|
properties.inboundNatPools |
使用此前端IP之輸入集區的參考數位。 |
|
properties.inboundNatRules |
使用此前端IP之輸入規則的參考數位。 |
|
properties.loadBalancingRules |
使用此前端IP之負載平衡規則的參考數位。 |
|
properties.outboundRules |
使用此前端 IP 之輸出規則的參考數位。 |
|
properties.privateIPAddress |
string |
IP 組態的私人IP位址。 |
properties.privateIPAddressVersion |
特定 ipconfiguration 是 IPv4 或 IPv6。 預設值會視為 IPv4。 |
|
properties.privateIPAllocationMethod |
私人IP配置方法。 |
|
properties.provisioningState |
前端IP組態資源的布建狀態。 |
|
properties.publicIPAddress |
公用IP資源的參考。 |
|
properties.publicIPPrefix |
公用IP前置詞資源的參考。 |
|
properties.subnet |
子網資源的參考。 |
|
type |
string |
資源的類型。 |
zones |
string[] |
可用性區域清單,表示為資源配置的IP必須來自。 |
GatewayLoadBalancerTunnelInterface
負載平衡器後端位址池的閘道關負載平衡器通道介面。
名稱 | 類型 | Description |
---|---|---|
identifier |
integer |
閘道連接平衡器通道介面的識別碼。 |
port |
integer |
閘道連接平衡器通道介面的埠。 |
protocol |
閘道連接平衡器通道介面的通訊協定。 |
|
type |
閘道連接平衡器通道介面的流量類型。 |
GatewayLoadBalancerTunnelInterfaceType
閘道連接平衡器通道介面的流量類型。
名稱 | 類型 | Description |
---|---|---|
External |
string |
|
Internal |
string |
|
None |
string |
GatewayLoadBalancerTunnelProtocol
閘道連接平衡器通道介面的通訊協定。
名稱 | 類型 | Description |
---|---|---|
Native |
string |
|
None |
string |
|
VXLAN |
string |
InboundNatPool
負載平衡器的輸入NAT集區。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用之輸入NAT集區集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.backendPort |
integer |
用於端點上內部連線的埠。 可接受的值介於 1 到 65535 之間。 |
properties.enableFloatingIP |
boolean |
針對設定 SQL AlwaysOn 可用性群組所需的浮動 IP 功能,設定虛擬機的端點。 使用 SQL Server 中的 SQL AlwaysOn 可用性群組時,需要此設定。 建立端點之後,就無法變更此設定。 |
properties.enableTcpReset |
boolean |
在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.frontendIPConfiguration |
前端IP位址的參考。 |
|
properties.frontendPortRangeEnd |
integer |
外部埠範圍中的最後一個埠號碼,用來提供與負載平衡器相關聯的輸入 Nat 給 NIC。 可接受的值範圍介於 1 到 65535 之間。 |
properties.frontendPortRangeStart |
integer |
外部埠範圍中的第一個埠號碼,用來為與負載平衡器相關聯的 NIC 提供輸入 Nat。 可接受的值範圍介於 1 到 65534 之間。 |
properties.idleTimeoutInMinutes |
integer |
TCP 閑置連線的逾時。 此值可以設定在 4 到 30 分鐘之間。 預設值為 4 分鐘。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.protocol |
輸入 NAT 集區所使用的傳輸通訊協議參考。 |
|
properties.provisioningState |
輸入 NAT 集區資源的布建狀態。 |
|
type |
string |
資源的類型。 |
InboundNatRule
負載平衡器的輸入NAT規則。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用之輸入NAT規則集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.backendAddressPool |
backendAddressPool 資源的參考。 |
|
properties.backendIPConfiguration |
VM 網路介面上定義之私人IP位址的參考。 傳送至每個前端IP組態前埠的流量會轉送到後端IP。 |
|
properties.backendPort |
integer |
用於內部端點的埠。 可接受的值範圍從 1 到 65535。 |
properties.enableFloatingIP |
boolean |
針對設定 SQL AlwaysOn 可用性群組所需的浮動 IP 功能,設定虛擬機的端點。 使用 SQL Server 中的 SQL AlwaysOn 可用性群組時,需要此設定。 建立端點之後,就無法變更此設定。 |
properties.enableTcpReset |
boolean |
在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.frontendIPConfiguration |
前端IP位址的參考。 |
|
properties.frontendPort |
integer |
外部端點的埠。 每個規則的埠號碼在Load Balancer內必須是唯一的。 可接受的值範圍從 1 到 65534。 |
properties.frontendPortRangeEnd |
integer |
外部端點的埠範圍結束。 此屬性會與 BackendAddressPool 和 FrontendPortRangeStart 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 |
properties.frontendPortRangeStart |
integer |
外部端點的埠範圍開始。 此屬性會與 BackendAddressPool 和 FrontendPortRangeEnd 搭配使用。 系統會針對來自 BackendAddressPool 的每個後端位址建立個別輸入 NAT 規則埠對應。 可接受的值範圍從 1 到 65534。 |
properties.idleTimeoutInMinutes |
integer |
TCP 閑置連線的逾時。 此值可以設定在 4 到 30 分鐘之間。 預設值為 4 分鐘。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.protocol |
負載平衡規則所使用的傳輸通訊協議參考。 |
|
properties.provisioningState |
輸入 NAT 規則資源的布建狀態。 |
|
type |
string |
資源的類型。 |
IPAllocationMethod
IP 位址配置方法。
名稱 | 類型 | Description |
---|---|---|
Dynamic |
string |
|
Static |
string |
IpamPoolPrefixAllocation
IpamPool 前置詞配置參考。
名稱 | 類型 | Description |
---|---|---|
allocatedAddressPrefixes |
string[] |
相關聯資源的 IpamPool 中指派的 IP 位址前置詞清單。 |
numberOfIpAddresses |
string |
要配置的IP位址數目。 |
pool.id |
string |
相關聯 Azure IpamPool 資源的資源標識碼。 |
IPConfiguration
IP 組態。
名稱 | 類型 | 預設值 | Description |
---|---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
|
id |
string |
資源標識碼。 |
|
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
|
properties.privateIPAddress |
string |
IP 組態的私人IP位址。 |
|
properties.privateIPAllocationMethod | Dynamic |
私人IP位址配置方法。 |
|
properties.provisioningState |
IP 組態資源的布建狀態。 |
||
properties.publicIPAddress |
公用IP資源的參考。 |
||
properties.subnet |
子網資源的參考。 |
IPConfigurationProfile
IP 組態配置檔子資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源的名稱。 此名稱可用來存取資源。 |
properties.provisioningState |
IP 組態配置檔資源的布建狀態。 |
|
properties.subnet |
用來建立容器網路介面IP組態之子網資源的參考。 |
|
type |
string |
子資源類型。 |
IpTag
包含與 對象相關聯的 IpTag。
名稱 | 類型 | Description |
---|---|---|
ipTagType |
string |
IP 標籤類型。 範例:FirstPartyUsage。 |
tag |
string |
與公用IP相關聯的IP標籤。 範例:SQL。 |
IPVersion
IP 位址版本。
名稱 | 類型 | Description |
---|---|---|
IPv4 |
string |
|
IPv6 |
string |
LoadBalancer
LoadBalancer 資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
extendedLocation |
負載平衡器的擴充位置。 |
|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.backendAddressPools |
負載平衡器所使用的後端位址池集合。 |
|
properties.frontendIPConfigurations |
物件,表示要用於負載平衡器的前端IP。 |
|
properties.inboundNatPools |
在與負載平衡器相關聯的 NIC 上,定義輸入 NAT 到單一後埠的外部埠範圍。 輸入 NAT 規則會自動針對使用此範圍的外部埠,針對與 Load Balancer 相關聯的每個 NIC 建立。 在Load Balancer上定義輸入NAT集區與定義輸入NAT規則互斥。 輸入 NAT 集區會從虛擬機擴展集參考。 與個別虛擬機相關聯的 NIC 無法參考輸入 NAT 集區。 它們必須參考個別的輸入NAT規則。 |
|
properties.inboundNatRules |
負載平衡器所使用的輸入NAT規則集合。 在負載平衡器上定義輸入NAT規則與定義輸入NAT集區互斥。 輸入 NAT 集區會從虛擬機擴展集參考。 與個別虛擬機相關聯的 NIC 無法參考輸入 NAT 集區。 它們必須參考個別的輸入NAT規則。 |
|
properties.loadBalancingRules |
代表負載平衡規則的物件集合取得布建。 |
|
properties.outboundRules |
輸出規則。 |
|
properties.probes |
Probe[] |
負載平衡器中使用的探查物件集合。 |
properties.provisioningState |
負載平衡器資源的布建狀態。 |
|
properties.resourceGuid |
string |
負載平衡器資源的資源 GUID 屬性。 |
sku |
負載平衡器 SKU。 |
|
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
LoadBalancerBackendAddress
負載平衡器後端位址。
名稱 | 類型 | Description |
---|---|---|
name |
string |
後端位址的名稱。 |
properties.adminState |
一旦設定后,系統管理狀態清單可以覆寫健康狀態探查,讓Load Balancer 一律會將新的連線轉送至後端,或拒絕新的連線並重設現有的連線。 |
|
properties.inboundNatRulesPortMapping |
輸入 NAT 規則埠對應的集合。 |
|
properties.ipAddress |
string |
屬於參考虛擬網路的IP位址。 |
properties.loadBalancerFrontendIPConfiguration |
區域負載平衡器中定義的前端IP位址組態參考。 |
|
properties.networkInterfaceIPConfiguration |
網路介面中定義的IP位址參考。 |
|
properties.subnet |
現有子網的參考。 |
|
properties.virtualNetwork |
現有虛擬網路的參考。 |
LoadBalancerBackendAddressAdminState
一旦設定后,系統管理狀態清單可以覆寫健康狀態探查,讓Load Balancer 一律會將新的連線轉送至後端,或拒絕新的連線並重設現有的連線。
名稱 | 類型 | Description |
---|---|---|
Down |
string |
|
None |
string |
|
Up |
string |
LoadBalancerOutboundRuleProtocol
負載平衡器中輸出規則的通訊協定。
名稱 | 類型 | Description |
---|---|---|
All |
string |
|
Tcp |
string |
|
Udp |
string |
LoadBalancerSku
負載平衡器的 SKU。
名稱 | 類型 | Description |
---|---|---|
name |
負載平衡器 SKU 的名稱。 |
|
tier |
負載平衡器 SKU 的階層。 |
LoadBalancerSkuName
負載平衡器 SKU 的名稱。
名稱 | 類型 | Description |
---|---|---|
Basic |
string |
|
Gateway |
string |
|
Standard |
string |
LoadBalancerSkuTier
負載平衡器 SKU 的階層。
名稱 | 類型 | Description |
---|---|---|
Global |
string |
|
Regional |
string |
LoadBalancingRule
負載平衡器的負載平衡規則。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用之負載平衡規則集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.backendAddressPool |
DIP 集區的參考。 輸入流量會隨機負載平衡後端IP中的IP。 |
|
properties.backendAddressPools |
DIP 集區的參考陣列。 |
|
properties.backendPort |
integer |
用於端點上內部連線的埠。 可接受的值為 0 到 65535。 請注意,值 0 會啟用「任何埠」。 |
properties.disableOutboundSnat |
boolean |
設定後端集區中 VM 的 SNAT,以使用負載平衡規則前端中指定的 publicIP 位址。 |
properties.enableFloatingIP |
boolean |
針對設定 SQL AlwaysOn 可用性群組所需的浮動 IP 功能,設定虛擬機的端點。 使用 SQL Server 中的 SQL AlwaysOn 可用性群組時,需要此設定。 建立端點之後,就無法變更此設定。 |
properties.enableTcpReset |
boolean |
在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.frontendIPConfiguration |
前端IP位址的參考。 |
|
properties.frontendPort |
integer |
外部端點的埠。 每個規則的埠號碼在Load Balancer內必須是唯一的。 可接受的值介於 0 到 65534 之間。 請注意,值 0 會啟用「任何埠」。 |
properties.idleTimeoutInMinutes |
integer |
TCP 閑置連線的逾時。 此值可以設定在 4 到 30 分鐘之間。 預設值為 4 分鐘。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.loadDistribution |
此規則的負載分配原則。 |
|
properties.probe |
負載平衡規則所使用的負載平衡器探查參考。 |
|
properties.protocol |
負載平衡規則所使用的傳輸通訊協議參考。 |
|
properties.provisioningState |
負載平衡規則資源的布建狀態。 |
|
type |
string |
資源的類型。 |
LoadDistribution
此規則的負載分配原則。
名稱 | 類型 | Description |
---|---|---|
Default |
string |
|
SourceIP |
string |
|
SourceIPProtocol |
string |
ManagedServiceIdentity
資源的身分識別。
名稱 | 類型 | Description |
---|---|---|
principalId |
string |
系統指派身分識別的主體標識碼。 此屬性只會針對系統指派的身分識別提供。 |
tenantId |
string |
系統指派身分識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。 |
type |
用於資源的身分識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 會從虛擬機中移除任何身分識別。 |
|
userAssignedIdentities |
與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |
NatGateway
Nat 閘道資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.idleTimeoutInMinutes |
integer |
nat 閘道的閒置逾時。 |
properties.provisioningState |
NAT 閘道資源的布建狀態。 |
|
properties.publicIpAddresses |
與 nat 閘道資源相關聯的公用IP位址數位。 |
|
properties.publicIpPrefixes |
與 nat 閘道資源相關聯的公用IP前置詞數位。 |
|
properties.resourceGuid |
string |
NAT 閘道資源的資源 GUID 屬性。 |
properties.subnets |
使用此 nat 閘道資源參考子網的陣列。 |
|
sku |
nat 閘道 SKU。 |
|
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
zones |
string[] |
可用性區域清單,表示應該在其中部署 Nat 閘道的區域。 |
NatGatewaySku
NAT 閘道的 SKU。
名稱 | 類型 | Description |
---|---|---|
name |
Nat 閘道 SKU 的名稱。 |
NatGatewaySkuName
Nat 閘道 SKU 的名稱。
名稱 | 類型 | Description |
---|---|---|
Standard |
string |
NatRulePortMapping
針對針對後端集區建立之輸入NAT規則的個別埠對應。
名稱 | 類型 | Description |
---|---|---|
backendPort |
integer |
後埠。 |
frontendPort |
integer |
前埠。 |
inboundNatRuleName |
string |
輸入 NAT 規則的名稱。 |
NetworkInterface
資源群組中的網路介面。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
extendedLocation |
網路介面的擴充位置。 |
|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.auxiliaryMode |
網路介面資源的輔助模式。 |
|
properties.auxiliarySku |
網路介面資源的輔助 SKU。 |
|
properties.defaultOutboundConnectivityEnabled |
boolean |
是否已設定 nic 的預設輸出連線。 |
properties.disableTcpStateTracking |
boolean |
指出是否要停用 tcp 狀態追蹤。 |
properties.dnsSettings |
網路介面中的 DNS 設定。 |
|
properties.dscpConfiguration |
網路介面所連結之 dscp 組態的參考。 |
|
properties.enableAcceleratedNetworking |
boolean |
如果網路介面已設定為加速網路。 不適用於需要加速網路的 VM 大小。 |
properties.enableIPForwarding |
boolean |
指出是否在此網路介面上啟用IP轉送。 |
properties.hostedWorkloads |
string[] |
連結的BareMetal資源的參考清單。 |
properties.ipConfigurations |
網路介面的IPConfiguration清單。 |
|
properties.macAddress |
string |
網路介面的 MAC 位址。 |
properties.migrationPhase |
網路介面資源的移轉階段。 |
|
properties.networkSecurityGroup |
NetworkSecurityGroup 資源的參考。 |
|
properties.nicType |
網路介面資源的類型。 |
|
properties.primary |
boolean |
這是否為虛擬機上的主要網路介面。 |
properties.privateEndpoint |
網路介面所連結之私人端點的參考。 |
|
properties.privateLinkService |
網路介面資源的 Privatelinkservice。 |
|
properties.provisioningState |
網路介面資源的布建狀態。 |
|
properties.resourceGuid |
string |
網路介面資源的資源 GUID 屬性。 |
properties.tapConfigurations |
網路介面的 TapConfiguration 清單。 |
|
properties.virtualMachine |
虛擬機的參考。 |
|
properties.vnetEncryptionSupported |
boolean |
此 nic 是否已連結至的虛擬機支援加密。 |
properties.workloadType |
string |
BareMetal 資源的 NetworkInterface WorkloadType |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
NetworkInterfaceAuxiliaryMode
網路介面資源的輔助模式。
名稱 | 類型 | Description |
---|---|---|
AcceleratedConnections |
string |
|
Floating |
string |
|
MaxConnections |
string |
|
None |
string |
NetworkInterfaceAuxiliarySku
網路介面資源的輔助 SKU。
名稱 | 類型 | Description |
---|---|---|
A1 |
string |
|
A2 |
string |
|
A4 |
string |
|
A8 |
string |
|
None |
string |
NetworkInterfaceDnsSettings
網路介面的 DNS 設定。
名稱 | 類型 | Description |
---|---|---|
appliedDnsServers |
string[] |
如果使用此 NIC 的 VM 是可用性設定組的一部分,則此列表會擁有所有屬於可用性設定組一部分之 NIC 的所有 DNS 伺服器聯集。 此屬性是每部 VM 上設定的內容。 |
dnsServers |
string[] |
DNS 伺服器 IP 位址的清單。 使用 'AzureProvidedDNS' 切換至 Azure 提供的 DNS 解析。 'AzureProvidedDNS' 值無法與其他IP結合,它必須是 dnsServers 集合中唯一的值。 |
internalDnsNameLabel |
string |
此 NIC 的相對 DNS 名稱,用於相同虛擬網路中的 VM 之間的內部通訊。 |
internalDomainNameSuffix |
string |
即使未指定 internalDnsNameLabel,也會為 VM 的主要 NIC 建立 DNS 專案。 此 DNS 名稱可藉由串連 VM 名稱與 internalDomainNameSuffix 值來建構。 |
internalFqdn |
string |
支援相同虛擬網路中 VM 之間內部通訊的完整 DNS 名稱。 |
NetworkInterfaceIPConfiguration
網路介面中的IPConfiguration。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.applicationGatewayBackendAddressPools |
ApplicationGatewayBackendAddressPool 資源的參考。 |
|
properties.applicationSecurityGroups |
包含IP組態的應用程式安全組。 |
|
properties.gatewayLoadBalancer |
閘道負載平衡器前端IP的參考。 |
|
properties.loadBalancerBackendAddressPools |
LoadBalancerBackendAddressPool 資源的參考。 |
|
properties.loadBalancerInboundNatRules |
LoadBalancerInboundNatRules 的參考清單。 |
|
properties.primary |
boolean |
這是否為網路介面上的主要客戶位址。 |
properties.privateIPAddress |
string |
IP 組態的私人IP位址。 它可以是單一IP位址或格式為CIDR區塊 /. |
properties.privateIPAddressPrefixLength |
integer |
私人IP位址前綴長度。 如果指定且配置方法是動態的,則服務會配置 CIDR 區塊,而不是單一 IP 位址。 |
properties.privateIPAddressVersion |
特定IP組態為IPv4或IPv6。 預設值為 IPv4。 |
|
properties.privateIPAllocationMethod |
私人IP位址配置方法。 |
|
properties.privateLinkConnectionProperties |
Network |
網路介面的 PrivateLinkConnection 屬性。 |
properties.provisioningState |
網路介面IP組態的布建狀態。 |
|
properties.publicIPAddress |
系結至IP組態的公用IP位址。 |
|
properties.subnet |
系結至IP組態的子網。 |
|
properties.virtualNetworkTaps |
虛擬網路點選的參考。 |
|
type |
string |
資源類型。 |
NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties
網路介面的 PrivateLinkConnection 屬性。
名稱 | 類型 | Description |
---|---|---|
fqdns |
string[] |
目前私人連結連線的 FQDN 清單。 |
groupId |
string |
目前私人連結連線的群組標識碼。 |
requiredMemberName |
string |
目前私人連結連接的必要成員名稱。 |
NetworkInterfaceMigrationPhase
網路介面資源的移轉階段。
名稱 | 類型 | Description |
---|---|---|
Abort |
string |
|
Commit |
string |
|
Committed |
string |
|
None |
string |
|
Prepare |
string |
NetworkInterfaceNicType
網路介面資源的類型。
名稱 | 類型 | Description |
---|---|---|
Elastic |
string |
|
Standard |
string |
NetworkInterfaceTapConfiguration
點選網路介面中的組態。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.provisioningState |
網路介面點選設定資源的布建狀態。 |
|
properties.virtualNetworkTap |
虛擬網路點選資源的參考。 |
|
type |
string |
子資源類型。 |
NetworkSecurityGroup
NetworkSecurityGroup 資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.defaultSecurityRules |
網路安全組的預設安全性規則。 |
|
properties.flowLogs |
Flow |
流量記錄資源的參考集合。 |
properties.flushConnection |
boolean |
啟用時,從網路安全組連線建立的流程會在更新規則時重新評估。 初始啟用將會觸發重新評估。 |
properties.networkInterfaces |
網路介面參考的集合。 |
|
properties.provisioningState |
網路安全組資源的布建狀態。 |
|
properties.resourceGuid |
string |
網路安全組資源的資源 GUID 屬性。 |
properties.securityRules |
網路安全組的安全性規則集合。 |
|
properties.subnets |
Subnet[] |
子網參考的集合。 |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
OutboundRule
負載平衡器的輸出規則。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用之輸出規則集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.allocatedOutboundPorts |
integer |
要用於 NAT 的輸出埠數目。 |
properties.backendAddressPool |
DIP 集區的參考。 輸出流量會在後端IP中的IP之間隨機負載平衡。 |
|
properties.enableTcpReset |
boolean |
在 TCP 流程閒置逾時或非預期的連線終止時接收雙向 TCP 重設。 只有當通訊協定設定為 TCP 時,才會使用這個專案。 |
properties.frontendIPConfigurations |
負載平衡器的前端IP位址。 |
|
properties.idleTimeoutInMinutes |
integer |
TCP 閑置連線的逾時。 |
properties.protocol |
負載平衡器中輸出規則的通訊協定。 |
|
properties.provisioningState |
輸出規則資源的布建狀態。 |
|
type |
string |
資源的類型。 |
PrivateEndpoint
私人端點資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
extendedLocation |
負載平衡器的擴充位置。 |
|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.applicationSecurityGroups |
包含私人端點IP組態的應用程式安全組。 |
|
properties.customDnsConfigs |
自定義 DNS 組態的陣列。 |
|
properties.customNetworkInterfaceName |
string |
附加至私人端點之網路介面的自定義名稱。 |
properties.ipConfigurations |
私人端點的IP組態清單。 這會用來對應至第一方服務的端點。 |
|
properties.manualPrivateLinkServiceConnections |
遠端資源連線的相關信息群組。 當網路管理員無權核准遠程資源的連線時使用。 |
|
properties.networkInterfaces |
針對這個私人端點所建立之網路介面的參考陣列。 |
|
properties.privateLinkServiceConnections |
遠端資源連線的相關信息群組。 |
|
properties.provisioningState |
私人端點資源的布建狀態。 |
|
properties.subnet |
將配置私人IP之子網的標識碼。 |
|
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
PrivateEndpointConnection
PrivateEndpointConnection 資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.linkIdentifier |
string |
取用者鏈接識別碼。 |
properties.privateEndpoint |
私人端點的資源。 |
|
properties.privateEndpointLocation |
string |
私人端點的位置。 |
properties.privateLinkServiceConnectionState |
服務取用者與提供者之間連線狀態的相關信息集合。 |
|
properties.provisioningState |
私人端點聯機資源的布建狀態。 |
|
type |
string |
資源類型。 |
PrivateEndpointIPConfiguration
私人端點的IP組態。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
name |
string |
資源群組內唯一的資源名稱。 |
properties.groupId |
string |
從此私人端點應該連線到之遠端資源的群組標識碼。 |
properties.memberName |
string |
從此私人端點應該連線到之遠端資源取得之群組的成員名稱。 |
properties.privateIPAddress |
string |
從私人端點子網取得的私人IP位址。 |
type |
string |
資源類型。 |
PrivateLinkService
私人鏈接服務資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
extendedLocation |
負載平衡器的擴充位置。 |
|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.alias |
string |
私人鏈接服務的別名。 |
properties.autoApproval |
私人連結服務的自動核准清單。 |
|
properties.destinationIPAddress |
string |
私人鏈接服務的目的地IP位址。 |
properties.enableProxyProtocol |
boolean |
是否啟用 Proxy 通訊協定的私人連結服務。 |
properties.fqdns |
string[] |
Fqdn 的清單。 |
properties.ipConfigurations |
私人連結服務IP組態的陣列。 |
|
properties.loadBalancerFrontendIpConfigurations |
負載平衡器 IP 組態的參考數位。 |
|
properties.networkInterfaces |
這個私人連結服務所建立之網路介面的參考陣列。 |
|
properties.privateEndpointConnections |
關於私人端點連線的清單陣列。 |
|
properties.provisioningState |
私人鏈接服務資源的布建狀態。 |
|
properties.visibility |
私人連結服務的可見度清單。 |
|
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
PrivateLinkServiceConnection
PrivateLinkServiceConnection 資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.groupIds |
string[] |
從這個私人端點應該連線到之遠端資源取得之群組的標識碼。。 |
properties.privateLinkServiceConnectionState |
遠端資源連線狀態的唯讀資訊集合。 |
|
properties.privateLinkServiceId |
string |
私人鏈接服務的資源識別碼。 |
properties.provisioningState |
私人鏈接服務連線資源的布建狀態。 |
|
properties.requestMessage |
string |
傳遞至具有此連線要求之遠端資源擁有者的訊息。 限制為140個字元。 |
type |
string |
資源類型。 |
PrivateLinkServiceConnectionState
服務取用者與提供者之間連線狀態的相關信息集合。
名稱 | 類型 | Description |
---|---|---|
actionsRequired |
string |
訊息,指出服務提供者上的變更是否需要取用者的任何更新。 |
description |
string |
核准/拒絕連線的原因。 |
status |
string |
指出服務擁有者是否已核准/拒絕/移除連線。 |
PrivateLinkServiceIpConfiguration
私人鏈接服務IP組態。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
私人連結服務IP組態的名稱。 |
properties.primary |
boolean |
ip 組態是否為主要組態。 |
properties.privateIPAddress |
string |
IP 組態的私人IP位址。 |
properties.privateIPAddressVersion |
特定IP組態為IPv4或IPv6。 預設值為 IPv4。 |
|
properties.privateIPAllocationMethod |
私人IP位址配置方法。 |
|
properties.provisioningState |
私人鏈接服務IP組態資源的布建狀態。 |
|
properties.subnet |
子網資源的參考。 |
|
type |
string |
資源類型。 |
Probe
負載平衡器探查。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
負載平衡器所使用的探查集合內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.intervalInSeconds |
integer |
間隔,以秒為單位,以秒為單位,探查端點的健康情況狀態的頻率。 一般而言,間隔略低於配置逾時期間(以秒為單位)的一半,允許在將實例從輪替中取出之前進行兩個完整探查。 默認值為 15,最小值為 5。 |
properties.loadBalancingRules |
使用此探查的負載平衡器規則。 |
|
properties.noHealthyBackendsBehavior |
決定當所有後端實例被探查關閉時,負載平衡器如何處理新的連線。 |
|
properties.numberOfProbes |
integer |
如果沒有任何回應,探查的數目會導致停止將進一步的流量傳遞至端點。 這個值可讓端點從輪替中取出的速度比 Azure 中使用的一般時間快或慢。 |
properties.port |
integer |
用於通訊探查的埠。 可能的值範圍從 1 到 65535,包含。 |
properties.probeThreshold |
integer |
連續成功或失敗的探查數目,以允許或拒絕傳送至此端點的流量。 在連續探查數目等於此值之後,端點將會從輪替中取出,而且需要將相同數目的成功連續探查放迴旋轉中。 |
properties.protocol |
端點的通訊協定。 如果指定了 『Tcp』,則需要接收的 ACK,才能成功探查。 如果指定了 'Http' 或 'Https',則需要來自 指定 URI 的 200 OK 回應,才能成功探查。 |
|
properties.provisioningState |
探查資源的布建狀態。 |
|
properties.requestPath |
string |
用來向 VM 要求健康狀態的 URI。 如果通訊協定設定為 HTTP,則需要路徑。 否則,不允許它。 沒有預設值。 |
type |
string |
資源的類型。 |
ProbeNoHealthyBackendsBehavior
決定當所有後端實例被探查關閉時,負載平衡器如何處理新的連線。
名稱 | 類型 | Description |
---|---|---|
AllProbedDown |
string |
不會將任何新的流程傳送至後端集區。 |
AllProbedUp |
string |
當所有後端實例都探查關閉時,傳入封包將會傳送至所有實例。 |
ProbeProtocol
端點的通訊協定。 如果指定了 『Tcp』,則需要接收的 ACK,才能成功探查。 如果指定了 'Http' 或 'Https',則需要來自 指定 URI 的 200 OK 回應,才能成功探查。
名稱 | 類型 | Description |
---|---|---|
Http |
string |
|
Https |
string |
|
Tcp |
string |
ProvisioningState
目前的布建狀態。
名稱 | 類型 | Description |
---|---|---|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |
PublicIPAddress
公用IP位址資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
extendedLocation |
公用IP位址的擴充位置。 |
|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.ddosSettings |
與公用IP位址相關聯的 DDoS 保護自定義原則。 |
|
properties.deleteOption |
指定刪除 VM 時,公用 IP 位址會發生什麼事 |
|
properties.dnsSettings |
與公用IP位址相關聯的 DNS 記錄 FQDN。 |
|
properties.idleTimeoutInMinutes |
integer |
公用IP位址的閒置逾時。 |
properties.ipAddress |
string |
與公用IP位址資源相關聯的IP位址。 |
properties.ipConfiguration |
與公用IP位址相關聯的IP組態。 |
|
properties.ipTags |
Ip |
與公用IP位址相關聯的標記清單。 |
properties.linkedPublicIPAddress |
公用IP位址資源的連結公用IP位址。 |
|
properties.migrationPhase |
公用IP位址的移轉階段。 |
|
properties.natGateway |
公用IP位址的 NatGateway。 |
|
properties.provisioningState |
公用IP位址資源的布建狀態。 |
|
properties.publicIPAddressVersion |
公用IP位址版本。 |
|
properties.publicIPAllocationMethod |
公用IP位址配置方法。 |
|
properties.publicIPPrefix |
此公用IP位址的公用IP前綴應該從 中配置。 |
|
properties.resourceGuid |
string |
公用IP位址資源的資源 GUID 屬性。 |
properties.servicePublicIPAddress |
公用IP位址資源的服務公用IP位址。 |
|
sku |
公用IP位址 SKU。 |
|
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
zones |
string[] |
可用性區域清單,表示為資源配置的IP必須來自。 |
PublicIPAddressDnsSettings
包含與公用IP位址相關聯的 DNS 記錄 FQDN。
名稱 | 類型 | Description |
---|---|---|
domainNameLabel |
string |
功能變數名稱標籤。 功能變數名稱標籤和區域化 DNS 區域的串連組成與公用IP位址相關聯的完整功能變數名稱。 如果指定功能變數名稱標籤,則會為 Microsoft azure DNS 系統中的公用 IP 建立 A DNS 記錄。 |
domainNameLabelScope |
功能變數名稱標籤範圍。 如果指定功能變數名稱標籤和功能變數名稱標籤範圍,則會為Microsoft Azure DNS 系統中的公用IP建立一個 DNS 記錄,其中包含 FQDN 中的哈希值。 |
|
fqdn |
string |
與公用IP相關聯的 A DNS 記錄的完整功能變數名稱。 這是 domainNameLabel 和區域化 DNS 區域的串連。 |
reverseFqdn |
string |
反向 FQDN。 可解析為這個公用IP位址的用戶可見完整功能變數名稱。 如果指定 reverseFqdn,則會建立 PTR DNS 記錄,從 in-addr.arpa 網域中的 IP 位址指向反向 FQDN。 |
PublicIpAddressDnsSettingsDomainNameLabelScope
功能變數名稱標籤範圍。 如果指定功能變數名稱標籤和功能變數名稱標籤範圍,則會為Microsoft Azure DNS 系統中的公用IP建立一個 DNS 記錄,其中包含 FQDN 中的哈希值。
名稱 | 類型 | Description |
---|---|---|
NoReuse |
string |
|
ResourceGroupReuse |
string |
|
SubscriptionReuse |
string |
|
TenantReuse |
string |
PublicIPAddressMigrationPhase
公用IP位址的移轉階段。
名稱 | 類型 | Description |
---|---|---|
Abort |
string |
|
Commit |
string |
|
Committed |
string |
|
None |
string |
|
Prepare |
string |
PublicIPAddressSku
公用IP位址的SKU。
名稱 | 類型 | Description |
---|---|---|
name |
公用IP位址 SKU 的名稱。 |
|
tier |
公用IP位址SKU的階層。 |
PublicIPAddressSkuName
公用IP位址 SKU 的名稱。
名稱 | 類型 | Description |
---|---|---|
Basic |
string |
|
Standard |
string |
PublicIPAddressSkuTier
公用IP位址SKU的階層。
名稱 | 類型 | Description |
---|---|---|
Global |
string |
|
Regional |
string |
ResourceIdentityType
用於資源的身分識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 會從虛擬機中移除任何身分識別。
名稱 | 類型 | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
SystemAssigned, UserAssigned |
string |
|
UserAssigned |
string |
ResourceNavigationLink
ResourceNavigationLink 資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源瀏覽連結標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.link |
string |
連結至外部資源。 |
properties.linkedResourceType |
string |
鏈接資源的資源類型。 |
properties.provisioningState |
資源導覽鏈接資源的布建狀態。 |
|
type |
string |
資源類型。 |
RetentionPolicyParameters
定義流量記錄保留原則的參數。
名稱 | 類型 | 預設值 | Description |
---|---|---|---|
days |
integer |
0 |
保留流量記錄檔記錄的天數。 |
enabled |
boolean |
False |
啟用/停用保留的旗標。 |
Route
路由資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.addressPrefix |
string |
路由套用目的地 CIDR。 |
properties.hasBgpOverride |
boolean |
值,指出無論 LPM 為何,此路由是否覆寫重疊的 BGP 路由。 |
properties.nextHopIpAddress |
string |
IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 |
properties.nextHopType |
封包應傳送至的 Azure 躍點類型。 |
|
properties.provisioningState |
路由資源的布建狀態。 |
|
type |
string |
資源的型別。 |
RouteNextHopType
封包應傳送至的 Azure 躍點類型。
名稱 | 類型 | Description |
---|---|---|
Internet |
string |
|
None |
string |
|
VirtualAppliance |
string |
|
VirtualNetworkGateway |
string |
|
VnetLocal |
string |
RouteTable
路由表資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.disableBgpRoutePropagation |
boolean |
是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 |
properties.provisioningState |
路由表資源的布建狀態。 |
|
properties.resourceGuid |
string |
路由表的資源 GUID 屬性。 |
properties.routes |
Route[] |
路由表中包含的路由集合。 |
properties.subnets |
Subnet[] |
子網參考的集合。 |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
SecurityRule
網路安全性規則。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.access |
允許或拒絕網路流量。 |
|
properties.description |
string |
此規則的描述。 限制為140個字元。 |
properties.destinationAddressPrefix |
string |
目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 |
properties.destinationAddressPrefixes |
string[] |
目的地位址前置詞。 CIDR 或目的地IP範圍。 |
properties.destinationApplicationSecurityGroups |
指定為目的地的應用程式安全組。 |
|
properties.destinationPortRange |
string |
目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 |
properties.destinationPortRanges |
string[] |
目的地埠範圍。 |
properties.direction |
規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 |
|
properties.priority |
integer |
規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 |
properties.protocol |
此規則適用的網路協定。 |
|
properties.provisioningState |
安全性規則資源的布建狀態。 |
|
properties.sourceAddressPrefix |
string |
CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 |
properties.sourceAddressPrefixes |
string[] |
CIDR 或來源IP範圍。 |
properties.sourceApplicationSecurityGroups |
指定為來源的應用程式安全組。 |
|
properties.sourcePortRange |
string |
來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 |
properties.sourcePortRanges |
string[] |
來源埠範圍。 |
type |
string |
資源的型別。 |
SecurityRuleAccess
是否允許或拒絕網路流量。
名稱 | 類型 | Description |
---|---|---|
Allow |
string |
|
Deny |
string |
SecurityRuleDirection
規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。
名稱 | 類型 | Description |
---|---|---|
Inbound |
string |
|
Outbound |
string |
SecurityRuleProtocol
此規則適用的網路協定。
名稱 | 類型 | Description |
---|---|---|
* |
string |
|
Ah |
string |
|
Esp |
string |
|
Icmp |
string |
|
Tcp |
string |
|
Udp |
string |
ServiceAssociationLink
ServiceAssociationLink 資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.allowDelete |
boolean |
如果為 true,則可以刪除資源。 |
properties.link |
string |
連結至外部資源。 |
properties.linkedResourceType |
string |
鏈接資源的資源類型。 |
properties.locations |
string[] |
位置清單。 |
properties.provisioningState |
服務關聯鏈接資源的布建狀態。 |
|
type |
string |
資源類型。 |
ServiceEndpointPolicy
服務端點原則資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
kind |
string |
服務端點原則的種類。 這是用於 Azure 入口網站體驗的元數據。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.contextualServiceEndpointPolicies |
string[] |
關係型服務端點原則的集合。 |
properties.provisioningState |
服務端點原則資源的布建狀態。 |
|
properties.resourceGuid |
string |
服務端點原則資源的資源 GUID 屬性。 |
properties.serviceAlias |
string |
別名,指出原則是否屬於服務 |
properties.serviceEndpointPolicyDefinitions |
服務端點原則的服務端點原則定義集合。 |
|
properties.subnets |
Subnet[] |
子網參考的集合。 |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
ServiceEndpointPolicyDefinition
服務端點原則定義。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
properties.description |
string |
此規則的描述。 限制為140個字元。 |
properties.provisioningState |
服務端點原則定義資源的布建狀態。 |
|
properties.service |
string |
服務端點名稱。 |
properties.serviceResources |
string[] |
服務資源清單。 |
type |
string |
資源的型別。 |
ServiceEndpointPropertiesFormat
服務端點屬性。
名稱 | 類型 | Description |
---|---|---|
locations |
string[] |
位置清單。 |
networkIdentifier |
SubResource 作為網路標識符。 |
|
provisioningState |
服務端點資源的布建狀態。 |
|
service |
string |
端點服務的型別。 |
SharingScope
將此屬性設定為 Tenant,以允許與 AAD 租使用者中的其他訂用帳戶共用子網。 只有當 defaultOutboundAccess 設定為 false 時,才能設定此屬性,只有在子網是空的時,才能設定這兩個屬性。
名稱 | 類型 | Description |
---|---|---|
DelegatedServices |
string |
|
Tenant |
string |
Subnet
虛擬網路資源中的子網。
名稱 | 類型 | 預設值 | Description |
---|---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
|
id |
string |
資源標識碼。 |
|
name |
string |
資源群組內唯一的資源名稱。 此名稱可用來存取資源。 |
|
properties.addressPrefix |
string |
子網的位址前綴。 |
|
properties.addressPrefixes |
string[] |
子網的位址前綴清單。 |
|
properties.applicationGatewayIPConfigurations |
虛擬網路資源的應用程式閘道IP組態。 |
||
properties.defaultOutboundAccess |
boolean |
將此屬性設定為 false,以停用子網中所有 VM 的預設輸出連線。 此屬性只能在建立子網時設定,而且無法更新現有子網。 |
|
properties.delegations |
子網上委派的參考陣列。 |
||
properties.ipAllocations |
參考此子網的 IpAllocation 陣列。 |
||
properties.ipConfigurationProfiles |
參考此子網的IP組態配置檔陣列。 |
||
properties.ipConfigurations |
使用子網之網路介面IP組態的參考陣列。 |
||
properties.ipamPoolPrefixAllocations |
用於配置IP位址前置的IPAM集區清單。 |
||
properties.natGateway |
與此子網相關聯的 Nat 閘道。 |
||
properties.networkSecurityGroup |
NetworkSecurityGroup 資源的參考。 |
||
properties.privateEndpointNetworkPolicies | Disabled |
在子網的私人端點上啟用或停用套用網路原則。 |
|
properties.privateEndpoints |
私人端點參考的陣列。 |
||
properties.privateLinkServiceNetworkPolicies | Enabled |
在子網中的私人連結服務上啟用或停用套用網路原則。 |
|
properties.provisioningState |
子網資源的布建狀態。 |
||
properties.purpose |
string |
只讀字串,會根據委派和其他使用者定義屬性,識別此子網的使用意圖。 |
|
properties.resourceNavigationLinks |
使用子網參考外部資源的陣列。 |
||
properties.routeTable |
RouteTable 資源的參考。 |
||
properties.serviceAssociationLinks |
插入此子網之服務的參考數位。 |
||
properties.serviceEndpointPolicies |
服務端點原則的陣列。 |
||
properties.serviceEndpoints |
服務端點的陣列。 |
||
properties.sharingScope |
將此屬性設定為 Tenant,以允許與 AAD 租使用者中的其他訂用帳戶共用子網。 只有當 defaultOutboundAccess 設定為 false 時,才能設定此屬性,只有在子網是空的時,才能設定這兩個屬性。 |
||
type |
string |
資源類型。 |
SubResource
另一個子資源的參考。
名稱 | 類型 | Description |
---|---|---|
id |
string |
資源標識碼。 |
SyncMode
後端集區的後端位址同步模式
名稱 | 類型 | Description |
---|---|---|
Automatic |
string |
|
Manual |
string |
TrafficAnalyticsConfigurationProperties
定義使用分析組態的參數。
名稱 | 類型 | Description |
---|---|---|
enabled |
boolean |
啟用/停用使用分析的旗標。 |
trafficAnalyticsInterval |
integer |
以分鐘為單位的間隔,決定TA服務應該執行流程分析的頻率。 |
workspaceId |
string |
附加工作區的資源 GUID。 |
workspaceRegion |
string |
附加工作區的位置。 |
workspaceResourceId |
string |
附加工作區的資源標識碼。 |
TrafficAnalyticsProperties
定義使用分析組態的參數。
名稱 | 類型 | Description |
---|---|---|
networkWatcherFlowAnalyticsConfiguration |
定義使用分析組態的參數。 |
TransportProtocol
端點的傳輸通訊協定。
名稱 | 類型 | Description |
---|---|---|
All |
string |
|
Tcp |
string |
|
Udp |
string |
UserAssignedIdentities
與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
名稱 | 類型 | Description |
---|---|---|
|
VirtualNetworkPrivateEndpointNetworkPolicies
在子網的私人端點上啟用或停用套用網路原則。
名稱 | 類型 | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
|
NetworkSecurityGroupEnabled |
string |
|
RouteTableEnabled |
string |
VirtualNetworkPrivateLinkServiceNetworkPolicies
在子網中的私人連結服務上啟用或停用套用網路原則。
名稱 | 類型 | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
VirtualNetworkTap
虛擬網路點選資源。
名稱 | 類型 | Description |
---|---|---|
etag |
string |
每當更新資源時變更的唯一隻讀字串。 |
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
資源名稱。 |
properties.destinationLoadBalancerFrontEndIPConfiguration |
將接收點選的內部 Load Balancer 上私人 IP 位址的參考。 |
|
properties.destinationNetworkInterfaceIPConfiguration |
將接收點選之收集器 nic 之私人 IP 位址的參考。 |
|
properties.destinationPort |
integer |
將接收點選流量的 VXLAN 目的地埠。 |
properties.networkInterfaceTapConfigurations |
指定需要點選之網路介面IP組態的資源標識碼清單。 |
|
properties.provisioningState |
虛擬網路點選資源的布建狀態。 |
|
properties.resourceGuid |
string |
虛擬網路點選資源的資源 GUID 屬性。 |
tags |
object |
資源標籤。 |
type |
string |
資源類型。 |
Visibility
私人連結服務的可見度清單。
名稱 | 類型 | Description |
---|---|---|
subscriptions |
string[] |
訂用帳戶清單。 |