Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-arm-eventhub

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-arm-eventhub

Microsoft EventHub Management Client Library for node

  • 1.2.0-preview
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Microsoft Azure SDK for Node.js - EventHubManagement

This project provides a Node.js package that makes it easy to manage Azure EventHub Resources. Right now it supports:

  • Node.js version: 6.0.0 or higher

How to Install

npm install azure-arm-eventhub

How to Use

Authentication, client creation and getting information about an eventhub as an example

var msRestAzure = require('ms-rest-azure');
var EventHubManagement = require('azure-arm-eventhub');

// Interactive Login
msRestAzure.interactiveLogin(function(err, credentials) {
 var client = new EventHubManagement(credentials, 'your-subscription-id');
 var resourceGroupName = 'testRG';
 var namespaceName = 'testNS';
 var eventHubName = 'testEH';
 client.eventHubs.get(resourceGroupName, namespaceName, eventHubName, function(err, eventHubs, request, response) {
   if (err) {
     console.log(err);
   } else {
     eventHubs.map(function (hub, index, array) {
       console.log('found hub :' + hub.name);
     }));
   }
 });
});
  • Microsoft Azure SDK for Node.js - All-up

Keywords

FAQs

Package last updated on 22 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc