This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
Перейти к файлу
Kamil Pajdzik a6a86ac55c
Add generating readme files and SDKs (#39)
* Refactor Gulp structure

* Install nodegit

* Fix missing imports

* Refactor structure #2

* Refactor codegen

* Fix common.ts merge conflicts

* Add basic git operations

* Add updating main readme.md

* Fix branching

* Add GitHub integration

* Add draft of SDK generation

* Add automated PR creation for SDK creation

* Refactor file to use logger

* Add passing token as a command line argument

* Add capturing printed text

* Refactor logging

* Fix incorrect path bug

* Add committing and creating PRs in transactions

* Fix hard coded token

* Remove debug token printing

* Add step skipping

* Add @azure prefix to package names

* Add additional logging

* Change generated name of data-plane SDKs

* Remove unnecessary b option
2018-10-12 12:24:28 -07:00
.scripts Add generating readme files and SDKs (#39) 2018-10-12 12:24:28 -07:00
documentation Delete documentation/README.md 2018-08-27 15:25:37 -07:00
packages Merge pull request #93 from Azure/generated/@azure/arm-datamigration-2018-10-11-765 2018-10-12 11:50:12 -07:00
.gitignore Merge branch 'master' into daschult/compute 2018-09-18 14:01:10 -07:00
.travis.yml Changes based on PR comments 2018-08-27 14:53:45 -07:00
CONTRIBUTING.md add code of conduct to the readme and contributing doc 2018-10-11 21:37:55 +09:00
LICENSE Initial commit for copying files from azure-sdk-for-node 2018-08-27 13:58:16 -07:00
README.md add code of conduct to the readme and contributing doc 2018-10-11 21:37:55 +09:00
gulpfile.ts Add generating readme files and SDKs (#39) 2018-10-12 12:24:28 -07:00
package.json Add generating readme files and SDKs (#39) 2018-10-12 12:24:28 -07:00
swagger_to_sdk_config.json Update swagger_to_sdk_config.json 2018-10-11 15:44:23 -07:00
tsconfig.json Add finding missing SDKs and generate TS readme commands (#26) 2018-10-04 13:33:12 -07:00

README.md

Azure SDK for Javascript

Build Status

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

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

Documentation

Documentation of the supported SDKs can be found here:

Authenticating

There are three ways to authenticate against Azure while using the management plane (azure-arm-<serviceName>) SDKs and the azure-graph SDK, use this guide to determine which method to use.

Install individual modules

Azure Service (Data plane) Install Command
Gallery npm install azure-gallery
Graph npm install azure-graph
Key Vault npm install azure-keyvault
Monitoring npm install azure-monitoring
Scheduler npm install azure-scheduler
Service Fabric npm install azure-servicefabric
Service Bus npm install azure-sb
Storage npm install azure-storage
Batch npm install azure-batch
Azure Resource Management (ARM) (Control plane)
Advisor npm install azure-arm-advisor
Api Management npm install azure-arm-apimanagement
App Insights npm install azure-arm-appinsights
Automation npm install azure-arm-automation
Authorization npm install azure-arm-authorization
Batch npm install azure-arm-batch
BatchAI npm install azure-arm-batchai
Billing npm install azure-arm-billing
CDN npm install azure-arm-cdn
CognitiveServices npm install azure-arm-cognitiveservices
ContainerInstance npm install azure-arm-containerinstance
CosmosDB npm install azure-arm-cosmosdb
Commerce/Usage npm install azure-arm-commerce
Container Registry npm install azure-arm-containerregistry
CustomerInsights npm install azure-arm-customerinsights
Compute npm install azure-arm-compute
Datafactory npm install azure-arm-datafactory
Datalake Analytics npm install azure-arm-datalake-analytics
Datalake Store npm install azure-arm-datalake-store
DevTest Labs npm install azure-arm-devtestlabs
DNS npm install azure-arm-dns
DomainServices npm install azure-arm-domainservices
EventGrid npm install azure-arm-eventgrid
EventHubs npm install azure-arm-eventhub
HDInsight npm install azure-arm-hdinsight
HDInsightJobs npm install azure-arm-hdinsight-jobs
Insights npm install azure-arm-insights
IotHub npm install azure-arm-iothub
Key Vault npm install azure-arm-keyvault
Logic Apps npm install azure-arm-logic
Machine Learning npm install azure-arm-machinelearning
Machine Learning Compute npm install azure-arm-machinelearningcompute
Media Services npm install azure-arm-mediaservices
Mobile Engagement npm install azure-arm-mobileengagement
Monitor Management npm install azure-arm-monitor
Notification Hubs npm install azure-arm-notificationhubs
Operations Management npm install azure-arm-operations
Operational Insights npm install azure-arm-operationalinsights
PowerBi Embedded npm install azure-arm-powerbiembedded
RecoveryServices npm install azure-arm-recoveryservices
RecoveryServices Backup npm install azure-arm-recoveryservicesbackup
RecoveryServices SiteRecovery npm install azure-arm-recoveryservices-siterecovery
Redis Cache npm install azure-arm-rediscache
Relay npm install azure-arm-relay
Resource Health npm install azure-arm-resourcehealth
Resource Manager npm install azure-arm-resource
Scheduler npm install azure-arm-scheduler
Search npm install azure-arm-search
ServerManagement npm install azure-arm-servermanagement
Servicebus npm install azure-arm-sb
Service Fabric npm install azure-arm-servicefabric
Storage npm install azure-arm-storage
Storage Import-Export npm install azure-arm-storageimportexport
Storsimple8000series npm install azure-arm-storsimple8000series
Stream Analytics npm install azure-arm-streamanalytics
Sql npm install azure-arm-sql
Traffic Manager npm install azure-arm-trafficmanager
Virtual Networks npm install azure-arm-network
VisualStudio npm install azure-arm-visualstudio
WebApps (WebSites) npm install azure-arm-website
Base Libraries
Common Functionality for ARM clients generated from Autorest (Generic) npm install ms-rest-js
Common Functionality for ARM clients generated from Autorest (Azure) npm install ms-rest-azure-js

Need Help?

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.

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

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.

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} --recursive)
  3. Move into SDK directory (cd azure-sdk-for-js)
  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