Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion src/Storage/Storage.Management/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
- Additional information about change #1
-->
## Upcoming Release
* Skip duplicated rules when add NetworkRules, to avoid server failure
* Fixed #9880: Change NetWorkRule DefaultAction value defination to align with swagger.
- Update-AzStorageAccountNetworkRuleSet
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please add the contents "Fixed Mismatch in the DefaultAction Enum values. #9880".
  2. We think Changed is consistent with other logs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change log fixed.

- Get-AzStorageAccountNetworkRuleSet
* Fixed #11624: Skip duplicated rules when add NetworkRules, to avoid server failure
- `Add-AzStorageAccountNetworkRule`

## Version 1.14.0
Expand Down
4 changes: 2 additions & 2 deletions src/Storage/Storage.Management/Models/PSNetworkRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public enum PSNetWorkRuleBypassEnum
//Wrapper of NetworkRuleSet property DefaultAction
public enum PSNetWorkRuleDefaultActionEnum
{
Deny = 0,
Allow = 1
Allow = 0,
Deny = 1
}

//Wrapper of NetworkRule property Action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public PSNetWorkRuleBypassEnum Bypass
}
}

public const string ChangeDesc = "The DefaultAction value will change in a future release from: Allow = 1, Deny = 0, to: Allow = 0, Deny = 1.";
[CmdletParameterBreakingChange("DefaultAction", ChangeDescription = ChangeDesc)]
[Parameter(
Mandatory = false,
HelpMessage = "Storage Account NetworkRule DefaultAction.")]
Expand Down