diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafListPolicies.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafListPolicies.json index 8a06da0a998c..c78fafc9aa29 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafListPolicies.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafListPolicies.json @@ -123,7 +123,8 @@ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net" } - ] + ], + "securityPolicyLinks": [] } } ] diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyCreateOrUpdate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyCreateOrUpdate.json index 45ad9dafee6f..81b6585cd89b 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyCreateOrUpdate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyCreateOrUpdate.json @@ -239,7 +239,8 @@ } ] }, - "frontendEndpointLinks": [] + "frontendEndpointLinks": [], + "securityPolicyLinks": [] }, "sku": { "name": "Classic_AzureFrontDoor" @@ -369,7 +370,8 @@ } ] }, - "frontendEndpointLinks": [] + "frontendEndpointLinks": [], + "securityPolicyLinks": [] }, "sku": { "name": "Classic_AzureFrontDoor" @@ -501,7 +503,8 @@ } ] }, - "frontendEndpointLinks": [] + "frontendEndpointLinks": [], + "securityPolicyLinks": [] }, "sku": { "name": "Classic_AzureFrontDoor" diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyGet.json index 814ff1f6c342..4b6988dcc038 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyGet.json @@ -123,7 +123,8 @@ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net" } - ] + ], + "securityPolicyLinks": [] }, "sku": { "name": "Classic_AzureFrontDoor" diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/webapplicationfirewall.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/webapplicationfirewall.json index e99c00931d41..556639767a44 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/webapplicationfirewall.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/webapplicationfirewall.json @@ -1,4 +1,3 @@ - { "swagger": "2.0", "info": { @@ -314,6 +313,14 @@ "$ref": "#/definitions/RoutingRuleLink" } }, + "securityPolicyLinks": { + "description": "Describes Security Policy associated with this Web Application Firewall policy.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SecurityPolicyLink" + } + }, "provisioningState": { "readOnly": true, "type": "string", @@ -339,24 +346,24 @@ } }, "Sku": { - "description": "The pricing tier of the web application firewall policy.", - "properties": { - "name": { - "description": "Name of the pricing tier.", - "enum": [ - "Classic_AzureFrontDoor", - "Standard_AzureFrontDoor", - "Premium_AzureFrontDoor" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true + "description": "The pricing tier of the web application firewall policy.", + "properties": { + "name": { + "description": "Name of the pricing tier.", + "enum": [ + "Classic_AzureFrontDoor", + "Standard_AzureFrontDoor", + "Premium_AzureFrontDoor" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } } - } + }, + "type": "object" }, - "type": "object" - }, "WebApplicationFirewallPolicyList": { "description": "Defines a list of WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.", "properties": { @@ -822,7 +829,8 @@ "RequestHeaderNames", "RequestCookieNames", "QueryStringArgNames", - "RequestBodyPostArgNames" + "RequestBodyPostArgNames", + "RequestBodyJsonArgNames" ], "description": "The variable type to be excluded.", "x-ms-enum": { @@ -927,6 +935,17 @@ "description": "Resource ID." } } + }, + "SecurityPolicyLink": { + "description": "Defines the Resource ID for a Security Policy.", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + } } }, "parameters": { @@ -951,4 +970,4 @@ "description": "Name of the Resource group within the Azure subscription." } } -} \ No newline at end of file +}