Skip to content

Commit 06771ad

Browse files
saisujithreddymMikhailTryakhovnimallerrichajainRicha Jain
authored
Firewall Policy Insights with region (#12711)
* Adds base for updating Microsoft.Network from version stable/2020-07-01 to version 2020-08-01 * Updates readme * Updates API version in new specs and examples * add patch operation for express route gateway (#11553) * add patch * fix example * Added new cloud service NIC and PIP APIs (#11650) Co-authored-by: Richa Jain <[email protected]> * Adding support for Vpn Link Connection Mode (#11574) Co-authored-by: Abhishek Shah <[email protected]> * Reverting the changes made for address space update as the changes in service code are not in yet (#11754) Co-authored-by: Hari Prasad Perabattula <[email protected]> * VPN NAT for Virtual WAN feature changes (#11815) * VPN NAT for Virtual WAN feature changes * PrettierCheck fixes * Incorporate review comments and update examples * Add edge zone parameters for networking resources and add extendedLocation property to customIpPrefix (#11933) * Add extendedLocation property to customIpPrefix * Fix the directory * Address linting errors * Fix another linting error * Add edge zone parameter for network interfaces * Looks like edgeZone parameter is working when creating network interfaces * EdgeZone parameter for load balancer * Add edge zone parameter for public IP address * Add edge zone parameter for public IP prefix * Add edgeZone parameter for virtual networks * Add edge zone parameter for custom IP prefix Co-authored-by: Will Ehrich <[email protected]> * Add location parameter to Loadbalancer Backend Address Pool Properties Format (#11919) * adding location parameter to backendaddresspoolpropertiesformat * ran prettier * Support for Listing IKE Security Associations for Virtual Network Gateway Connections (#11572) * Support to List IKE SAs on VNG Connection * Updating GetIkeSas * Update virtualNetworkGateway.json * Added location headers * Update virtualNetworkGateway.json * Prettier fix * Update custom-words.txt * Update virtualNetworkGateway.json * Update custom-words.txt * Update virtualNetworkGateway.json * Update virtualNetworkGateway.json * Update virtualNetworkGateway.json Co-authored-by: Abhishek Shah <[email protected]> * [Fix] GetIkeSas returns result as string (#12225) * Removing IkeSaParameters * Update custom-words.txt * Update virtualNetworkGateway.json * Update virtualNetworkGateway.json * Update VirtualNetworkGatewayConnectionGetIkeSas.json * Update virtualNetworkGateway.json * Update VirtualNetworkGatewayConnectionGetIkeSas.json Co-authored-by: Abhishek Shah <[email protected]> * Add extended location properties for private link service and private endpoints and remove edge zone properties (#12039) * Remove edge zone parameter * Add extended location for private endpoint and private link service * Add examples * Capitalization * Prettier Co-authored-by: Will Ehrich <[email protected]> * Add missing properties of SecurityRule, Route and RouteTable (#12215) * Add missing properties of SecurityRule Route and RouteTable * Set resourceGuid field to be read only Co-authored-by: Xu Wang <[email protected]> * Added placeholder instead of password (#12299) * resolving conflicts * resolving conflicts * new api version * resolving conflicts * fixing network validation * running prettier * fixing network valdiation * fixing network valdiation * Passing in the regions to backend * changed the reference definition Co-authored-by: Mikhail <[email protected]> Co-authored-by: nimaller <[email protected]> Co-authored-by: Richa Jain <[email protected]> Co-authored-by: Richa Jain <[email protected]> Co-authored-by: Abhishek Shah <[email protected]> Co-authored-by: Abhishek Shah <[email protected]> Co-authored-by: Hari Prasad Perabattula <[email protected]> Co-authored-by: Hari Prasad Perabattula <[email protected]> Co-authored-by: Nilambari <[email protected]> Co-authored-by: William Ehrich <[email protected]> Co-authored-by: Will Ehrich <[email protected]> Co-authored-by: Kayden Wilkinson <[email protected]> Co-authored-by: Xu Wang <[email protected]> Co-authored-by: Xu Wang <[email protected]>
1 parent 17dc295 commit 06771ad

File tree

3 files changed

+53
-15
lines changed

3 files changed

+53
-15
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/examples/FirewallPolicyGet.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,18 @@
3636
"isEnabled": true,
3737
"retentionDays": 100,
3838
"logAnalyticsResources": {
39-
"workspaceIds": [
39+
"workspaces": [
4040
{
41-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
41+
"region": "westus",
42+
"workspaceId": {
43+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
44+
}
4245
},
4346
{
44-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
47+
"region": "eastus",
48+
"workspaceId": {
49+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
50+
}
4551
}
4652
],
4753
"defaultWorkspaceId": {

specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/examples/FirewallPolicyPut.json

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@
2323
"isEnabled": true,
2424
"retentionDays": 100,
2525
"logAnalyticsResources": {
26-
"workspaceIds": [
26+
"workspaces": [
2727
{
28-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
28+
"region": "westus",
29+
"workspaceId": {
30+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
31+
}
2932
},
3033
{
31-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
34+
"region": "eastus",
35+
"workspaceId": {
36+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
37+
}
3238
}
3339
],
3440
"defaultWorkspaceId": {
@@ -121,12 +127,18 @@
121127
"isEnabled": true,
122128
"retentionDays": 100,
123129
"logAnalyticsResources": {
124-
"workspaceIds": [
130+
"workspaces": [
125131
{
126-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
132+
"region": "westus",
133+
"workspaceId": {
134+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
135+
}
127136
},
128137
{
129-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
138+
"region": "eastus",
139+
"workspaceId": {
140+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
141+
}
130142
}
131143
],
132144
"defaultWorkspaceId": {
@@ -219,12 +231,18 @@
219231
"isEnabled": true,
220232
"retentionDays": 100,
221233
"logAnalyticsResources": {
222-
"workspaceIds": [
234+
"workspaces": [
223235
{
224-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
236+
"region": "westus",
237+
"workspaceId": {
238+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1"
239+
}
225240
},
226241
{
227-
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
242+
"region": "eastus",
243+
"workspaceId": {
244+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2"
245+
}
228246
}
229247
],
230248
"defaultWorkspaceId": {

specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/firewallPolicy.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,18 +1376,32 @@
13761376
"description": "Log Analytics Resources for Firewall Policy Insights.",
13771377
"x-ms-discriminator-value": "FirewallPolicyLogAnalyticsResources",
13781378
"properties": {
1379-
"workspaceIds": {
1379+
"workspaces": {
13801380
"type": "array",
1381-
"description": "List of workspace Ids for Firewall Policy Insights.",
1381+
"description": "List of workspaces for Firewall Policy Insights.",
13821382
"items": {
1383-
"$ref": "./network.json#/definitions/SubResource"
1383+
"$ref": "#/definitions/FirewallPolicyLogAnalyticsWorkspace"
13841384
}
13851385
},
13861386
"defaultWorkspaceId": {
13871387
"$ref": "./network.json#/definitions/SubResource",
13881388
"description": "The default workspace Id for Firewall Policy Insights."
13891389
}
13901390
}
1391+
},
1392+
"FirewallPolicyLogAnalyticsWorkspace": {
1393+
"description": "Log Analytics Workspace for Firewall Policy Insights.",
1394+
"x-ms-discriminator-value": "FirewallPolicyLogAnalyticsWorkspace",
1395+
"properties": {
1396+
"region": {
1397+
"type": "string",
1398+
"description": "Region to configure the Workspace."
1399+
},
1400+
"workspaceId": {
1401+
"$ref": "./network.json#/definitions/SubResource",
1402+
"description": "The workspace Id for Firewall Policy Insights."
1403+
}
1404+
}
13911405
}
13921406
}
13931407
}

0 commit comments

Comments
 (0)