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

JavaScript integration

✓ Official SDK
Install
npm install azure-sdk-for-node
Lists all of the available OperationalInsights Rest API operations.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.OperationalInsights/operations
Gets the workspaces in a subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
Gets workspaces in a resource group.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-node
JavaScript
API
azure.com
azure.com:operationalinsights-OperationalInsights
At a glance
Language JavaScript
Endpoints21
✓ Official