Restrict traffic to web server (POST)
Published: July 12, 2016
Updated: July 12, 2016
Restrict traffic to web server protected by a WAF, so that the web server will only accept traffic from the WAF.
Method | Request Uri |
|---|---|
POST | https://<endpoint>/subscriptions/{subscriptionId}/resourceGroups/{rg}/providers/microsoft.Security/webApplicationFirewalls/{name}/restrictTraffic?api-version={api-version} |
Parameter | Description |
|---|---|
subscriptionId | The subscription id |
rg | The name of the resource group the IaaS WAF was created at |
name | Name for the WAF. The name matches the CSM deployment name that the IaaS WAF was created in |
Common request headers only.
{
“properties”:
{
"taskId": "061bae8a-ed30-4c58-8995-9899d550de9e",
}
}
Parameter | Description |
|---|---|
taskId | Optional, the Rome Task ID that detected the needed re-route |
If successful, the operation returns HTTP status code of 202 (ACCEPTED).
None