You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -79,21 +79,21 @@ public class SetAzServiceFabricManagedNodeType : ServiceFabricManagedCmdletBase
79
79
#endregion
80
80
81
81
#region reimage params
82
-
83
-
[CmdletParameterBreakingChangeWithVersion("NodeName","15.0.0","15.0.0",ChangeDescription="Reimage operations should be performed with Invoke-AzServiceFabricReimageManagedNodeType instead.")]
82
+
publicconstStringChangeDesc="Parameter is being deprecated without being replaced, use Invoke-AzServiceFabricReimageManagedNodeType cmdlet instead.";
[Parameter(Mandatory=true,ParameterSetName=ReimageByName,HelpMessage="List of node names for the operation.")]
85
85
[Parameter(Mandatory=true,ParameterSetName=ReimageById,HelpMessage="List of node names for the operation.")]
86
86
[Parameter(Mandatory=true,ParameterSetName=ReimageByObj,HelpMessage="List of node names for the operation.")]
87
87
[ValidateNotNullOrEmpty()]
88
88
publicstring[]NodeName{get;set;}
89
89
90
-
[CmdletParameterBreakingChangeWithVersion("Reimage","15.0.0","15.0.0",ChangeDescription="Reimage operations should be performed with Invoke-AzServiceFabricReimageManagedNodeType instead.")]
[Parameter(Mandatory=true,ParameterSetName=ReimageByName,HelpMessage="List of node names for the operation.")]
92
92
[Parameter(Mandatory=true,ParameterSetName=ReimageById,HelpMessage="List of node names for the operation.")]
93
93
[Parameter(Mandatory=true,ParameterSetName=ReimageByObj,HelpMessage="List of node names for the operation.")]
94
94
publicSwitchParameterReimage{get;set;}
95
95
96
-
[CmdletParameterBreakingChangeWithVersion("ForceReimage","15.0.0","15.0.0",ChangeDescription="Reimage operations should be performed with Invoke-AzServiceFabricReimageManagedNodeType instead.")]
HelpMessage="Using this flag will force the reimage even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the node.")]
@@ -102,15 +102,11 @@ public class SetAzServiceFabricManagedNodeType : ServiceFabricManagedCmdletBase
102
102
HelpMessage="Using this flag will force the reimage even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the node.")]
103
103
publicSwitchParameterForceReimage{get;set;}
104
104
105
-
[CmdletParameterBreakingChangeWithVersion("PassThru","15.0.0","15.0.0",ChangeDescription="Reimage operations should be performed with Invoke-AzServiceFabricReimageManagedNodeType instead.")]
[Parameter(Mandatory=false,HelpMessage="Run cmdlet in the background and return a Job to track progress.")]
112
-
publicSwitchParameterAsJob{get;set;}
113
-
114
110
#endregion
115
111
116
112
#region set params
@@ -139,6 +135,9 @@ public class SetAzServiceFabricManagedNodeType : ServiceFabricManagedCmdletBase
139
135
[Parameter(Mandatory=false,ParameterSetName=WithParamsByName,HelpMessage="The size of virtual machines in the pool. Updating this will override the current value and initiate an in-place sku change.")]
140
136
publicstringVmSize{get;set;}
141
137
138
+
[Parameter(Mandatory=false,HelpMessage="Run cmdlet in the background and return a Job to track progress.")]
0 commit comments