-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add application gateway backendHealthOnDemand Operation (#5552)
* Add application gateway backendHealthOnDemand Operation * Update ApplicationGatewayBackendHealthTest.json * change backendHealthOnDemand to getBackendHealthOnDemand * add x-ms-long-running-operation-options * fix api version
- Loading branch information
1 parent
e2c3ec3
commit 91df3a0
Showing
2 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...ger/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-02-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"applicationGatewayName": "appgw", | ||
"probeRequest": { | ||
"protocol": "Http", | ||
"pickHostNameFromBackendHttpSettings": true, | ||
"path": "/", | ||
"timeout": 30, | ||
"backendPoolName": "MFAnalyticsPool", | ||
"backendHttpSettingName": "MFPoolSettings" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"backendAddressPool": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" | ||
}, | ||
"backendHealthHttpSettings": { | ||
"backendHttpSettings": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" | ||
}, | ||
"servers": [ | ||
{ | ||
"address": "10.220.1.4", | ||
"health": "Up" | ||
}, | ||
{ | ||
"address": "10.220.1.5", | ||
"health": "Up" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |