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, Azure Active Directory 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.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.0b2.tar.gz (57.2 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.0b2.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_resource_subscriptions-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 9da8a9532469d738f4a24950565994f3627272edf63d0798c9ef523435e0f4a4
MD5 7acadee2a3d69852960b7cd692f60f3b
BLAKE2b-256 1cd21d42399ff4db0b3aa1c86ffde853199e7d34ca8416967a38418a883251dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_mgmt_resource_subscriptions-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 bbd458f54a5f273674a1b0fe746aceee5dd5b582b28e34ddf22acc82f1e5c7a7
MD5 80087d4bd649b868ea511babf7093fdb
BLAKE2b-256 a2c1a16f83c1fcde7e3c5f4e85768afdd55975e6cfa4d04b83ef9d613a3757c8

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