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")
The List VirtualNetworkGatewayConnections operation retrieves all the virtual…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections
Gets all the local network gateways in a resource group.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways
Gets all virtual network gateways by resource group.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:network-virtualNetworkGateway
At a glance
Language Go
Endpoints36
✓ Official