Using azure-sdk-for-js with azure.com

TypeScript integration

✓ Official SDK
Install
npm install azure-sdk-for-js
Quick start
import Azure_sdk_for_js from 'azure-sdk-for-js';

const client = new Azure_sdk_for_js({ accessToken: "YOUR_ACCESS_TOKEN" });
Gets all resource providers for the tenant.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers
Gets a resource by ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceId}
Gets the specified resource provider at the tenant level.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/{resourceProviderNamespace}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-js
TypeScript
API
azure.com
azure.com:resources
At a glance
Language TypeScript
Endpoints78
✓ Official