Skip to content

Commit e266624

Browse files
authored
[Hub Generated] Review request for Microsoft.Network to add version stable/2020-11-01 (#12444)
* add fields for 20201101 * fix waf json * fix waf json * minor fix * prettier fix for waf json * minor fix
1 parent 6636b93 commit e266624

File tree

4 files changed

+48
-24
lines changed

4 files changed

+48
-24
lines changed

specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafListPolicies.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
{
124124
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net"
125125
}
126-
]
126+
],
127+
"securityPolicyLinks": []
127128
}
128129
}
129130
]

specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyCreateOrUpdate.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@
239239
}
240240
]
241241
},
242-
"frontendEndpointLinks": []
242+
"frontendEndpointLinks": [],
243+
"securityPolicyLinks": []
243244
},
244245
"sku": {
245246
"name": "Classic_AzureFrontDoor"
@@ -369,7 +370,8 @@
369370
}
370371
]
371372
},
372-
"frontendEndpointLinks": []
373+
"frontendEndpointLinks": [],
374+
"securityPolicyLinks": []
373375
},
374376
"sku": {
375377
"name": "Classic_AzureFrontDoor"
@@ -501,7 +503,8 @@
501503
}
502504
]
503505
},
504-
"frontendEndpointLinks": []
506+
"frontendEndpointLinks": [],
507+
"securityPolicyLinks": []
505508
},
506509
"sku": {
507510
"name": "Classic_AzureFrontDoor"

specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/examples/WafPolicyGet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
{
124124
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net"
125125
}
126-
]
126+
],
127+
"securityPolicyLinks": []
127128
},
128129
"sku": {
129130
"name": "Classic_AzureFrontDoor"

specification/frontdoor/resource-manager/Microsoft.Network/stable/2020-11-01/webapplicationfirewall.json

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
{
32
"swagger": "2.0",
43
"info": {
@@ -314,6 +313,14 @@
314313
"$ref": "#/definitions/RoutingRuleLink"
315314
}
316315
},
316+
"securityPolicyLinks": {
317+
"description": "Describes Security Policy associated with this Web Application Firewall policy.",
318+
"type": "array",
319+
"readOnly": true,
320+
"items": {
321+
"$ref": "#/definitions/SecurityPolicyLink"
322+
}
323+
},
317324
"provisioningState": {
318325
"readOnly": true,
319326
"type": "string",
@@ -339,24 +346,24 @@
339346
}
340347
},
341348
"Sku": {
342-
"description": "The pricing tier of the web application firewall policy.",
343-
"properties": {
344-
"name": {
345-
"description": "Name of the pricing tier.",
346-
"enum": [
347-
"Classic_AzureFrontDoor",
348-
"Standard_AzureFrontDoor",
349-
"Premium_AzureFrontDoor"
350-
],
351-
"type": "string",
352-
"x-ms-enum": {
353-
"name": "SkuName",
354-
"modelAsString": true
349+
"description": "The pricing tier of the web application firewall policy.",
350+
"properties": {
351+
"name": {
352+
"description": "Name of the pricing tier.",
353+
"enum": [
354+
"Classic_AzureFrontDoor",
355+
"Standard_AzureFrontDoor",
356+
"Premium_AzureFrontDoor"
357+
],
358+
"type": "string",
359+
"x-ms-enum": {
360+
"name": "SkuName",
361+
"modelAsString": true
362+
}
355363
}
356-
}
364+
},
365+
"type": "object"
357366
},
358-
"type": "object"
359-
},
360367
"WebApplicationFirewallPolicyList": {
361368
"description": "Defines a list of WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.",
362369
"properties": {
@@ -822,7 +829,8 @@
822829
"RequestHeaderNames",
823830
"RequestCookieNames",
824831
"QueryStringArgNames",
825-
"RequestBodyPostArgNames"
832+
"RequestBodyPostArgNames",
833+
"RequestBodyJsonArgNames"
826834
],
827835
"description": "The variable type to be excluded.",
828836
"x-ms-enum": {
@@ -927,6 +935,17 @@
927935
"description": "Resource ID."
928936
}
929937
}
938+
},
939+
"SecurityPolicyLink": {
940+
"description": "Defines the Resource ID for a Security Policy.",
941+
"type": "object",
942+
"readOnly": true,
943+
"properties": {
944+
"id": {
945+
"type": "string",
946+
"description": "Resource ID."
947+
}
948+
}
930949
}
931950
},
932951
"parameters": {
@@ -951,4 +970,4 @@
951970
"description": "Name of the Resource group within the Azure subscription."
952971
}
953972
}
954-
}
973+
}

0 commit comments

Comments
 (0)