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 Microsoft.Subscription API operations.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Subscription/operations
List an Azure subscription definition by subscriptionId.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Subscription/subscriptionDefinitions
Retrieves the status of the subscription definition PUT operation. The URI of…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Subscription/subscriptionOperations/{operationId}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:subscription-subscriptionDefinitions
At a glance
Language Go
Endpoints5
✓ Official