File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
tools/Az.Tools.Predictor/Az.Tools.Predictor/Commands Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . PowerShell . Tools . AzPredictor . Utilities ;
16
- using System ;
17
- using System . Diagnostics ;
18
- using System . Globalization ;
19
- using System . IO ;
20
15
using System . Management . Automation ;
21
- using System . Text ;
22
- using System . Text . Json ;
23
16
24
17
namespace Microsoft . Azure . PowerShell . Tools . AzPredictor
25
18
{
@@ -40,6 +33,7 @@ public sealed class SendAzPredictorRating : BasePSCmdlet
40
33
/// <para type="description">The rating of Az Predictor: 1 (poor) - 5 (great).</para>
41
34
/// </summary>
42
35
[ Parameter ( Mandatory = true , Position = 0 , HelpMessage = "The rating of Az Predictor: 1 (poor) - 5 (great)." ) ]
36
+ [ ValidateRange ( 1 , 5 ) ]
43
37
public int Rating { get ; set ; }
44
38
45
39
/// <inheritdoc/>
You can’t perform that action at this time.
0 commit comments