9.1.0-preview • Published 5 years ago
azure-arm-automation v9.1.0-preview
uid: azure-arm-automation summary: *content
Microsoft Azure SDK for Node.js - AutomationClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- Node.js version 6.x.x or higher
Features
How to Install
npm install azure-arm-automation
How to use
Authentication, client creation and get automationAccount as an example.
const msRestAzure = require("ms-rest-azure");
const AutomationClient = require("azure-arm-automation");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new AutomationClient(creds, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const automationAccountName = "testautomationAccountName";
return client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error occurred:');
console.dir(err, {depth: null, colors: true});
});
## Related projects
- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
9.1.0-preview
5 years ago
9.0.0-preview
6 years ago
8.1.0-preview
6 years ago
8.0.0-preview
6 years ago
7.0.0-preview
6 years ago
6.1.0-preview
6 years ago
6.0.0-preview
6 years ago
4.0.0-preview
6 years ago
3.0.0-preview
6 years ago
2.0.0-preview
7 years ago
1.0.0-preview
7 years ago