Az.Monitor

1.3.0

Microsoft Azure PowerShell - Monitor service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.

For more information on Monitor, please visit the following: https://docs.microsoft.com/azure/monitoring-and-diagnostics/

Minimum PowerShell version

5.1

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az.Monitor -RequiredVersion 1.3.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Az.Monitor -Version 1.3.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Azure ResourceManager ARM Monitor

Cmdlets

Get-AzMetricDefinition Get-AzMetric Remove-AzLogProfile Get-AzLogProfile Add-AzLogProfile Get-AzLog Set-AzDiagnosticSetting Get-AzDiagnosticSetting Remove-AzDiagnosticSetting New-AzAutoscaleNotification New-AzAutoscaleProfile New-AzAutoscaleRule Add-AzAutoscaleSetting Get-AzAutoscaleHistory Get-AzAutoscaleSetting New-AzAutoscaleWebhook Remove-AzAutoscaleSetting Add-AzMetricAlertRule Add-AzWebtestAlertRule Get-AzAlertHistory Get-AzAlertRule New-AzAlertRuleEmail New-AzAlertRuleWebhook Remove-AzAlertRule Set-AzActivityLogAlert Get-AzActivityLogAlert New-AzActionGroup New-AzActivityLogAlertCondition Enable-AzActivityLogAlert Disable-AzActivityLogAlert Remove-AzActivityLogAlert New-AzActionGroupReceiver Set-AzActionGroup Get-AzActionGroup Remove-AzActionGroup New-AzMetricFilter Add-AzMetricAlertRuleV2 Get-AzMetricAlertRuleV2 New-AzMetricAlertRuleV2DimensionSelection New-AzMetricAlertRuleV2Criteria Remove-AzMetricAlertRuleV2 New-AzScheduledQueryRuleSource New-AzScheduledQueryRuleSchedule New-AzScheduledQueryRuleTriggerCondition New-AzScheduledQueryRuleLogMetricTrigger New-AzScheduledQueryRuleAznsActionGroup New-AzScheduledQueryRuleAlertingAction New-AzScheduledQueryRule Get-AzScheduledQueryRule Set-AzScheduledQueryRule Update-AzScheduledQueryRule Remove-AzScheduledQueryRule

PSEditions

Core Desktop

Dependencies

Release Notes

* Pointing to the most recent Monitor SDK, i.e. 0.24.1-preview
  - Adds non-braking changes to the Metrics cmdlets, i.e. the Unit enumeration supports several new values. These are read-only cmdlets, so there would be no change in the input of the cmdlets.
  - The api-version of the **ActionGroups** requests is now **2019-06-01**, before it was **2018-03-01**. The scenario tests have been updated to accommodate for this change.
  - The constructors for the classes **EmailReceiver** and **WebhookReceiver** added one new mandatory argument, i.e. a Boolean value called **useCommonAlertSchema**. Currently, the value is fixed to **false** to hide this breaking change from the cmdlets. **NOTE**: this is a temporary change that must be validated by the Alerts team.
  - The order of the arguments for the constructor of the class **Source** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
  - The order of the arguments for the constructor of the class **AlertingAction** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
* Support Dynamic Threshold criteria for metric alert V2
- New-AzMetricAlertRuleV2Criteria: now creats dynamic threshold criteria also
- Add-AzMetricAlertRuleV2: now accept dynamic threshold criteria also
* Improvements in Scheduled Query Rule cmdlets (SQR)
- Cmdlets will accept 'Location' paramater in both formats, either the location (e.g. eastus) or the location display name (e.g. East US)
- Illustrated 'Enabled' parameter in help files properly
- Added examples for 'ActionGroup' optional parameter
- Overall improved help files
* Fix bug in determining scope type for 'Set-AzActionRule'

FileList

Version History

Version Downloads Last updated
6.0.0 462,619 11/19/2024
5.3.0 942,398 11/11/2024
5.2.2 3,636,956 10/8/2024
5.2.1 11,656,382 5/21/2024
5.2.0 1,563,692 4/30/2024
5.1.1 1,804,971 4/2/2024
5.1.0 1,766,716 3/5/2024
5.0.1 1,761,480 2/6/2024
5.0.0 4,326,359 11/14/2023
4.6.0 5,066,971 9/5/2023
4.5.0 4,143,391 5/23/2023
4.4.1 6,046,362 2/7/2023
4.4.0 1,302,640 1/10/2023
4.3.0 1,179,240 12/6/2022
4.2.1 693,283 11/17/2022
4.2.0 2,636,039 10/17/2022
4.1.0-preview 1,477 8/25/2022
4.0.0-preview 597 8/4/2022
3.1.0 1,961,448 9/6/2022
3.0.1 10,804,330 3/1/2022
3.0.0 1,644,557 12/7/2021
2.7.0 4,122,082 8/3/2021
2.6.0 610,603 7/6/2021
2.5.0 4,336,213 4/13/2021
2.4.0 3,837,968 1/19/2021
2.3.0 2,892,773 12/8/2020
2.2.0 6,906,310 10/13/2020
2.1.0 2,217,426 8/25/2020
2.0.2 796,573 7/14/2020
2.0.1 420,594 6/23/2020
2.0.0 740,346 5/19/2020
1.7.0 2,052,822 4/21/2020
1.6.2 301,602 3/31/2020
1.6.1 387,300 3/10/2020
1.6.0 561,730 2/18/2020
1.5.0 1,367,127 12/17/2019
1.4.0 2,065,713 10/15/2019
1.3.0 (current version) 186,959 9/24/2019
1.2.2 323,042 8/27/2019
1.2.1 1,004,545 5/21/2019
1.2.0 114,671 5/6/2019
1.1.0 368,417 4/23/2019
1.0.1 234,290 2/26/2019
1.0.0 192,397 12/18/2018
Show less