Skip to main content
Pre-release

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

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_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.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:

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 DevHubMgmtClient added parameter cloud_setting in method __init__
  • Client DevHubMgmtClient added method get_adoo_auth_info
  • Client DevHubMgmtClient added method send_request
  • Client DevHubMgmtClient added operation group iac_profiles
  • Client DevHubMgmtClient added operation group adoo_auth
  • Client DevHubMgmtClient added operation group template
  • Client DevHubMgmtClient added operation group versioned_template
  • Enum ManifestType added member KUSTOMIZE
  • 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 GitHubOAuthResponse moved instance variable username under property properties whose type is GitHubOAuthProperties
  • Method DevHubMgmtClient.git_hub_o_auth_callback changed its parameter code/state from positional_or_keyword to keyword_only
  • Method WorkflowOperations.list_by_resource_group changed its parameter managed_cluster_resource from positional_or_keyword to keyword_only

Other Changes

  • Renamed operation group DevHubMgmtClientOperationsMixin to _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)

Source distribution for azure-mgmt-devhub 1.0.0b2
File Size Uploaded Provenance
azure_mgmt_devhub-1.0.0b2.tar.gz 75.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-devhub 1.0.0b2
File Interpreter ABI Platform
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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page