-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New VPN Client Protocol #6481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New VPN Client Protocol #6481
Changes from all commits
6ce018e
8e2755a
6da8104
22067f0
edde919
b03badf
bf8ce38
d83bff6
13ba600
ced0573
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -149,7 +149,8 @@ public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd | |
| HelpMessage = "The list of P2S VPN client tunneling protocols")] | ||
| [ValidateSet( | ||
| MNM.VpnClientProtocol.SSTP, | ||
| MNM.VpnClientProtocol.IkeV2)] | ||
| MNM.VpnClientProtocol.IkeV2, | ||
| MNM.VpnClientProtocol.OpenVPN)] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems the Models do not have the value
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @praries880 This is why we are merging to this particular branch instead of preview branch. @MikhailTryakhov will eventually import the updated nuget network SDK into this, which will contain the updated model. |
||
| [ValidateNotNullOrEmpty] | ||
| public List<string> VpnClientProtocol { get; set; } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,7 +78,8 @@ public class SetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd | |
| HelpMessage = "A list of P2S VPN client tunneling protocols")] | ||
| [ValidateSet( | ||
| MNM.VpnClientProtocol.SSTP, | ||
| MNM.VpnClientProtocol.IkeV2)] | ||
| MNM.VpnClientProtocol.IkeV2, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @praries880 Will not change, as described in the previous PR. This breaks the existing powershell inputs. |
||
| MNM.VpnClientProtocol.OpenVPN)] | ||
| [ValidateNotNullOrEmpty] | ||
| public List<string> VpnClientProtocol { get; set; } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@henry416
@markcowl had the following comment in the related PR : "Change this from a ValidateSet to an ArgumentCompleter" . Kindly address it.