Skip to content

Commit 05b40bc

Browse files
abhi7860Abhishek Shah
andauthored
Adding support for Vpn Link Connection Mode (#11574)
Co-authored-by: Abhishek Shah <[email protected]>
1 parent 7dc2ad6 commit 05b40bc

File tree

4 files changed

+27
-7
lines changed

4 files changed

+27
-7
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"enableRateLimiting": false,
4242
"useLocalAzureIpAddress": false,
4343
"usePolicyBasedTrafficSelectors": false,
44-
"routingWeight": 0
44+
"routingWeight": 0,
45+
"vpnLinkConnectionMode": "ResponderOnly"
4546
}
4647
},
4748
{
@@ -64,7 +65,8 @@
6465
"enableRateLimiting": false,
6566
"useLocalAzureIpAddress": false,
6667
"usePolicyBasedTrafficSelectors": false,
67-
"routingWeight": 0
68+
"routingWeight": 0,
69+
"vpnLinkConnectionMode": "InitiatorOnly"
6870
}
6971
}
7072
],

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"enableRateLimiting": false,
4242
"useLocalAzureIpAddress": false,
4343
"usePolicyBasedTrafficSelectors": false,
44-
"routingWeight": 0
44+
"routingWeight": 0,
45+
"vpnLinkConnectionMode": "Default"
4546
}
4647
},
4748
{
@@ -64,7 +65,8 @@
6465
"enableRateLimiting": false,
6566
"useLocalAzureIpAddress": false,
6667
"usePolicyBasedTrafficSelectors": false,
67-
"routingWeight": 0
68+
"routingWeight": 0,
69+
"vpnLinkConnectionMode": "Default"
6870
}
6971
}
7072
],

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
},
2020
"connectionBandwidth": 200,
2121
"vpnConnectionProtocolType": "IKEv2",
22-
"sharedKey": "key"
22+
"sharedKey": "key",
23+
"vpnLinkConnectionMode": "Default"
2324
}
2425
}
2526
]
@@ -61,7 +62,8 @@
6162
"enableRateLimiting": false,
6263
"useLocalAzureIpAddress": false,
6364
"usePolicyBasedTrafficSelectors": false,
64-
"routingWeight": 0
65+
"routingWeight": 0,
66+
"vpnLinkConnectionMode": "Default"
6567
}
6668
}
6769
],
@@ -126,7 +128,8 @@
126128
"enableRateLimiting": false,
127129
"useLocalAzureIpAddress": false,
128130
"usePolicyBasedTrafficSelectors": false,
129-
"routingWeight": 0
131+
"routingWeight": 0,
132+
"vpnLinkConnectionMode": "Default"
130133
}
131134
}
132135
],

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5993,6 +5993,19 @@
59935993
"format": "int32",
59945994
"description": "Routing weight for vpn connection."
59955995
},
5996+
"vpnLinkConnectionMode": {
5997+
"type": "string",
5998+
"description": "Vpn link connection mode.",
5999+
"enum": [
6000+
"Default",
6001+
"ResponderOnly",
6002+
"InitiatorOnly"
6003+
],
6004+
"x-ms-enum": {
6005+
"name": "vpnLinkConnectionMode",
6006+
"modelAsString": true
6007+
}
6008+
},
59966009
"connectionStatus": {
59976010
"description": "The connection status.",
59986011
"$ref": "#/definitions/VpnConnectionStatus"

0 commit comments

Comments
 (0)