Skip to content
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

Adding Autoscaling Capabilities to Virtual Network Gateway #22637

Merged
merged 68 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
d0f2e61
Bump up version for KeyVault (#22511)
azure-powershell-bot Aug 8, 2023
5b9e6d6
Merge remote-tracking branch 'upstream/main' into lnx/azurecore (#22349)
Nickcandy Aug 8, 2023
e991238
Exclude the api-version in typename when checking the breaking change…
wyunchi-ms Aug 8, 2023
5af6ca5
fix Get-AzVmRunCommand bug (#22460)
grizzlytheodore Aug 9, 2023
0c544b3
Add permission for pr-label github actions (#22481)
wyunchi-ms Aug 9, 2023
15fa28f
Update Remove-AzApiManagementApiFromGateway.md (#22505)
sauravraghuvanshi Aug 9, 2023
4884e69
Migrate StackHCI from generation to main (#22541)
azure-powershell-bot Aug 10, 2023
c9a63e3
[KeyVault] Support MHSM Settings (#22525)
BethanyZhou Aug 11, 2023
6d1d6e0
Migrate ContainerInstance from generation to main (#22537)
azure-powershell-bot Aug 11, 2023
6f618d8
Updated ChangeLog.md for Az.ContainerInstance (#22550)
andreygoran Aug 11, 2023
f84cff8
[Synapse] Update artifact to 1.0.0-preview.18 (#22452)
kevinzz6 Aug 11, 2023
d2982c5
workaround the assembly loading issue (#22551)
isra-fel Aug 11, 2023
abf9130
[Compute] update sdk package reference for Compute (#22459)
grizzlytheodore Aug 11, 2023
d338b92
Bump up version for StackHCI (#22543)
azure-powershell-bot Aug 13, 2023
1acc696
Compute migration to track 1 deprecation (#21949)
grizzlytheodore Aug 14, 2023
cfd681c
[KeyVault] Added security domain properties into PSManagedHsm (#22540)
BethanyZhou Aug 14, 2023
d33f542
hibernate parameter for Stop-AzVmss (#22560)
grizzlytheodore Aug 14, 2023
e9daac3
Update PrLabeled.ps1 (#22553)
isra-fel Aug 14, 2023
5393892
Adding XenonMV3 Support (#22530)
nalingaddis Aug 15, 2023
ac10d1b
Upgraded vulnerable DLLs after upgrading PowerShell SDK (#22566)
vidai-msft Aug 15, 2023
5e07fd4
Update New-AzVirtualNetworkSubnetConfig.md (#22561)
coolhome Aug 15, 2023
0a1218b
Generate aks sdk with autorest.powershell (#22501)
dolauli Aug 15, 2023
9afbadd
[KeyVault] Add live tests for MHSM Settings (#22570)
BethanyZhou Aug 15, 2023
e8e1e17
[Config] add config to disable write error to file system (#22529)
VeryEarly Aug 16, 2023
e8b236f
Updated email notification to support multi-recipients (#22577)
vidai-msft Aug 16, 2023
ac379cd
Use autorest.powershell to generate AlertsManagement SDK to replace t…
dolauli Aug 16, 2023
83f0bfd
[Storage] Support encryption context property when creating a datalak…
yifanz7 Aug 16, 2023
1cc9437
Migrate StackHCI from generation to main (#22588)
azure-powershell-bot Aug 16, 2023
589037a
Support deployment stack object as input parameter for Save-Az*Deploy…
dantedallag Aug 16, 2023
74357e4
Migrate DataMigration from generation to main (#22574)
azure-powershell-bot Aug 16, 2023
452b2d7
change breaking change info (#22571)
Nickcandy Aug 16, 2023
b6b5157
Fixed type conversion issue when sending email in live test (#22596)
vidai-msft Aug 17, 2023
b78672b
Skip Accounts when run static analysis check in generation ci (#22597)
wyunchi-ms Aug 17, 2023
2b2896e
[HDInsight] Add warning message for break changes which plan to relea…
yuc-Li Aug 17, 2023
89fde03
Update code-oob.yml for Azure Pipelines (#22591)
Nickcandy Aug 17, 2023
30101da
[KeyVault] Formatted the table view of outputs (#22580)
BethanyZhou Aug 18, 2023
97f8c77
Update Maintenance ChangeLog.md (#22602)
Nickcandy Aug 18, 2023
c600245
Skip Accounts when run static analysis check in generation ci (#22603)
wyunchi-ms Aug 18, 2023
7842cd9
Add SecurityType of Standard to VM and VMSS cmdlets for Trusted Launc…
Sandido Aug 21, 2023
5ba39ea
Sign old modules (#22609)
BethanyZhou Aug 21, 2023
b38d0c2
Migrate SqlVirtualMachine from generation to main (#22608)
azure-powershell-bot Aug 21, 2023
6148dba
Migrate EventHub from generation to main (#22610)
azure-powershell-bot Aug 21, 2023
b595765
Refill Credentials from AzKeyStore When Save AzContext (#22440)
msJinLei Aug 22, 2023
b4b507d
CosmosDB - New Restore Parameter (#22585)
mayankkatwal Aug 22, 2023
1085156
Migrate KeyVault from generation to main (#22621)
azure-powershell-bot Aug 23, 2023
27f5994
FabricBot: Onboarding to GitOps.ResourceManagement because of FabricB…
microsoft-github-policy-service[bot] Aug 23, 2023
c1f63f5
[KeyVault] Update TestSetting.ps1 to run on one platform and latest p…
BethanyZhou Aug 23, 2023
830a1eb
first set of changes
aneeshakella-microsoft Aug 22, 2023
c759117
created initial powershell for ergwscale
aneeshakella-microsoft Aug 23, 2023
9ae37ee
edited changelog
aneeshakella-microsoft Aug 23, 2023
745d6f4
update warning message (#22619)
yifanz7 Aug 23, 2023
d38091a
Fix to only include non-empty ExtendedLocation (#22630)
myun12580 Aug 23, 2023
ed18dfb
Remove PS 7.0 from smoke test (#22569)
isra-fel Aug 23, 2023
00b976d
Alias Set-AzConfig (#22629)
isra-fel Aug 23, 2023
6baf1fa
updated files due to failing test
aneeshakella-microsoft Aug 23, 2023
11040c9
formatting changes
aneeshakella-microsoft Aug 23, 2023
d8900c5
formatting changes
aneeshakella-microsoft Aug 23, 2023
bc4af78
fixed merge issues
aneeshakella-microsoft Aug 23, 2023
7a21a1d
Revert "formatting changes"
aneeshakella-microsoft Aug 23, 2023
942538e
Revert " fixed merge issues"
aneeshakella-microsoft Aug 23, 2023
1c6b6c8
Merge branch 'release-network-2023-05-01' into aneeshakella/ergwscale…
aneeshakella-microsoft Aug 23, 2023
5c6bc4a
finished changes
aneeshakella-microsoft Aug 23, 2023
729dfce
formatting
aneeshakella-microsoft Aug 24, 2023
a6a37bc
formatting
aneeshakella-microsoft Aug 24, 2023
3c220b3
formatting
aneeshakella-microsoft Aug 24, 2023
0a84934
edited ChangeLog
aneeshakella-microsoft Aug 24, 2023
4e7ee11
added empty line
aneeshakella-microsoft Aug 24, 2023
0498f59
added empty line between 6.1.1 and 6.1.0
aneeshakella-microsoft Aug 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ public static class VirtualNetworkGatewaySkuTier
public const string ErGw1AZ = "ErGw1AZ";
public const string ErGw2AZ = "ErGw2AZ";
public const string ErGw3AZ = "ErGw3AZ";
public const string ErGwScale = "ErGwScale";
}
}
2 changes: 1 addition & 1 deletion src/Network/Network/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

## Version 6.1.1
* Onboarded `Microsoft.ElasticSan/elasticSans` to private link cmdlets

* Added new changes to support autoscale for Virtual Network gateways
## Version 6.1.0
* Added new cmdlets to get Connection child resource of Network Virtual Appliance.
-`Get-AzNetworkVirtualApplianceConnection`
Expand Down
5 changes: 4 additions & 1 deletion src/Network/Network/Models/PSVirtualNetworkGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ public class PSVirtualNetworkGateway : PSTopLevelResource
[Ps1Xml(Label = "Sku Name", Target = ViewControl.Table, ScriptBlock = "$_.Sku.Name")]
public PSVirtualNetworkGatewaySku Sku { get; set; }

public List<PSVirtualNetworkGatewayPolicyGroup> VirtualNetworkGatewayPolicyGroups { get; set; }
[Ps1Xml(Label = "AutoScaleConfiguration", Target = ViewControl.Table)]
public PSVirtualNetworkGatewayAutoscaleConfiguration AutoScaleConfiguration { get; set; }

public List<PSVirtualNetworkGatewayPolicyGroup> VirtualNetworkGatewayPolicyGroups { get; set; }

public PSVpnClientConfiguration VpnClientConfiguration { get; set; }

public PSBgpSettings BgpSettings { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

using Microsoft.WindowsAzure.Commands.Common.Attributes;
using Newtonsoft.Json;

namespace Microsoft.Azure.Commands.Network.Models
{
public class PSVirtualNetworkGatewayAutoscaleConfiguration
{
[Ps1Xml(Target = ViewControl.Table)]
public PSVirtualNetworkGatewayPropertiesAutoScaleConfigurationBounds Bounds { get; set; }

[JsonIgnore]
public string BoundsText
{
get { return JsonConvert.SerializeObject(Bounds, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); }
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

using Microsoft.WindowsAzure.Commands.Common.Attributes;

namespace Microsoft.Azure.Commands.Network.Models
{
public class PSVirtualNetworkGatewayPropertiesAutoScaleConfigurationBounds
{
[Ps1Xml(Target = ViewControl.Table)]
public int Min { get; set; }

[Ps1Xml(Target = ViewControl.Table)]
public int Max { get; set; }
}
}
44 changes: 44 additions & 0 deletions src/Network/Network/Network.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,10 @@
<Label>Sku</Label>
<PropertyName>SkuText</PropertyName>
</ListItem>
<ListItem>
<Label>AutoScaleConfiguration</Label>
<PropertyName>AutoScaleConfigurationText</PropertyName>
</ListItem>
<ListItem>
<Label>VpnClientConfiguration</Label>
<PropertyName>VpnClientConfigurationText</PropertyName>
Expand Down Expand Up @@ -6130,6 +6134,46 @@
</ListEntries>
</ListControl>
</View>
<View>
<Name>Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayAutoscaleConfiguration</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayAutoscaleConfiguration</TypeName>
</ViewSelectedBy>
<ListControl>
<ListEntries>
<ListEntry>
<ListItems>
<ListItem>
<Label>Bounds</Label>
<PropertyName>BoundsText</PropertyName>
</ListItem>
</ListItems>
</ListEntry>
</ListEntries>
</ListControl>
</View>
<View>
<Name>Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayPropertiesAutoScaleConfigurationBounds</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayPropertiesAutoScaleConfigurationBounds</TypeName>
</ViewSelectedBy>
<ListControl>
<ListEntries>
<ListEntry>
<ListItems>
<ListItem>
<Label>Min</Label>
<PropertyName>Min</PropertyName>
</ListItem>
<ListItem>
<Label>Max</Label>
<PropertyName>Max</PropertyName>
</ListItem>
</ListItems>
</ListEntry>
</ListEntries>
</ListControl>
</View>
<View>
<Name>Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayConnectionIkeSaQuickModeSa</Name>
<ViewSelectedBy>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

namespace Microsoft.Azure.Commands.Network
{
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VirtualNetworkGateway",SupportsShouldProcess = true,DefaultParameterSetName = VirtualNetworkGatewayParameterSets.Default),OutputType(typeof(PSVirtualNetworkGateway))]
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VirtualNetworkGateway", SupportsShouldProcess = true, DefaultParameterSetName = VirtualNetworkGatewayParameterSets.Default), OutputType(typeof(PSVirtualNetworkGateway))]
public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmdlet
{
[Alias("ResourceName")]
Expand Down Expand Up @@ -144,6 +144,7 @@ public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
MNM.VirtualNetworkGatewaySkuTier.ErGw1AZ,
MNM.VirtualNetworkGatewaySkuTier.ErGw2AZ,
MNM.VirtualNetworkGatewaySkuTier.ErGw3AZ,
MNM.VirtualNetworkGatewaySkuTier.ErGwScale,
IgnoreCase = true)]
public string GatewaySku { get; set; }

Expand Down Expand Up @@ -313,6 +314,12 @@ public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
[Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
public SwitchParameter AsJob { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Set min scale units for scalable gateways")]
public Int32 MinScaleUnit { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Set max scale units for scalable gateways")]
public Int32 MaxScaleUnit { get; set; }

[Parameter(
Mandatory = false,
ValueFromPipelineByPropertyName = true,
Expand All @@ -324,7 +331,7 @@ public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
[PSArgumentCompleter(
"Enabled",
"Disabled")]
public string AdminState { get; set; }
public string AdminState { get; set; }

public override void Execute()
{
Expand All @@ -337,7 +344,7 @@ public override void Execute()
var isCertConfigured = (this.VpnClientRootCertificates != null && this.VpnClientRootCertificates.Count() > 0) || (this.VpnClientRevokedCertificates != null && this.VpnClientRevokedCertificates.Count() > 0);
var isRadiusConfigured = !string.IsNullOrEmpty(this.RadiusServerAddress) && this.RadiusServerSecret != null && !string.IsNullOrEmpty(SecureStringExtensions.ConvertToString(this.RadiusServerSecret));
var isAadConfigured = this.AadTenantUri != null && this.AadAudienceId != null && this.AadIssuerUri != null;

if (!string.IsNullOrEmpty(GatewaySku)
&& GatewaySku.Equals(MNM.VirtualNetworkGatewaySkuTier.UltraPerformance, StringComparison.InvariantCultureIgnoreCase))
{
Expand Down Expand Up @@ -502,7 +509,7 @@ private PSVirtualNetworkGateway CreateVirtualNetworkGateway()
vnetGateway.VpnClientConfiguration.RadiusServerAddress = this.RadiusServerAddress;
vnetGateway.VpnClientConfiguration.RadiusServerSecret = SecureStringExtensions.ConvertToString(this.RadiusServerSecret);
}

if (this.RadiusServerList != null && this.RadiusServerList.Any())
{
vnetGateway.VpnClientConfiguration.RadiusServers = this.RadiusServerList?.ToList();
Expand Down Expand Up @@ -543,12 +550,12 @@ private PSVirtualNetworkGateway CreateVirtualNetworkGateway()

if (this.ClientConnectionConfiguration != null && this.ClientConnectionConfiguration.Any())
{
foreach( var config in this.ClientConnectionConfiguration)
foreach (var config in this.ClientConnectionConfiguration)
{
foreach (var policyGroup in config.VirtualNetworkGatewayPolicyGroups)
foreach (var policyGroup in config.VirtualNetworkGatewayPolicyGroups)
{
policyGroup.Id = string.Format("/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Network/virtualNetworkGateways/{2}/virtualNetworkGatewayPolicyGroups/{3}", this.NetworkClient.NetworkManagementClient.SubscriptionId, vnetGateway.ResourceGroupName, Name, policyGroup.Id);
}
}
}
vnetGateway.VpnClientConfiguration.ClientConnectionConfigurations = this.ClientConnectionConfiguration.ToList();
}
Expand Down Expand Up @@ -580,12 +587,12 @@ private PSVirtualNetworkGateway CreateVirtualNetworkGateway()

if (this.IpConfigurationBgpPeeringAddresses != null)
{
if(vnetGateway.BgpSettings == null)
if (vnetGateway.BgpSettings == null)
{
vnetGateway.BgpSettings = new PSBgpSettings();
}

if(this.IpConfigurationBgpPeeringAddresses.Any(address => address.CustomBgpIpAddresses == null || !address.CustomBgpIpAddresses.Any()))
if (this.IpConfigurationBgpPeeringAddresses.Any(address => address.CustomBgpIpAddresses == null || !address.CustomBgpIpAddresses.Any()))
{
throw new ArgumentException("if IpConfigurationBgpPeeringAddresses are provided, CustomBgpIpAddresses must be a provided in create gateway");
}
Expand All @@ -598,7 +605,7 @@ private PSVirtualNetworkGateway CreateVirtualNetworkGateway()
vnetGateway.BgpSettings.BgpPeeringAddresses.Add(address);
}
}
else if(vnetGateway.BgpSettings != null)
else if (vnetGateway.BgpSettings != null)
{
vnetGateway.BgpSettings.BgpPeeringAddresses = null;
}
Expand Down Expand Up @@ -639,7 +646,20 @@ private PSVirtualNetworkGateway CreateVirtualNetworkGateway()

vnetGateway.AdminState = this.AdminState;
}


// set the min scale units and the max scale units
if (!string.IsNullOrEmpty(this.GatewaySku) && this.GatewaySku.Equals(MNM.VirtualNetworkGatewaySkuTier.ErGwScale))
{
if (this.MaxScaleUnit > 0 && this.MinScaleUnit > this.MaxScaleUnit)
{
throw new PSArgumentException(string.Format(Properties.Resources.InvalidAutoScaleConfiguration, this.MinScaleUnit, this.MaxScaleUnit));
}

vnetGateway.AutoScaleConfiguration = new PSVirtualNetworkGatewayAutoscaleConfiguration();
vnetGateway.AutoScaleConfiguration.Bounds = new PSVirtualNetworkGatewayPropertiesAutoScaleConfigurationBounds();
vnetGateway.AutoScaleConfiguration.Bounds.Min = Convert.ToInt32(this.MinScaleUnit);
vnetGateway.AutoScaleConfiguration.Bounds.Max = (this.MaxScaleUnit > 0) ? Convert.ToInt32(this.MaxScaleUnit) : Convert.ToInt32(this.MinScaleUnit);
}
// Set the EnableBgpRouteTranslationForNat, if it is specified by customer.
vnetGateway.EnableBgpRouteTranslationForNat = EnableBgpRouteTranslationForNat.IsPresent;

Expand All @@ -655,4 +675,4 @@ private PSVirtualNetworkGateway CreateVirtualNetworkGateway()
return getVirtualNetworkGateway;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public class SetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
MNM.VirtualNetworkGatewaySkuTier.ErGw1AZ,
MNM.VirtualNetworkGatewaySkuTier.ErGw2AZ,
MNM.VirtualNetworkGatewaySkuTier.ErGw3AZ,
MNM.VirtualNetworkGatewaySkuTier.ErGwScale,
IgnoreCase = true)]
public string GatewaySku { get; set; }

Expand Down Expand Up @@ -213,6 +214,11 @@ public class SetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
HelpMessage = "This will enable and disable BgpRouteTranslationForNat on this VirtualNetworkGateway.")]
public bool? BgpRouteTranslationForNat { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Set min scale units for scalable gateways")]
public Int32 MinScaleUnit { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Set max scale units for scalable gateways")]
public Int32 MaxScaleUnit { get; set; }

[Parameter(
Mandatory = false,
Expand Down Expand Up @@ -531,6 +537,19 @@ public override void Execute()
this.VirtualNetworkGateway.AdminState = AdminState;
}

if (!string.IsNullOrEmpty(this.VirtualNetworkGateway.Sku.Name) && (this.VirtualNetworkGateway.Sku.Name.Equals(MNM.VirtualNetworkGatewaySkuTier.ErGwScale) && (this.MinScaleUnit > 0 || this.MaxScaleUnit > 0)))
{
if (this.MinScaleUnit > this.MaxScaleUnit)
{
throw new PSArgumentException(string.Format(Properties.Resources.InvalidAutoScaleConfiguration, this.MinScaleUnit, this.MaxScaleUnit));
}

this.VirtualNetworkGateway.AutoScaleConfiguration = new PSVirtualNetworkGatewayAutoscaleConfiguration();
this.VirtualNetworkGateway.AutoScaleConfiguration.Bounds = new PSVirtualNetworkGatewayPropertiesAutoScaleConfigurationBounds();
this.VirtualNetworkGateway.AutoScaleConfiguration.Bounds.Min = Convert.ToInt32(this.MinScaleUnit);
this.VirtualNetworkGateway.AutoScaleConfiguration.Bounds.Max = Convert.ToInt32(this.MaxScaleUnit);
}

// Map to the sdk object
MNM.VirtualNetworkGateway sdkVirtualNetworkGateway = NetworkResourceManagerProfile.Mapper.Map<MNM.VirtualNetworkGateway>(this.VirtualNetworkGateway);
sdkVirtualNetworkGateway.Tags =
Expand Down
1 change: 1 addition & 0 deletions src/Network/Network/help/New-AzVirtualNetworkGateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ New-AzVirtualNetworkGateway -Name <String> -ResourceGroupName <String> -Location
[-IpConfigurations <PSVirtualNetworkGatewayIpConfiguration[]>] [-GatewayType <String>]
[-ExtendedLocation <String>] [-VNetExtendedLocationResourceId <String>] [-VpnType <String>]
[-EnableBgp <Boolean>] [-DisableIPsecProtection <Boolean>] [-EnableActiveActiveFeature]
[-MinScaleUnit <Int32>] [-MaxScaleUnit <Int32>]
[-EnablePrivateIpAddress] [-GatewaySku <String>] [-GatewayDefaultSite <PSLocalNetworkGateway>]
[-VpnClientAddressPool <String[]>] [-VpnClientProtocol <String[]>] [-VpnAuthenticationType <String[]>]
[-VpnClientRootCertificates <PSVpnClientRootCertificate[]>]
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network/help/Set-AzVirtualNetworkGateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Set-AzVirtualNetworkGateway -VirtualNetworkGateway <PSVirtualNetworkGateway> [-G
[-VpnClientProtocol <String[]>] [-VpnAuthenticationType <String[]>]
[-VpnClientRootCertificates <PSVpnClientRootCertificate[]>]
[-VpnClientRevokedCertificates <PSVpnClientRevokedCertificate[]>] [-VpnClientIpsecPolicy <PSIpsecPolicy[]>]
[-Asn <UInt32>] [-PeerWeight <Int32>]
[-Asn <UInt32>] [-PeerWeight <Int32>] [-MinScaleUnit <Int32>] [-MaxScaleUnit <Int32>]
[-IpConfigurationBgpPeeringAddresses <PSIpConfigurationBgpPeeringAddress[]>] [-EnableActiveActiveFeature]
[-EnablePrivateIpAddress <Boolean>] [-DisableActiveActiveFeature] [-RadiusServerAddress <String>]
[-RadiusServerSecret <SecureString>] [-RadiusServerList <PSRadiusServer[]>] [-AadTenantUri <String>]
Expand Down