-
Notifications
You must be signed in to change notification settings - Fork 4k
[Network January] Disconnect VPN connections #11031
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
[Network January] Disconnect VPN connections #11031
Conversation
/azp run |
|
||
[Parameter( | ||
ParameterSetName = CortexParameterSetNames.ByP2SVpnGatewayResourceId, | ||
Mandatory = false, |
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.
this is true in the help file, why is false here
[Alias("P2SVpnGateway")] | ||
[Parameter( | ||
ParameterSetName = CortexParameterSetNames.ByP2SVpnGatewayObject, | ||
Mandatory = false, |
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.
this is true in the help file, why is false here
ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "P2SVpnGatewayVpnConnection", | ||
DefaultParameterSetName = CortexParameterSetNames.ByP2SVpnGatewayName, | ||
SupportsShouldProcess = true), | ||
OutputType(typeof(PSP2SVpnGateway))] |
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.
this doesn't seem to match the help file
namespace Microsoft.Azure.Commands.Network.VirtualNetworkGateway | ||
{ | ||
[Cmdlet("Disconnect", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VirtualNetworkGatewayVpnConnection", DefaultParameterSetName = "ByFactoryName", SupportsShouldProcess = true), OutputType(typeof(PSVirtualNetworkGateway))] | ||
public class DisconnectVirtualNetworkGatewayVpnConnectionCommand : VirtualNetworkGatewayBaseCmdlet |
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.
This doesn't seem to match the help file
|
||
[Alias("VirtualNetworkGatewayId")] | ||
[Parameter( | ||
Mandatory = false, |
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.
this is true in the help file, why is false here
|
||
[Alias("VirtualNetworkGateway")] | ||
[Parameter( | ||
Mandatory = false, |
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.
this is true in the help file, why is false here
[Parameter(Mandatory = false)] are missing for both cmdlets |
[Network January] Disconnect VPN connections
Description
Disconnect vpn connection for Virtual network gateway and P2S Vpn gateway.
Azure/azure-powershell-cmdlet-review-pr#414
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added