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")
The Microsoft Portal operations API.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Portal/operations
Gets all the dashboards within a subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards
Gets all the Dashboards within a resource group.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:portal

At a glance

Language Python
Endpoints7