This package provides the Microsoft Azure Data Box Edge Management Client Library for Python, enabling users to programmatically manage Azure Data Box Edge resources. It supports Python 3.8+ and is part of the actively maintained Azure SDK for Python.
pip install azure-mgmt-databoxedge azure-identityVerified import paths — ran on the pinned version, not inferred.
Initializes the DataBoxEdgeManagementClient using `DefaultAzureCredential`. Ensure environment variables `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`, and `AZURE_SUBSCRIPTION_ID` are set for authentication.
Migrate to `azure-identity` classes (e.g., `DefaultAzureCredential`) and use the `credential` keyword argument.
Adjust code to use `begin_` prefixed methods for long-running operations and handle `azure.core.exceptions.HttpResponseError` for general API errors.
If encountering issues with specific API versions, consider pinning the `azure-mgmt-databoxedge` package to the previous major version (e.g., `1.0.0`) or update your code to use the latest API version.
Ensure `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET` (or other credential types) and `AZURE_SUBSCRIPTION_ID` are set in your environment.
Ensure your development and deployment environments are running Python 3.8 or a later compatible version.