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 the diagnostic settings categories for the specified resource.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories
Gets the diagnostic settings category for the specified resource.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories/{name}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:monitor-diagnosticsSettingsCategories_API

At a glance

Language Go
Endpoints2
✓ Official