New-CmAzCoreMonitor

Deploys core monitoring and logging resources.

Completes the following:

  • Deploys log analytics, app insights and storage account for NSG logs to the logging resource group.
  • Deploys management solutions for keyvaults, subscription activity, agent health, updates and VM insights to the logging resource group.
    • Deploys action groups and activity log alerts to the monitoring resource group.

This command forms part of the Core Building Block.

Parameters

-SettingsFile

Required. (String) File path for the settings file to be converted into a settings object.

-SettingsObject

Required. (Object) Object containing the configuration values required to run this cmdlet.

-WhatIf

(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.

-Confirm

(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.

Examples

Example 1

1
2
3
4
    New-CmAzCoreMonitor -SettingsFile "c:/directory/settingsFile.yml"
New-CmAzCoreMonitor -SettingsObject $settings