Using litellm with azure.com

Python integration

Install
pip install litellm
Quick start
import litellm

# Use an OAuth2 access token
client = litellm.Client(access_token="YOUR_ACCESS_TOKEN")
Gets the default Geographic Hierarchy used by the Geographic traffic routing …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Network/trafficManagerGeographicHierarchies/default
Lists all Traffic Manager profiles within a subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles
Get the subscription-level key used for Real User Metrics collection.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:trafficmanager
At a glance
Language Python
Endpoints16