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 list of compute operations.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Compute/operations
Gets the list of Images in the subscription. Use nextLink property in the res…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/images
Lists all of the dedicated host groups in the subscription. Use the nextLink …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:compute
At a glance
Language Go
Endpoints109
✓ Official