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 @@ -126,7 +126,7 @@ public class NewAzureRmAutoscaleProfileCommand : MonitorCmdletBase
[Parameter(ParameterSetName = AddAutoscaleProfileNoScheduleParamGroup, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The rules for the setting")]
[Parameter(ParameterSetName = AddAutoscaleProfileFixDateParamGroup, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The rules for the setting")]
[Parameter(ParameterSetName = AddAutoscaleProfileRecurrenceParamGroup, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The rules for the setting")]
[ValidateNotNullOrEmpty]
[ValidateNotNull]
public List<Management.Monitor.Management.Models.ScaleRule> Rule { get; set; }

#endregion
Expand Down
1 change: 1 addition & 0 deletions src/Monitor/Monitor/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->

## Upcoming Release
* Changed parameter `Rule` of `New-AzAutoscaleProfile` to accept empty list. [#12903]
* Added new cmdlets to support creating diagnostic settings more flexible:
* `Get-AzDiagnosticSettingCategory`
* `New-AzDiagnosticSetting`
Expand Down