Skip to content

Commit e98b538

Browse files
authored
Merge pull request #48834 from christiankuhtz/patch-161
added json
2 parents d4c0aba + 86c4f5f commit e98b538

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

articles/load-balancer/load-balancer-custom-probe-overview.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@ A TCP probe fails when:
6565
* The TCP listener on the instance doesn't respond at all during the timeout period. A probe is marked down based on the number of failed probe requests, which were configured to go unanswered before marking the probe down.
6666
* The probe receives a TCP reset from the instance.
6767

68+
#### Resource Manager template
69+
70+
```json
71+
{
72+
"name": "tcp",
73+
"properties": {
74+
"protocol": "Tcp",
75+
"port": 1234,
76+
"intervalInSeconds": 5,
77+
"numberOfProbes": 2
78+
},
79+
```
80+
6881
### <a name="httpprobe"></a> <a name="httpsprobe"></a> HTTP / HTTPS probe
6982

7083
> [!NOTE]
@@ -81,6 +94,32 @@ An HTTP / HTTPS probe fails when:
8194
* Probe endpoint doesn't respond at all during the a 31 second timeout period. Depending on the timeout value that is set, multiple probe requests might go unanswered before the probe gets marked as not running (that is, before SuccessFailCount probes are sent).
8295
* Probe endpoint closes the connection via a TCP reset.
8396

97+
#### Resource Manager templates
98+
99+
```json
100+
{
101+
"name": "http",
102+
"properties": {
103+
"protocol": "Http",
104+
"port": 80,
105+
"requestPath": "/",
106+
"intervalInSeconds": 5,
107+
"numberOfProbes": 2
108+
},
109+
```
110+
111+
```json
112+
{
113+
"name": "https",
114+
"properties": {
115+
"protocol": "Https",
116+
"port": 443,
117+
"requestPath": "/",
118+
"intervalInSeconds": 5,
119+
"numberOfProbes": 2
120+
},
121+
```
122+
84123
### <a name="guestagent"></a>Guest agent probe (Classic only)
85124

86125
Cloud service roles (worker roles and web roles) use a guest agent for probe monitoring by default. You should consider this an option of last resort. You should always define an health probe explicitly with a TCP or HTTP probe. A guest agent probe is not as effective as explicitly defined probes for most application scenarios.
@@ -166,4 +205,3 @@ Basic public Load Balancer exposes health probe status summarized per backend po
166205
- [Get started creating a public load balancer in Resource Manager by using PowerShell](load-balancer-get-started-internet-arm-ps.md)
167206
- [REST API for health probes](https://docs.microsoft.com/rest/api/load-balancer/loadbalancerprobes/)
168207
- Request new health probe abilities with [Load Balancer's Uservoice](https://aka.ms/lbuservoice)
169-

0 commit comments

Comments
 (0)