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

C# integration

✓ Official SDK
Install
dotnet add package azure-sdk-for-net
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-net
C#
API
azure.com
azure.com:policyinsights-remediations
At a glance
Language C#
Endpoints24
✓ Official