Skip to content

Commit

Permalink
Added warning message for planning to deprecate the parameters of old…
Browse files Browse the repository at this point in the history
… private link (#13059)

Co-authored-by: Zhenyu Zhou <[email protected]>
  • Loading branch information
aim-for-better and Zhenyu Zhou authored Sep 25, 2020
1 parent a03ab9b commit c488891
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/HDInsight/HDInsight/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Added warning message for planning to deprecate the parameters `PublicNetworkAccessType` and `OutboundPublicNetworkAccessType`

## Version 3.6.0
* Supported creating cluster with Autoscale configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Microsoft.Azure.Graph.RBAC.Version1_6;
using Microsoft.Azure.Management.HDInsight.Models;
using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -392,10 +393,12 @@ public DateTime RdpAccessExpiry
[Parameter(HelpMessage = "Gets or sets the encryption vault uri.")]
public string EncryptionVaultUri { get; set; }

[CmdletParameterBreakingChange("PublicNetworkAccessType", ChangeDescription = "This parameter is being deprecated.")]
[Parameter(HelpMessage = "Gets or sets the public network access type.")]
[ValidateSet(PublicNetworkAccess.InboundAndOutbound, PublicNetworkAccess.OutboundOnly, IgnoreCase = true)]
public string PublicNetworkAccessType { get; set; }

[CmdletParameterBreakingChange("OutboundPublicNetworkAccessType", ChangeDescription = "This parameter is being deprecated.")]
[Parameter(HelpMessage = "Gets or sets the outbound access type to the public network.")]
[ValidateSet(OutboundOnlyPublicNetworkAccessType.PublicLoadBalancer, OutboundOnlyPublicNetworkAccessType.UDR, IgnoreCase = true)]
public string OutboundPublicNetworkAccessType { get; set; }
Expand Down

0 comments on commit c488891

Please sign in to comment.