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")
Lists all of the available consumption REST API operations.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Consumption/operations
Get all available tag keys for the defined scope
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Consumption/tags
Lists all budgets for the defined scope.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Consumption/budgets
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:consumption
At a glance
Language Go
Endpoints25
✓ Official