Microsoft Azure Devhub Management Client Library for Python
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_mgmt_devhub-1.0.0b2.tar.gz.
File metadata
- Download URL: azure_mgmt_devhub-1.0.0b2.tar.gz
- Upload date:
- Size: 75.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
144a6ff78c9b90fa72bad62011d741baf8f54e058a78ef54e4656649a81aef25
|
|
| MD5 |
cb1a43a3bb6b9d7c5e2c77c4772affce
|
|
| BLAKE2b-256 |
629ba913340e3410bfe8ecc9899c65d0cded1886c697931cde4ff7a7c3affae1
|
File details
Details for the file azure_mgmt_devhub-1.0.0b2-py3-none-any.whl.
File metadata
- Download URL: azure_mgmt_devhub-1.0.0b2-py3-none-any.whl
- Upload date:
- Size: 83.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ea1104f75f8747507c300c0de7456398f23f4bc8694f8f06102e1221d19faed
|
|
| MD5 |
151fcb60d95755a31b2c5eb0407a3d41
|
|
| BLAKE2b-256 |
328ef7e33055187fa0d75a50e2b1d3b03f33ba88611cc3e808dc63d916c02b39
|