You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayCommand.cs
+30-19Lines changed: 30 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,8 @@ public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
85
85
86
86
[Parameter(
87
87
Mandatory=false,
88
-
ValueFromPipelineByPropertyName=true,
89
-
HelpMessage="Active-Active feature flag")]
90
-
publicboolActiveActive{get;set;}
88
+
HelpMessage="Flag to enable Active Active feature on virtual network gateway")]
thrownewArgumentException("Virtual Network Gateway Sku should be "+MNM.VirtualNetworkGatewaySkuTier.HighPerformance+" when Active-Active feature flag is set to True.");
thrownewArgumentException("Virtual Network Gateway should have Active-Active feature flag set to True as there are 2 Gateway IpConfigurations specified. OR there should be only one Gateway IpConfiguration specified.");
Copy file name to clipboardExpand all lines: src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/UpdateAzureVirtualNetworkGatewayCommand.cs
+27-4Lines changed: 27 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -80,11 +80,21 @@ public class SetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
80
80
HelpMessage="The weight added to routes learned over BGP from this virtual network gateway")]
81
81
publicintPeerWeight{get;set;}
82
82
83
+
//[Parameter(
84
+
// Mandatory = false,
85
+
// ValueFromPipelineByPropertyName = true,
86
+
// HelpMessage = "ActiveActive feature flag")]
87
+
//public bool ActiveActive { get; set; }
88
+
83
89
[Parameter(
84
90
Mandatory=false,
85
-
ValueFromPipelineByPropertyName=true,
86
-
HelpMessage="ActiveActive feature flag")]
87
-
publicboolActiveActive{get;set;}
91
+
HelpMessage="Flag to enable Active Active feature on virtual network gateway")]
0 commit comments