Microsoft Azure SDK for Node.js - Azure Monitor Management
azure-arm-monitor and this SDK has been deprecated. Please change your dependency from azure-monitor to azure-arm-monitor.
The contents of this SDK have been moved toThis project provides a Node.js package that makes it easy to use the Azure Monitor API. Right now it supports:
- Node.js version: 6.x or higher
How to Install
npm install azure-monitor
How to Use
Authentication, client creation and listing activityLogs as an example.
const msRestAzure = ;const monitorClient = ; // Interactive Login// It provides a url and code that needs to be copied and pasted in a browser and authenticated over there. If successful, // the user will get a DeviceTokenCredentials object.msRestAzure;