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

Go integration

✓ Official SDK
Install
go get github.com/Azure/azure-sdk-for-go
Quick start
import "azure-sdk-for-go"

// Initialize client
client := azure-sdk-for-go.NewClient("YOUR_ACCESS_TOKEN")
Gets a deny assignment by ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{denyAssignmentId}
Gets deny assignments for a scope.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/denyAssignments
Get the specified deny assignment.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:authorization-authorization-DenyAssignmentGetCalls
At a glance
Language Go
Endpoints6
✓ Official