Skip to main content

Microsoft Azure Migrationassessment Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Migrationassessment Management Client Library. This package has been tested with Python 3.8+. 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-migrationassessment
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of 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.migrationassessment import MigrationAssessmentMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MigrationAssessmentMgmtClient(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.0b1 (2025-02-27)

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_migrationassessment-1.0.0b1.tar.gz (149.1 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_migrationassessment-1.0.0b1.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_migrationassessment-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 18f4d8ba54bbe1a6de87fef0c0a156e6c29de2de1c08042ebfdb2f7b12b10bf0
MD5 6da00da90a4c590da8c70adf5e7a4e9b
BLAKE2b-256 585d43b00e1acc387898fdcac13e2fd056a4c711e7b2791ac3bcd7a3fe16bf52

See more details on using hashes here.

File details

Details for the file azure_mgmt_migrationassessment-1.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_migrationassessment-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7c70a8d270a4b76f48bb616f3b2257a2e9055f57f53eb3fc4aa12eda22c2cd2
MD5 fb1edeef3441ddec9e93a81314636cac
BLAKE2b-256 d579de9bcb33685ca2860bfb2b9177e6815420b954da7e2bce5660dea8ee0085

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