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")
Use this method get the list of device security groups for the specified IoT …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups
Use this method to get the device security group for the specified IoT Hub re…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:security-deviceSecurityGroups
At a glance
Language Go
Endpoints4
✓ Official