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 a role assignment by ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{roleAssignmentId}
Gets role assignments for a scope.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/roleAssignments
Get the specified role assignment.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:authorization-authorization-RACalls
At a glance
Language Python
Endpoints10