Skip to main content

Microsoft Azure Subscriptions Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Resource Subscriptions Management Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-resource-subscriptions
pip install azure-identity

Authentication

By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.resource.subscriptions import SubscriptionClient

client = SubscriptionClient(credential=DefaultAzureCredential())

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.0.0 (2026-07-20)

Other Changes

  • First GA

1.0.0b2 (2026-05-21)

Features Added

  • Client SubscriptionClient added method send_request
  • Added model CloudError

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
  • For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
  • Model ErrorResponse moved instance variable code, message, target, additional_info and details under property display whose type is ErrorDetail
  • Method SubscriptionsOperations.list_locations changed its parameter include_extended_locations from positional_or_keyword to keyword_only

Other Changes

  • Deleted model OperationListResultAutoGenerated/ErrorResponseAutoGenerated/OperationAutoGenerated/OperationDisplayAutoGenerated which actually was not used by SDK users

1.0.0b1 (2026-02-04)

Other Changes

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_resource_subscriptions-1.0.0.tar.gz (62.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file azure_mgmt_resource_subscriptions-1.0.0.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_resource_subscriptions-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c1251c54ef4fa9851fccf4aae5300f4dabd319357783152b930fd961f4d04eb
MD5 861340407040a03d516a4154c4553ed3
BLAKE2b-256 bc8ae87473d051b73871f2e0df16c9141a3e998b7fb2bc4478ae06989b57a81a

See more details on using hashes here.

File details

Details for the file azure_mgmt_resource_subscriptions-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_resource_subscriptions-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 229d1bdafe74f03ea7a6ef1fa20f003538fff832090167c6ed8b001260e50fb1
MD5 d8dad7d4a57dfe81466b9435bce82454
BLAKE2b-256 caacd5e3c070483562578443601f4d1c20d1ce2ecf5f068f05909186bc863815

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page