Skip to content

Commit 7154655

Browse files
authored
Re - Add support for Traffic selector param in VpnConnection for virtualWan (#13103)
* Add support for Traffic selector param in Connection - initial changes * Add trafficSelectorPolicies list in responses * Add trafficSelectorPolicies list in Get and List connection
1 parent b143498 commit 7154655

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"enableInternetSecurity": false,
2121
"ingressBytesTransferred": 0,
2222
"egressBytesTransferred": 0,
23+
"trafficSelectorPolicies": [],
2324
"vpnLinkConnections": [
2425
{
2526
"name": "Connection-Link1",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"enableInternetSecurity": false,
2121
"ingressBytesTransferred": 0,
2222
"egressBytesTransferred": 0,
23+
"trafficSelectorPolicies": [],
2324
"vpnLinkConnections": [
2425
{
2526
"name": "Connection-Link1",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
"connectionBandwidth": 200,
2121
"vpnConnectionProtocolType": "IKEv2",
2222
"sharedKey": "key",
23-
"vpnLinkConnectionMode": "Default"
23+
"vpnLinkConnectionMode": "Default",
24+
"usePolicyBasedTrafficSelectors": false
2425
}
2526
}
26-
]
27+
],
28+
"trafficSelectorPolicies": []
2729
}
2830
}
2931
},
@@ -91,7 +93,8 @@
9193
"vnetRoutes": {
9294
"staticRoutes": []
9395
}
94-
}
96+
},
97+
"trafficSelectorPolicies": []
9598
}
9699
}
97100
},
@@ -157,7 +160,8 @@
157160
"vnetRoutes": {
158161
"staticRoutes": []
159162
}
160-
}
163+
},
164+
"trafficSelectorPolicies": []
161165
}
162166
}
163167
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6357,6 +6357,13 @@
63576357
},
63586358
"description": "The IPSec Policies to be considered by this connection."
63596359
},
6360+
"trafficSelectorPolicies": {
6361+
"type": "array",
6362+
"items": {
6363+
"$ref": "./virtualNetworkGateway.json#/definitions/TrafficSelectorPolicy"
6364+
},
6365+
"description": "The Traffic Selector Policies to be considered by this connection."
6366+
},
63606367
"enableRateLimiting": {
63616368
"type": "boolean",
63626369
"description": "EnableBgp flag."

0 commit comments

Comments
 (0)