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

JavaScript integration

✓ Official SDK
Install
npm install azure-sdk-for-node
Gets all remediations for a resource.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceId}/providers/Microsoft.PolicyInsights/remediations
Gets all remediations for the subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations
Gets an existing remediation at resource scope.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-node
JavaScript
API
azure.com
azure.com:policyinsights-remediations
At a glance
Language JavaScript
Endpoints24
✓ Official