Skip to content

Commit

Permalink
[virtual-wan]az network vpn-server-config: --auth-types allow mul…
Browse files Browse the repository at this point in the history
…ti value (Azure#3193)

* multi auth

* style

* live test
  • Loading branch information
msyyc authored Mar 30, 2021
1 parent 9acd878 commit f2ba430
Show file tree
Hide file tree
Showing 4 changed files with 1,032 additions and 187 deletions.
2 changes: 1 addition & 1 deletion src/virtual-wan/azext_vwan/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def load_arguments(self, _):
# region VpnServerConfigurations
with self.argument_context('network vpn-server-config') as c:
c.argument('vpn_protocols', nargs='+', options_list=['--protocols'], arg_type=get_enum_type(VpnGatewayTunnelingProtocol), help='VPN protocols for the VpnServerConfiguration.')
c.argument('vpn_auth_types', nargs='+', options_list=['--auth-types'], arg_type=get_enum_type(VpnAuthenticationType), help='VPN authentication types for the VpnServerConfiguration.')
c.argument('vpn_auth_types', nargs='+', options_list=['--auth-types'], arg_type=get_enum_type(VpnAuthenticationType), help='List of VPN authentication types for the VpnServerConfiguration.')
c.argument('location', get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group)
c.argument('vpn_server_configuration_name', options_list=['--name', '-n'], help='Name of the Vpn server configuration.')
with self.argument_context('network vpn-server-config', arg_group='AAD Auth') as c:
Expand Down
Loading

0 comments on commit f2ba430

Please sign in to comment.