This release is a pre-release and may not be stable for production use.
Microsoft Azure SDK for Python
This is the Microsoft Azure Devhub 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
- Python 3.10+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-devhub
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor 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.devhub import DevHubMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DevHubMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Devhub Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
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-06-02)
Features Added
- Client
DevHubMgmtClientadded parametercloud_settingin method__init__ - Client
DevHubMgmtClientadded methodget_adoo_auth_info - Client
DevHubMgmtClientadded methodsend_request - Client
DevHubMgmtClientadded operation groupiac_profiles - Client
DevHubMgmtClientadded operation groupadoo_auth - Client
DevHubMgmtClientadded operation grouptemplate - Client
DevHubMgmtClientadded operation groupversioned_template - Enum
ManifestTypeadded memberKUSTOMIZE - Added model
ADOOAuth - Added model
ADOOAuthCallRequest - Added model
ADOOAuthInfoResponse - Added model
ADOOAuthResponse - Added model
ADOProviderProfile - Added model
ADORepository - Added model
AzurePipelineProfile - Added model
Build - Added model
ExportTemplateRequest - Added model
GenerateVersionedTemplateResponse - Added model
GitHubProviderProfile - Added model
GitHubRepository - Added model
GitHubWorkflowProfile - Added model
IacGitHubProfile - Added model
IacProfile - Added model
IacProfileProperties - Added model
IacTemplateDetails - Added model
IacTemplateProperties - Added model
OidcCredentials - Added model
Parameter - Added model
ParameterDefault - Added enum
ParameterKind - Added enum
ParameterType - Added model
PrLinkResponse - Added model
PullRequest - Added enum
QuickStartTemplateType - Added enum
RepositoryProviderType - Added model
ScaleProperty - Added model
ScaleTemplateRequest - Added model
StageProperties - Added model
Template - Added model
TemplateProperties - Added model
TemplateReference - Added enum
TemplateType - Added model
TemplateWorkflowProfile - Added model
TerraformProfile - Added model
VersionedTemplate - Added model
VersionedTemplateProperties - Added operation group
ADOOAuthOperations - Added operation group
IacProfilesOperations - Added operation group
TemplateOperations - Added operation group
VersionedTemplateOperations
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
GitHubOAuthResponsemoved instance variableusernameunder propertypropertieswhose type isGitHubOAuthProperties - Method
DevHubMgmtClient.git_hub_o_auth_callbackchanged its parametercode/statefrompositional_or_keywordtokeyword_only - Method
WorkflowOperations.list_by_resource_groupchanged its parametermanaged_cluster_resourcefrompositional_or_keywordtokeyword_only
Other Changes
- Renamed operation group
DevHubMgmtClientOperationsMixinto_DevHubMgmtClientOperationsMixin
1.0.0b1 (2023-05-20)
- Initial Release
Metadata
Release files for azure-mgmt-devhub 1.0.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| azure_mgmt_devhub-1.0.0b2.tar.gz | 75.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azure_mgmt_devhub-1.0.0b2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 159.6 kB
Release files / azure_mgmt_devhub-1.0.0b2.tar.gz
| Download URL | azure_mgmt_devhub-1.0.0b2.tar.gz |
|---|---|
| Size | 75.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
144a6ff78c9b90fa72bad62011d741baf8f54e058a78ef54e4656649a81aef25
|
|
BLAKE2b-256 checksum How to use checksums |
629ba913340e3410bfe8ecc9899c65d0cded1886c697931cde4ff7a7c3affae1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / azure_mgmt_devhub-1.0.0b2-py3-none-any.whl
| Download URL | azure_mgmt_devhub-1.0.0b2-py3-none-any.whl |
|---|---|
| Size | 83.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ea1104f75f8747507c300c0de7456398f23f4bc8694f8f06102e1221d19faed
|
|
BLAKE2b-256 checksum How to use checksums |
328ef7e33055187fa0d75a50e2b1d3b03f33ba88611cc3e808dc63d916c02b39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Security for azure-mgmt-devhub 1.0.0b2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.