You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/load-balancer/load-balancer-manage-health-status.md
+35-37Lines changed: 35 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,52 +101,48 @@ To retrieve the health status information via REST API, you need to do a two req
101
101
102
102
1. Use the following POST request to obtain the Location URI from the Response Headers.
103
103
104
-
```rest
105
-
106
-
107
-
POST https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/loadBalancers/<loadBalancerName>/loadBalancingRules/<loadBalancingRulesName>/health?api-version=2024-03-01&preserve-view=true
108
-
Authorization: Bearer <access token>
109
-
110
-
```
104
+
```rest
105
+
POST https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/loadBalancers/<loadBalancerName>/loadBalancingRules/<loadBalancingRulesName>/health?api-version=2024-03-01&preserve-view=true
106
+
Authorization: Bearer <access token>
107
+
```
111
108
112
109
1. Copy the Location URI from the Response Headers. Location URI should follow this schema.
1. Use the copied Location URI to make a GET request.
119
116
120
-
```rest
121
-
GET https://management.azure.com/subscriptions/<subscriptionId>/providers/Microsoft.Network/locations/<locationName>/operationResults/<operationResultsId>?api-version=2024-03-01&preserve-view=true
122
-
123
-
Authorization: Bearer <access token>
124
-
125
-
```
117
+
```rest
118
+
GET https://management.azure.com/subscriptions/<subscriptionId>/providers/Microsoft.Network/locations/<locationName>/operationResults/<operationResultsId>?api-version=2024-03-01&preserve-view=true
119
+
120
+
Authorization: Bearer <access token>
121
+
```
126
122
127
123
1. A status code of 200 is returned and the health status information is displayed in the response body similar to this example response:
0 commit comments