Skip to content

Commit 1289380

Browse files
author
Jingnan Xu
committed
change message
1 parent bc15065 commit 1289380

30 files changed

+82
-1
lines changed

src/FrontDoor/FrontDoor/Cmdlets/DisableFrontDoorCustomDomainHttps.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2626
/// <summary>
2727
/// Defines the Enable-AzCustomDomainHttps cmdlet.
2828
/// </summary>
29+
[CmdletOutputBreakingChangeAttribute(typeof(PSFrontendEndpoint), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "System.Boolean", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSFrontendEndpoint'.")]
2930
[Cmdlet("Disable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorCustomDomainHttps", SupportsShouldProcess = true, DefaultParameterSetName = FieldsParameterSet), OutputType(typeof(PSFrontendEndpoint))]
3031
public class DisableFrontDoorCustomDomainHttps : AzureFrontDoorCmdletBase
3132
{

src/FrontDoor/FrontDoor/Cmdlets/EnableFrontDoorCustomDomainHttps.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2727
/// <summary>
2828
/// Defines the Enable-AzCustomDomainHttps cmdlet.
2929
/// </summary>
30+
[CmdletOutputBreakingChangeAttribute(typeof(PSFrontendEndpoint), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "System.Boolean", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSFrontendEndpoint'.")]
3031
[Cmdlet("Enable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorCustomDomainHttps", SupportsShouldProcess = true, DefaultParameterSetName = FieldsParameterSet), OutputType(typeof(PSFrontendEndpoint))]
3132
public class EnableFrontDoorCustomDomainHttps : AzureFrontDoorCmdletBase
3233
{

src/FrontDoor/FrontDoor/Cmdlets/GetFrontDoor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2626
/// <summary>
2727
/// Defines the Get-AzFrontDoor cmdlet.
2828
/// </summary>
29+
[CmdletOutputBreakingChangeAttribute(typeof(PSFrontDoor), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoor", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSFrontend'.")]
2930
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoor"), OutputType(typeof(PSFrontDoor))]
3031
public class GetFrontDoor : AzureFrontDoorCmdletBase
3132
{

src/FrontDoor/FrontDoor/Cmdlets/GetFrontDoorFrontendEndpoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2727
/// <summary>
2828
/// Defines the Get-FrontDoorFrontendEndpoint cmdlet.
2929
/// </summary>
30+
[CmdletOutputBreakingChangeAttribute(typeof(PSFrontendEndpoint), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontendEndpoint", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSFrontendEndpoint'.")]
3031
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorFrontendEndpoint", DefaultParameterSetName = FieldsParameterSet), OutputType(typeof(PSFrontendEndpoint))]
3132
public class GetFrontDoorFrontendEndpoint : AzureFrontDoorCmdletBase
3233
{
@@ -57,6 +58,7 @@ public class GetFrontDoorFrontendEndpoint : AzureFrontDoorCmdletBase
5758
/// <summary>
5859
///The Front Door object.
5960
/// </summary>
61+
[CmdletParameterBreakingChangeWithVersion("FrontDoorObject", "15.0.0", "6.0.0", OldParameterType = typeof(PSFrontDoor), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoorIdentity", ChangeDescription = "The element type for parameter 'RoutingRule' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSRoutingRule' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRule'.")]
6062
[Parameter(Mandatory = true, ParameterSetName = ObjectParameterSet, ValueFromPipeline = true, HelpMessage = "The FrontDoor object.")]
6163
[ValidateNotNullOrEmpty]
6264
public PSFrontDoor FrontDoorObject { get; set; }

src/FrontDoor/FrontDoor/Cmdlets/GetFrontDoorRulesEngine.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2626
{
27+
[CmdletOutputBreakingChangeAttribute(typeof(PSRulesEngine), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRulesEngine", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSRulesEngine'.")]
2728
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoor" + "RulesEngine"), OutputType(typeof(PSRulesEngine))]
2829
public class GetFrontDoorRulesEngine : AzureFrontDoorCmdletBase
2930
{

src/FrontDoor/FrontDoor/Cmdlets/GetFrontDoorWafManagedRuleSetDefinition.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2626
/// <summary>
2727
/// Defines the Get-AzFrontDoorWafManagedRuleSetDefinition cmdlet.
2828
/// </summary>
29+
[CmdletOutputBreakingChangeAttribute(typeof(PSManagedRuleSetDefinition), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IManagedRuleSetDefinition", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSManagedRuleSetDefinition'.")]
2930
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorWafManagedRuleSetDefinition"), OutputType(typeof(PSManagedRuleSetDefinition))]
3031
public class GetFrontDoorWafManagedRuleSetDefinition : AzureFrontDoorCmdletBase
3132
{

src/FrontDoor/FrontDoor/Cmdlets/GetFrontDoorWafPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2626
/// <summary>
2727
/// Defines the Get-AzFrontDoorFireWallPolicy cmdlet.
2828
/// </summary>
29+
[CmdletOutputBreakingChangeAttribute(typeof(PSPolicy), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IWebApplicationFirewallPolicy", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSPolicy'.")]
2930
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorWafPolicy"), OutputType(typeof(PSPolicy))]
3031
public class GetFrontDoorWafPolicy : AzureFrontDoorCmdletBase
3132
{

src/FrontDoor/FrontDoor/Cmdlets/NewFrontDoor.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2727
/// <summary>
2828
/// Defines the New-AzFrontDoor cmdlet.
2929
/// </summary>
30+
[CmdletOutputBreakingChangeAttribute(typeof(PSFrontDoor), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoor", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSFrontend'.")]
3031
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoor", DefaultParameterSetName = FieldsWithBackendPoolsSettingParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSFrontDoor))]
3132
public class NewFrontDoor : AzureFrontDoorCmdletBase
3233
{
@@ -47,30 +48,35 @@ public class NewFrontDoor : AzureFrontDoorCmdletBase
4748
/// <summary>
4849
/// Routing rules associated with this Front Door
4950
/// </summary>
51+
[CmdletParameterBreakingChangeWithVersion("RoutingRule", "15.0.0", "6.0.0", OldParameterType = typeof(PSRoutingRule), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRule[]", ChangeDescription = "The element type for parameter 'RoutingRule' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSRoutingRule' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRule'.")]
5052
[Parameter(Mandatory = true, HelpMessage = "Routing rules associated with this Front Door")]
5153
public PSRoutingRule[] RoutingRule { get; set; }
5254

5355
/// <summary>
5456
/// Backendpools available to routing rule.
5557
/// </summary>
58+
[CmdletParameterBreakingChangeWithVersion("BackendPool", "15.0.0", "6.0.0", OldParameterType = typeof(PSBackendPool), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IBackendPool[]", ChangeDescription = "The element type for parameter 'BackendPool' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSBackendPool' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IBackendPool'.")]
5659
[Parameter(Mandatory = true, HelpMessage = "Backendpools available to routing rule.")]
5760
public PSBackendPool[] BackendPool { get; set; }
5861

5962
/// <summary>
6063
/// Frontend endpoints available to routing rule.
6164
/// </summary>
65+
[CmdletParameterBreakingChangeWithVersion("FrontendEndpoint", "15.0.0", "6.0.0", OldParameterType = typeof(PSFrontendEndpoint), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontendEndpoint[]", ChangeDescription = "The element type for parameter 'FrontendEndpoint' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSFrontendEndpoint' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontendEndpoint'.")]
6266
[Parameter(Mandatory = true, HelpMessage = "Frontend endpoints available to routing rule.")]
6367
public PSFrontendEndpoint[] FrontendEndpoint { get; set; }
6468

6569
/// <summary>
6670
/// Load balancing settings associated with this Front Door instance.
6771
/// </summary>
72+
[CmdletParameterBreakingChangeWithVersion("LoadBalancingSetting", "15.0.0", "6.0.0", OldParameterType = typeof(PSLoadBalancingSetting), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.ILoadBalancingSettingsModel[]", ChangeDescription = "The element type for parameter 'LoadBalancingSetting' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSLoadBalancingSetting' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.ILoadBalancingSettingsModel'.")]
6873
[Parameter(Mandatory = true, HelpMessage = "Load balancing settings associated with this Front Door instance.")]
6974
public PSLoadBalancingSetting[] LoadBalancingSetting { get; set; }
7075

7176
/// <summary>
7277
/// Health probe settings associated with this Front Door instance.
7378
/// </summary>
79+
[CmdletParameterBreakingChangeWithVersion("HealthProbeSetting", "15.0.0", "6.0.0", OldParameterType = typeof(PSHealthProbeSetting), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IHealthProbeSettingsModel[]", ChangeDescription = "The element type for parameter 'HealthProbeSetting' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSHealthProbeSetting' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IHealthProbeSettingsModel'.")]
7480
[Parameter(Mandatory = true, HelpMessage = "Health probe settings associated with this Front Door instance.")]
7581
public PSHealthProbeSetting[] HealthProbeSetting { get; set; }
7682

@@ -83,6 +89,7 @@ public class NewFrontDoor : AzureFrontDoorCmdletBase
8389
/// <summary>
8490
/// Enabled state of the Front Door load balancer.
8591
/// </summary>
92+
[CmdletParameterBreakingChangeWithVersion("EnabledState", "15.0.0", "6.0.0", OldParameterType = typeof(PSEnabledState), NewParameterTypeName = "System.String", ChangeDescription = "no longer supports the type 'Microsoft.Azure.Commands.FrontDoor.Models.PSEnabledState' for parameter 'EnabledState'.")]
8693
[Parameter(Mandatory = false, HelpMessage = "Enabled state of the Front Door load balancer. Default value is Enabled")]
8794
public PSEnabledState EnabledState { get; set; }
8895

@@ -96,6 +103,7 @@ public class NewFrontDoor : AzureFrontDoorCmdletBase
96103
/// <summary>
97104
/// Settings for all backendPools
98105
/// </summary>
106+
[CmdletParameterBreakingChangeWithVersion("BackendPoolsSetting", "15.0.0", "6.0.0", OldParameterType = typeof(PSBackendPoolsSetting), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IBackendPoolsSettings", ChangeDescription = "no longer supports the type 'Microsoft.Azure.Commands.FrontDoor.Models.PSBackendPoolsSetting' for parameter 'BackendPoolsSetting'.")]
99107
[Parameter(ParameterSetName = FieldsWithBackendPoolsSettingParameterSet,
100108
Mandatory = false, HelpMessage = "Settings for all backendPools")]
101109
public PSBackendPoolsSetting BackendPoolsSetting { get; set; }

src/FrontDoor/FrontDoor/Cmdlets/NewFrontDoorBackendObject.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2222
/// <summary>
2323
/// Defines the New-AzFrontDoorRoutingRuleObject cmdlet.
2424
/// </summary>
25+
[CmdletOutputBreakingChangeAttribute(typeof(PSBackend), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.Backend", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSBackend'.")]
2526
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorBackendObject"), OutputType(typeof(PSBackend))]
2627
public class NewFrontDoorBackendObject : AzureFrontDoorCmdletBase
2728
{
@@ -63,6 +64,7 @@ public class NewFrontDoorBackendObject : AzureFrontDoorCmdletBase
6364
/// <summary>
6465
/// Whether to enable use of this backend.
6566
/// </summary>
67+
[CmdletParameterBreakingChangeWithVersion("EnabledState", "15.0.0", "6.0.0", OldParameterType = typeof(PSEnabledState), NewParameterTypeName = "System.String", ChangeDescription = "no longer supports the type 'Microsoft.Azure.Commands.FrontDoor.Models.PSEnabledState' for parameter 'EnabledState'.")]
6668
[Parameter(Mandatory = false, HelpMessage = "Whether to enable use of this backend. Default value is Enabled")]
6769
public PSEnabledState EnabledState { get; set; }
6870

src/FrontDoor/FrontDoor/Cmdlets/NewFrontDoorBackendPoolObject.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2222
/// <summary>
2323
/// Defines the New-AzFrontDoorBackendPoolObject cmdlet.
2424
/// </summary>
25+
[CmdletOutputBreakingChangeAttribute(typeof(PSBackendPool), "15.0.0", "6.0.0", ReplacementCmdletOutputTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.BackendPool", ChangeDescription = "no longer has output type 'Microsoft.Azure.Commands.FrontDoor.Models.PSBackendPool'.")]
2526
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorBackendPoolObject"), OutputType(typeof(PSBackendPool))]
2627
public class NewFrontDoorBackendPoolObject : AzureFrontDoorCmdletBase
2728
{
@@ -49,6 +50,7 @@ public class NewFrontDoorBackendPoolObject : AzureFrontDoorCmdletBase
4950
/// <summary>
5051
/// The set of backends for this pool.
5152
/// </summary>
53+
[CmdletParameterBreakingChangeWithVersion("Backend", "15.0.0", "6.0.0", OldParameterType = typeof(PSBackend), NewParameterTypeName = "Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IBackend[]", ChangeDescription = "The element type for parameter 'Backend' has been changed from 'Microsoft.Azure.Commands.FrontDoor.Models.PSBackend' to 'Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IBackend'.")]
5254
[Parameter(Mandatory = true, HelpMessage = "The set of backends for this pool.")]
5355
[ValidateNotNullOrEmpty]
5456
public PSBackend[] Backend { get; set; }

0 commit comments

Comments
 (0)