Skip to content

Commit 673421c

Browse files
committed
Expose new SKUs for zone-redundant VirtualNetworkGateways
1 parent 2b9a513 commit 673421c

7 files changed

+44
-13
lines changed

src/ResourceManager/Network/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
--->
2020

2121
## Current Release
22+
* Expose new Skus for Zone-Redundant VirtualNetworkGateways
2223

2324
## Version 6.2.0
2425
* Enable Traffic Analytics parameters on Network Watcher cmdlets

src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayCommand.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
127127
MNM.VirtualNetworkGatewaySkuTier.VpnGw1,
128128
MNM.VirtualNetworkGatewaySkuTier.VpnGw2,
129129
MNM.VirtualNetworkGatewaySkuTier.VpnGw3,
130+
MNM.VirtualNetworkGatewaySkuTier.VpnGw1AZ,
131+
MNM.VirtualNetworkGatewaySkuTier.VpnGw2AZ,
132+
MNM.VirtualNetworkGatewaySkuTier.VpnGw3AZ,
133+
MNM.VirtualNetworkGatewaySkuTier.ErGw1AZ,
134+
MNM.VirtualNetworkGatewaySkuTier.ErGw2AZ,
135+
MNM.VirtualNetworkGatewaySkuTier.ErGw3AZ,
130136
IgnoreCase = true)]
131137
public string GatewaySku { get; set; }
132138

src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/ResizeAzureVirtualNetworkGatewayCommand.cs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,20 @@ public class ResizeAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBase
3737
ValueFromPipelineByPropertyName = true,
3838
HelpMessage = "The gatway Sku:- Basic/Standard/HighPerformance/VpnGw1/VpnGw2/VpnGw3")]
3939
[ValidateSet(
40-
MNM.VirtualNetworkGatewaySkuTier.Basic,
41-
MNM.VirtualNetworkGatewaySkuTier.Standard,
42-
MNM.VirtualNetworkGatewaySkuTier.HighPerformance,
43-
MNM.VirtualNetworkGatewaySkuTier.UltraPerformance,
44-
MNM.VirtualNetworkGatewaySkuTier.VpnGw1,
45-
MNM.VirtualNetworkGatewaySkuTier.VpnGw2,
46-
MNM.VirtualNetworkGatewaySkuTier.VpnGw3,
47-
IgnoreCase = true)]
40+
MNM.VirtualNetworkGatewaySkuTier.Basic,
41+
MNM.VirtualNetworkGatewaySkuTier.Standard,
42+
MNM.VirtualNetworkGatewaySkuTier.HighPerformance,
43+
MNM.VirtualNetworkGatewaySkuTier.UltraPerformance,
44+
MNM.VirtualNetworkGatewaySkuTier.VpnGw1,
45+
MNM.VirtualNetworkGatewaySkuTier.VpnGw2,
46+
MNM.VirtualNetworkGatewaySkuTier.VpnGw3,
47+
MNM.VirtualNetworkGatewaySkuTier.VpnGw1AZ,
48+
MNM.VirtualNetworkGatewaySkuTier.VpnGw2AZ,
49+
MNM.VirtualNetworkGatewaySkuTier.VpnGw3AZ,
50+
MNM.VirtualNetworkGatewaySkuTier.ErGw1AZ,
51+
MNM.VirtualNetworkGatewaySkuTier.ErGw2AZ,
52+
MNM.VirtualNetworkGatewaySkuTier.ErGw3AZ,
53+
IgnoreCase = true)]
4854
public string GatewaySku { get; set; }
4955

5056
public override void Execute()

src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/UpdateAzureVirtualNetworkGatewayCommand.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ public class SetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmd
5656
MNM.VirtualNetworkGatewaySkuTier.VpnGw1,
5757
MNM.VirtualNetworkGatewaySkuTier.VpnGw2,
5858
MNM.VirtualNetworkGatewaySkuTier.VpnGw3,
59+
MNM.VirtualNetworkGatewaySkuTier.VpnGw1AZ,
60+
MNM.VirtualNetworkGatewaySkuTier.VpnGw2AZ,
61+
MNM.VirtualNetworkGatewaySkuTier.VpnGw3AZ,
62+
MNM.VirtualNetworkGatewaySkuTier.ErGw1AZ,
63+
MNM.VirtualNetworkGatewaySkuTier.ErGw2AZ,
64+
MNM.VirtualNetworkGatewaySkuTier.ErGw3AZ,
5965
IgnoreCase = true)]
6066
public string GatewaySku { get; set; }
6167

