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
5.2.0 351,057 4/30/2024
5.1.1 1,766,452 4/2/2024
5.1.0 1,663,666 3/5/2024
5.0.1 1,609,416 2/6/2024
5.0.0 4,263,298 11/14/2023
4.6.0 3,745,312 9/5/2023
4.5.0 4,119,036 5/23/2023
4.4.1 5,120,955 2/7/2023
4.4.0 1,251,732 1/10/2023
4.3.0 1,165,059 12/6/2022
4.2.1 676,994 11/17/2022
4.2.0 2,453,889 10/17/2022
4.1.0-preview 1,473 8/25/2022
4.0.0-preview 593 8/4/2022
3.1.0 1,824,253 9/6/2022
3.0.1 9,883,183 3/1/2022
3.0.0 1,635,277 12/7/2021
2.7.0 3,891,555 8/3/2021
2.6.0 597,863 7/6/2021
2.5.0 3,946,019 4/13/2021
2.4.0 3,809,164 1/19/2021
2.3.0 2,877,303 12/8/2020
2.2.0 6,546,288 10/13/2020
2.1.0 2,206,329 8/25/2020
2.0.2 790,001 7/14/2020
2.0.1 418,832 6/23/2020
2.0.0 735,067 5/19/2020
1.7.0 1,993,699 4/21/2020
1.6.2 300,012 3/31/2020
1.6.1 385,547 3/10/2020
1.6.0 546,902 2/18/2020
1.5.0 1,347,741 12/17/2019
1.4.0 1,990,968 10/15/2019
1.3.0 (current version) 185,873 9/24/2019
1.2.2 320,627 8/27/2019
1.2.1 994,498 5/21/2019
1.2.0 111,265 5/6/2019
1.1.0 366,471 4/23/2019
1.0.1 232,507 2/26/2019
1.0.0 190,830 12/18/2018
Show less