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

azure

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure

Microsoft Azure Client Library for node

  • 2.3.1-preview
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
increased by3.1%
Maintainers
1
Weekly downloads
 
Created
Source

Azure SDK for Node.js

NPM version Build Status

This project provides a Node.js package that makes it easy to consume and manage Microsoft Azure Services. It supports sdks for:

  • old ASM services (packages with the naming convention of azure-asm-*)
  • new ARM services (packages with the naming convention of azure-arm-*)
  • data plane of some Azure services (packages with the naming convention of azure-<servicename>).

Usage

This module includes all of the individual Azure Node.js modules in a single place. If your application only needs access to specific management modules, see the list of individual modules below.

$ npm install azure

This will allow you access to some helper methods as well as all of the individual modules. For example, by installing the azure module, you can directly require and use the ms-rest-azure common module. This organization method allows for submodules (and peer dependent modules) to always be in sync with each other.

Note: We haven't provided fine-grained modules for every supported Microsoft Azure service yet. This will come soon. If there is a module that you find is missing, open an issue so that we may prioritize it in the backlog.

Documentation

Documentation of the supported sdks can be found at two places:

  • https://azure.github.io/azure-sdk-for-node - This website primarily provides sdk documentation for
    • ASM based services (azure-asm-*)
    • some old data plane sdks like azure-sb, azure-scheduler, azure-storage-legacy, azure-monitoring, etc.
    • runtime sdks like ms-rest, ms-rest-azure, azure-common
  • https://aka.ms/azure-node-sdk - This website primarily provides sdk documentation for
    • ARM based services (azure-arm-*)
    • newer data plane sdks like azure-batch, azure-graph, etc.

Authenticating

There are three ways to authenticate against Azure while using the management plane (azure-arm-*) sdks and the azure-graph sdk, use this guide to determine which method to use.

AzureNodeEssentials VSCode extension

The AzureNodeEssentials extension helps you easily interact with Azure. It helps you:

  • create a project scaffolding
  • install correct dependencies
  • ready to use snippets for authentication and deploying templates to azure

Please feel free to provide feedback for the extension by opening github issues over here.

Install individual modules

