Metadata-Version: 2.4
Name: azure-mgmt-devhub
Version: 1.0.0b2
Summary: Microsoft Azure Devhub Management Client Library for Python
Author-email: Microsoft Corporation <azpysdkhelp@microsoft.com>
License-Expression: MIT
Project-URL: repository, https://github.com/Azure/azure-sdk-for-python
Keywords: azure,azure sdk
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: isodate>=0.6.1
Requires-Dist: azure-mgmt-core>=1.6.0
Requires-Dist: typing-extensions>=4.6.0
Dynamic: license-file

# 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](https://aka.ms/azsdk/python/all).

## _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](https://azure.microsoft.com/free/)

### Install the package

```bash
pip install azure-mgmt-devhub
pip install azure-identity
```

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) 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:

```python
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](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)


## Troubleshooting

## Next steps

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/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
