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
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ public class AzureApplicationGatewaySslPolicyBase : NetworkBaseCmdlet
{
[Parameter(
HelpMessage = "List of SSL protocols to be disabled")]
[ValidateSet("TLSv1_0", "TLSv1_1", "TLSv1_2", IgnoreCase = true)]
[ValidateSet("TLSv1_0", "TLSv1_1", "TLSv1_2", "TLSv1_3", IgnoreCase = true)]
[ValidateNotNullOrEmpty]
public string[] DisabledSslProtocols { get; set; }

[Parameter(
HelpMessage = "Type of Ssl Policy")]
[ValidateSet("Predefined", "Custom", IgnoreCase = true)]
[ValidateSet("Predefined", "Custom", "CustomV2", IgnoreCase = true)]
public string PolicyType { get; set; }

[Parameter(
Expand All @@ -38,12 +38,11 @@ public class AzureApplicationGatewaySslPolicyBase : NetworkBaseCmdlet

[Parameter(
HelpMessage = "Ssl cipher suites to be enabled in the specified order to application gateway")]
[ValidateNotNullOrEmpty]
public string[] CipherSuite { get; set; }

[Parameter(
HelpMessage = "Minimum version of Ssl protocol to be supported on application gateway")]
[ValidateSet("TLSv1_0", "TLSv1_1", "TLSv1_2", IgnoreCase = true)]
[ValidateSet("TLSv1_0", "TLSv1_1", "TLSv1_2", "TLSv1_3", IgnoreCase = true)]
public string MinProtocolVersion { get; set; }

public override void ExecuteCmdlet()
Expand Down
4 changes: 4 additions & 0 deletions src/Network/Network/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
--->

## Upcoming Release
* Added support for CustomV2 ssl policies for Application Gateway.
- Added `CustomV2` to the validation set of `PolicyType`
- Added `TLSv1_3` to the validation set of `MinProtocolVersion`
- Removed validation for null or empty cipher suites list since there can be empty cipher suites list for min protocol version of tls1.3

## Version 4.17.0
* Supported `Microsoft.Network/privateLinkServices` in `Get-AzPrivateEndpointConnection` [#16984].
Expand Down