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" });
Fetches the backup management usage summaries of the vault.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupUsageSummaries
Provides a pageable list of all intents that are present within a vault.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents
Provides the details of the protection intent up item. This is an asynchronou…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-js
TypeScript
API
azure.com
azure.com:recoveryservicesbackup-bms
At a glance
Language TypeScript
Endpoints8
✓ Official