Azure Service (Data plane)Install Command
Gallerynpm install azure-gallery
Graphnpm install azure-graph
Key Vaultnpm install azure-keyvault
Monitoringnpm install azure-monitoring
Schedulernpm install azure-scheduler
Service Fabricnpm install azure-servicefabric
Service Busnpm install azure-sb
Storagenpm install azure-storage
Batchnpm install azure-batch
Azure Resource Management (ARM) (Control plane)
Advisornpm install azure-arm-advisor
Api Managementnpm install azure-arm-apimanagement
App Insightsnpm install azure-arm-appinsights
Automationnpm install azure-arm-automation
Authorizationnpm install azure-arm-authorization
Batchnpm install azure-arm-batch
BatchAInpm install azure-arm-batchai
Billingnpm install azure-arm-billing
CDNnpm install azure-arm-cdn
CognitiveServicesnpm install azure-arm-cognitiveservices
ContainerInstancenpm install azure-arm-containerinstance
CosmosDBnpm install azure-arm-cosmosdb
Commerce/Usagenpm install azure-arm-commerce
Container Registrynpm install azure-arm-containerregistry
CustomerInsightsnpm install azure-arm-customerinsights
Computenpm install azure-arm-compute
Datafactorynpm install azure-arm-datafactory
Datalake Analyticsnpm install azure-arm-datalake-analytics
Datalake Storenpm install azure-arm-datalake-store
DevTest Labsnpm install azure-arm-devtestlabs
DNSnpm install azure-arm-dns
DomainServicesnpm install azure-arm-domainservices
EventGridnpm install azure-arm-eventgrid
EventHubsnpm install azure-arm-eventhub
HDInsightnpm install azure-arm-hdinsight
HDInsightJobsnpm install azure-arm-hdinsight-jobs
Insightsnpm install azure-arm-insights
IotHubnpm install azure-arm-iothub
Key Vaultnpm install azure-arm-keyvault
Logic Appsnpm install azure-arm-logic
Machine Learningnpm install azure-arm-machinelearning
Machine Learning Computenpm install azure-arm-machinelearningcompute
Media Servicesnpm install azure-arm-mediaservices
Mobile Engagementnpm install azure-arm-mobileengagement
Monitor Managementnpm install azure-arm-monitor
Notification Hubsnpm install azure-arm-notificationhubs
Operations Managementnpm install azure-arm-operations
Operational Insightsnpm install azure-arm-operationalinsights
PowerBi Embeddednpm install azure-arm-powerbiembedded
RecoveryServicesnpm install azure-arm-recoveryservices
RecoveryServices Backupnpm install azure-arm-recoveryservicesbackup
RecoveryServices SiteRecoverynpm install azure-arm-recoveryservices-siterecovery
Redis Cachenpm install azure-arm-rediscache
Relaynpm install azure-arm-relay
Resource Healthnpm install azure-arm-resourcehealth
Resource Managernpm install azure-arm-resource
Schedulernpm install azure-arm-scheduler
Searchnpm install azure-arm-search
ServerManagementnpm install azure-arm-servermanagement
Servicebusnpm install azure-arm-sb
Service Fabricnpm install azure-arm-servicefabric
Storagenpm install azure-arm-storage
Storage Import-Exportnpm install azure-arm-storageimportexport
Storsimple8000seriesnpm install azure-arm-storsimple8000series
Stream Analyticsnpm install azure-arm-streamanalytics
Sqlnpm install azure-arm-sql
Traffic Managernpm install azure-arm-trafficmanager
Virtual Networksnpm install azure-arm-network
VisualStudionpm install azure-arm-visualstudio
WebApps (WebSites)npm install azure-arm-website
Azure Service Management (ASM) (Control plane)
Computenpm install azure-asm-compute
HDInsightnpm install azure-asm-hdinsight
Service Busnpm install azure-asm-sb
Service Managernpm install azure-asm-mgmt
Storenpm install azure-asm-store
Schedulernpm install azure-asm-scheduler
SQL Databasenpm install azure-asm-sql
Storagenpm install azure-asm-storage
Subscriptionsnpm install azure-asm-subscription
Traffic Managernpm install azure-asm-trafficmanager
Virtual Networksnpm install azure-asm-network
WebSitesnpm install azure-asm-website
Base Libraries
Common Functionality (for ASM & ARM clients)npm install azure-common
Common Functionality for ARM clients generated from Autorest (Generic)npm install ms-rest
Common Functionality for ARM clients generated from Autorest (Azure)npm install ms-rest-azure

Need Help?

License

This project is licensed under MIT and Apache-2.0.

  • "MIT" license is usually used for the client libraries generated using Autorest that are targeting ARM (V2 version of Azure REST API). The license can be found in "LICENSE.MIT.txt" file in this repository.
  • "Apache-2.0" license is usually used for the client libraries generated using an internal code generator that are targeting ASM (V1 version of Azure REST API). The license can be found in "LICENSE.Apache.txt" file in this repository.

Contribute

Getting Started Developing

Want to get started hacking on the code, super! Follow the following instructions to get up and running. These instructions expect you have Git and a supported version of Node installed.

  1. Fork it
  2. Git Clone your fork (git clone {your repo})
  3. Move into sdk directory (cd azure-sdk-for-node)
  4. Install all dependencies (npm install)
  5. Run the tests (npm test). You should see all tests passing.

Contributing Code to the Project

You found something you'd like to change, great! Please submit a pull request and we'll do our best to work with you to get your code included into the project.

  1. Commit your changes (git commit -am 'Add some feature')
  2. Push to the branch (git push origin my-new-feature)
  3. Create new Pull Request

Keywords

FAQs

Package last updated on 15 Jun 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