src/ResourceManager/Network/Commands.Network/help/New-AzureRmVirtualNetworkGateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Accept wildcard characters: False
223223
Type: String
224224
Parameter Sets: (All)
225225
Aliases:
226-
Accepted values: Basic, Standard, HighPerformance, UltraPerformance, VpnGw1, VpnGw2, VpnGw3
226+
Accepted values: Basic, Standard, HighPerformance, UltraPerformance, VpnGw1, VpnGw2, VpnGw3, VpnGw1AZ, VpnGw2AZ, VpnGw3AZ, ErGw1AZ, ErGw2AZ, ErGw3AZ
227227

228228
Required: False
229229
Position: Named

src/ResourceManager/Network/Commands.Network/help/Resize-AzureRmVirtualNetworkGateway.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Resize-AzureRmVirtualNetworkGateway -VirtualNetworkGateway <PSVirtualNetworkGate
2121
## DESCRIPTION
2222
The **Resize-AzureRmVirtualNetworkGateway** cmdlet enables you to change the stock-keeping unit (SKU) for a virtual network gateway.
2323
SKUs determine the capabilities of a gateway, including such things as throughput and the maximum number of IP tunnels that are allowed.
24-
Azure supports Basic, Standard, High-Performance, VpnGw1, VpnGw2 and VpnGw3 SKUs (sometimes referred to as Small, Medium, and Large SKUs).
24+
Azure supports Basic, Standard, High-Performance, VpnGw1, VpnGw2, VpnGw3, VpnGw1AZ, VpnGw2AZ, VpnGw3AZ, ErGw1AZ, ErGw2AZ, ErGw3AZ SKUs (sometimes referred to as Small, Medium, and Large SKUs).
2525
For detailed information about the capabilities of each SKU type, see https://azure.microsoft.com/en-us/documentation/articles/vpn-gateway-about-vpngateways/.
2626

2727
Keep in mind that SKUs differ in pricing as well as capabilities.
@@ -68,12 +68,18 @@ The acceptable values for this parameter are:
6868
- VpnGw1
6969
- VpnGw2
7070
- VpnGw3
71+
- VpnGw1AZ
72+
- VpnGw2AZ
73+
- VpnGw3AZ
74+
- ErGw1AZ
75+
- ErGw2AZ
76+
- ErGw3AZ
7177
7278
```yaml
7379
Type: String
7480
Parameter Sets: (All)
7581
Aliases:
76-
Accepted values: Basic, Standard, HighPerformance, UltraPerformance, VpnGw1, VpnGw2, VpnGw3
82+
Accepted values: Basic, Standard, HighPerformance, UltraPerformance, VpnGw1, VpnGw2, VpnGw3, VpnGw1AZ, VpnGw2AZ, VpnGw3AZ, ErGw1AZ, ErGw2AZ, ErGw3AZ
7783

7884
Required: True
7985
Position: Named
@@ -112,7 +118,7 @@ This cmdlet accepts pipelined instances of the **Microsoft.Azure.Commands.Networ
112118
This cmdlet modifies existing instances of the **Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGateway** object.
113119
114120
## NOTES
115-
You cannot resize from Basic/Standard/HighPerformance SKUs to the new VpnGw1/VpnGw2/VpnGw3 SKUs. See https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways for instructions.
121+
You cannot resize from Basic/Standard/HighPerformance SKUs to the new VpnGw1/VpnGw2/VpnGw3 SKUs. Further resize is not allowed from/to VpnGw1AZ/VpnGw2AZ/VpnGw3AZ or ErGw1AZ/ErGw2AZ/ErGw3AZ. Resize is allowed only within the SKU 'series' e.g VpnGw1AZ can be resized to/from VpnGw2AZ/VpnGw3AZ and ErGw1AZ can be resized to/from ErGw2AZ/ErGw3AZ. See https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways for instructions.
116122
117123
## RELATED LINKS
118124

src/ResourceManager/Network/Commands.Network/help/Set-AzureRmVirtualNetworkGateway.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,18 @@ The acceptable values for this parameter are:
172172
- VpnGw1
173173
- VpnGw2
174174
- VpnGw3
175+
- VpnGw1AZ
176+
- VpnGw2AZ
177+
- VpnGw3AZ
178+
- ErGw1AZ
179+
- ErGw2AZ
180+
- ErGw3AZ
175181
176182
```yaml
177183
Type: String
178184
Parameter Sets: (All)
179185
Aliases:
180-
Accepted values: Basic, Standard, HighPerformance, UltraPerformance, VpnGw1, VpnGw2, VpnGw3
186+
Accepted values: Basic, Standard, HighPerformance, UltraPerformance, VpnGw1, VpnGw2, VpnGw3, VpnGw1AZ, VpnGw2AZ, VpnGw3AZ, ErGw1AZ, ErGw2AZ, ErGw3AZ
181187

182188
Required: False
183189
Position: Named

0 commit comments

Comments
 (0)