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 the extension properties for the specified HDInsight cluster extension.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}
Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:hdinsight-extensions

At a glance

Language Go
Endpoints6
✓ Official