Skip to main content

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

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

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_devhub-1.0.0b2.tar.gz (75.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_devhub-1.0.0b2-py3-none-any.whl (83.8 kB view details)

Uploaded Python 3

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

Hashes for azure_mgmt_devhub-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 144a6ff78c9b90fa72bad62011d741baf8f54e058a78ef54e4656649a81aef25
MD5 cb1a43a3bb6b9d7c5e2c77c4772affce
BLAKE2b-256 629ba913340e3410bfe8ecc9899c65d0cded1886c697931cde4ff7a7c3affae1

See more details on using hashes here.

File details

Details for the file azure_mgmt_devhub-1.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_devhub-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea1104f75f8747507c300c0de7456398f23f4bc8694f8f06102e1221d19faed
MD5 151fcb60d95755a31b2c5eb0407a3d41
BLAKE2b-256 328ef7e33055187fa0d75a50e2b1d3b03f33ba88611cc3e808dc63d916c02b39

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