SDK for Azure

Python’s Azure SDK is a set of libraries, tools, and frameworks that enable developers to build and manage applications for Microsoft Azure cloud services using Python.

The open-source Azure libraries for Python simplify provisioning, managing, and using Azure resources from Python application code.

  • How you communicate with Azure services from Python code that you run either locally or in the cloud
  • Supports Python 3.7 >
  • If running locally you must use environment variables for authentication
  • Libraries are split between Management Plane and Data Plane and each perform distinct actions
  • AZ CLI is written in Python so in theory anything AZ CLI can do Python also do but that does not mean you should use Python “just because” as AZ CLI will likely offer a better experience

Management Plane Libraries

  • All begin with azure-mgmt
  • CRUD actions against Azure resources

Client Plane Libraries

  • Interact with already-provisioned resources

References

Azure SDK for Python

Last modified July 21, 2024: update (e2ae86c)