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")
Get operations.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Capacity/operations
Get all `ReservationOrder`s.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Capacity/reservationOrders
Get a specific `ReservationOrder`.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:reservations
At a glance
Language Go
Endpoints14
✓ Official