Microsoft Azure SDK for Node.js - ServerManagement
This project provides a Node.js package that makes it easy to manage Azure ServerManagement Resources. Right now it supports:
- Node.js version: 5.0.0 or higher
- API version: 2015-07-01-preview
Features
How to Install
npm install azure-arm-servermanagement
How to Use
Create an ServerManagement management client
var msRestAzure = require('ms-rest-azure');
var ServerManagement = require('azure-arm-servermanagement');
var credentials = new msRestAzure.UserTokenCredentials(clientId, username, password, subscriptionId);
var client = new ServerManagement(credentials, subscriptionId);
client.node.list(resourceGroupName, function( error, nodes,request, response ) {
nodes.map(function (node, index, array) {
console.log('found node :' + node.name);
}));
});
Related projects