Skip to main content

Microsoft Azure Portal Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Portal 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-portal
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.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

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

from azure.identity import DefaultAzureCredential
from azure.mgmt.portal import Portal
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = Portal(credential=DefaultAzureCredential(), subscription_id=sub_id)

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.1 (2026-05-13)

Other Changes

  • Regenerated with latest code generator tool

1.1.0b1 (2022-11-01)

Other Changes

  • Added generated samples in github repo
  • Drop support for python<3.7.0

1.0.0 (2021-05-21)

Features

  • Model MarkdownPartMetadata has a new parameter additional_properties
  • Model DashboardPartMetadata has a new parameter additional_properties

1.0.0b1 (2020-12-17)

  • Initial Release

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_portal-1.0.1.tar.gz (45.0 kB view details)

Uploaded Source

Built Distribution

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

azure_mgmt_portal-1.0.1-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

Details for the file azure_mgmt_portal-1.0.1.tar.gz.

File metadata

  • Download URL: azure_mgmt_portal-1.0.1.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for azure_mgmt_portal-1.0.1.tar.gz
Algorithm Hash digest
SHA256 84bda6c8deb2af189f5e10192949b649acfb91cba273fdd650894256a53ceac6
MD5 18c075f9ef669177082838de8df325f1
BLAKE2b-256 039d3ac496cb3926eddefaf33c1c36464e7259a2b3d97e60ba50aa0ebc46410e

See more details on using hashes here.

File details

Details for the file azure_mgmt_portal-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_portal-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d4d1a3ef01ad9f3e3f44a8c291e8a6fc13934164ff6cf3502dd29f5bc0b0484
MD5 2979b83395cee23fda664d1bb6aa4127
BLAKE2b-256 29c12395be295f5ba5e78b24d98e3c5cdb358a8fe6c73d4ecd6f0613f90b3f6e

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