Skip to content

Commit 3869e4c

Browse files
Handle breaking changes
1 parent 9ad2bc7 commit 3869e4c

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

src/ResourceManager/Network/documentation/upcoming-breaking-changes.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,21 @@
2525
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
2626
-->
2727

28-
# Upcoming Breaking Changes
28+
# Upcoming Breaking Changes
29+
30+
### Release 6.0.0 - May 2018
31+
32+
The following cmdlets were affected by this release:
33+
34+
**New-AzureRmVirtualNetwork**
35+
36+
- Parameter `DdosProtectionPlanId` is now needed to set the switch parameter `EnableDdosProtection`. This was not needed in previous releases.
37+
38+
```powershell
39+
# Old:
40+
New-AzureRmVirtualNetwork -Name MyVirtualNetwork -ResourceGroupName TestResourceGroup -Location centralus -AddressPrefix "10.0.0.0/16" -EnableDdosProtection
41+
42+
# New:
43+
44+
New-AzureRmVirtualNetwork -Name MyVirtualNetwork -ResourceGroupName TestResourceGroup -Location centralus -AddressPrefix "10.0.0.0/16" -DdosProtectionPlanId $ddosPlanId -EnableDdosProtection
45+
```

tools/StaticAnalysis/Exceptions/BreakingChangeIssues.csv

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,3 +1523,31 @@
15231523
"Microsoft.Azure.Commands.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.RemoveAzureKeyVaultManagedStorageAccount","Remove-AzureKeyVaultManagedStorageAccount","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Remove-AzureKeyVaultManagedStorageAccount' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Remove-AzureKeyVaultManagedStorageAccount'."
15241524
"Microsoft.Azure.Commands.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.RemoveAzureKeyVaultSasDefinition","Remove-AzureKeyVaultManagedStorageSasDefinition","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Remove-AzureKeyVaultManagedStorageSasDefinition' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Remove-AzureKeyVaultManagedStorageSasDefinition'."
15251525
"Microsoft.Azure.Commands.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.UpdateAzureKeyVaultManagedStorageAccount","Update-AzureKeyVaultManagedStorageAccount","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzureKeyVaultManagedStorageAccount' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzureKeyVaultManagedStorageAccount'."
1526+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.TestAzurePrivateIPAddressAvailabilityCmdlet","Test-AzureRmPrivateIPAddressAvailability","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1527+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.TestAzurePrivateIPAddressAvailabilityCmdlet","Test-AzureRmPrivateIPAddressAvailability","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1528+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.AddAzureVirtualNetworkPeeringCommand","Add-AzureRmVirtualNetworkPeering","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1529+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.AddAzureVirtualNetworkPeeringCommand","Add-AzureRmVirtualNetworkPeering","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1530+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkCommand","Set-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1531+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkCommand","Set-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1532+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkCommand","Set-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1533+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkCommand","Set-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1534+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureVirtualNetworkSubnetConfigCommand","Remove-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1535+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureVirtualNetworkSubnetConfigCommand","Remove-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1536+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureVirtualNetworkSubnetConfigCommand","Remove-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1537+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureVirtualNetworkSubnetConfigCommand","Remove-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1538+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkSubnetConfigCommand","Set-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1539+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkSubnetConfigCommand","Set-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1540+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkSubnetConfigCommand","Set-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1541+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkSubnetConfigCommand","Set-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1542+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.GetAzureVirtualNetworkSubnetConfigCommand","Get-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1543+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.GetAzureVirtualNetworkSubnetConfigCommand","Get-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1544+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.AddAzureVirtualNetworkSubnetConfigCommand","Add-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1545+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.AddAzureVirtualNetworkSubnetConfigCommand","Add-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1546+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.AddAzureVirtualNetworkSubnetConfigCommand","Add-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1547+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.AddAzureVirtualNetworkSubnetConfigCommand","Add-AzureRmVirtualNetworkSubnetConfig","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1548+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.GetAzureVirtualNetworkCommand","Get-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1549+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.GetAzureVirtualNetworkCommand","Get-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1550+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.NewAzureVirtualNetworkCommand","New-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtection' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtection' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1551+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.NewAzureVirtualNetworkCommand","New-AzureRmVirtualNetwork","0","3010","The property 'EnableDDoSProtectionText' of type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork' has been removed.","Add the property 'EnableDDoSProtectionText' back to type 'Microsoft.Azure.Commands.Network.Models.PSVirtualNetwork'."
1552+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.NewAzureVirtualNetworkCommand","New-AzureRmVirtualNetwork","0","2000","The cmdlet 'New-AzureRmVirtualNetwork' no longer supports the parameter 'EnableDDoSProtection' and no alias was found for the original parameter name.","Add the parameter 'EnableDDoSProtection' back to the cmdlet 'New-AzureRmVirtualNetwork', or add an alias to the original parameter name."
1553+
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.NewAzureVirtualNetworkCommand","New-AzureRmVirtualNetwork","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzureRmVirtualNetwork' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzureRmVirtualNetwork'."

0 commit comments

Comments
 (0)