Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
399bde6
Configurations: 'specification/discovery/Discovery.Management/tspcon…
azure-sdk Mar 6, 2026
826ed4c
Configurations: 'specification/discovery/Discovery.Management/tspcon…
azure-sdk Mar 7, 2026
c6fbf9f
Add live tests, test recordings, and CODEOWNERS entry from discovery …
oylawal Mar 7, 2026
1a70ac9
Update CODEOWNERS and remove test_hero_scenario (missing dependency)
oylawal Mar 7, 2026
bbfc8e6
Rename title from 'DiscoveryClient' to 'DiscoveryMgmtClient'
ChenxiJiang333 Mar 9, 2026
2d191b8
Configurations: 'specification/discovery/Discovery.Management/tspcon…
azure-sdk Mar 9, 2026
9b4304f
update
ChenxiJiang333 Mar 9, 2026
58862d7
Move test recordings to azure-sdk-assets repo and add assets.json
oylawal Mar 10, 2026
a2a58fc
Merge branch 'sdkauto/azure-mgmt-discovery-5975279' of https://github…
oylawal Mar 10, 2026
407444c
.
oylawal Mar 10, 2026
d555fb9
Configurations: 'specification/discovery/Discovery.Management/tspcon…
azure-sdk Mar 12, 2026
a559924
Merge branch 'main' into sdkauto/azure-mgmt-discovery-5975279
oylawal Mar 15, 2026
df2dbf0
Update azure-mgmt-discovery tests to use typed models and re-record a…
oylawal Mar 15, 2026
7a76eec
Remove hardcoded subscription IDs from test source code
oylawal Mar 16, 2026
713b787
Merge branch 'main' into sdkauto/azure-mgmt-discovery-5975279
praveenkuttappan Mar 17, 2026
e5bde18
Merge branch 'main' into sdkauto/azure-mgmt-discovery-5975279
ChenxiJiang333 Mar 18, 2026
51b0d85
Merge branch 'main' into sdkauto/azure-mgmt-discovery-5975279
ChenxiJiang333 Mar 19, 2026
2597993
Merge branch 'main' into sdkauto/azure-mgmt-discovery-5975279
msyyc May 28, 2026
ce67862
Update CHANGELOG.md
msyyc May 28, 2026
c9a771e
Update CODEOWNERS
msyyc May 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@
# PRLabel: %Digital Twins
/sdk/digitaltwins/ @Aashish93-stack @johngallardo @Satya-Kolluri @sjiherzig

# ServiceLabel: %Discovery
# PRLabel: %Discovery
/sdk/discovery/ @oylawal @achocron

# PRLabel: %Document Intelligence
/sdk/documentintelligence/ @bojunehsu @yungshinlintw

Expand Down Expand Up @@ -339,8 +343,6 @@
# PRLabel: %Monitor
/sdk/monitor/azure-monitor-ingestion/ @Azure/azure-sdk-write-monitor-data-plane

# PRLabel: %Cognitive - Content Understanding
/sdk/contentunderstanding/ @bojunehsu @changjian-wang @chienyuanchang @yungshinlintw
# PRLabel: %Monitor
/sdk/monitor/azure-monitor-query/ @Azure/azure-sdk-write-monitor-query-logs

Expand Down
7 changes: 7 additions & 0 deletions sdk/discovery/azure-mgmt-discovery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release History

## 1.0.0b1 (2026-03-07)

### Other Changes

- Initial version
Comment thread
msyyc marked this conversation as resolved.
Outdated
21 changes: 21 additions & 0 deletions sdk/discovery/azure-mgmt-discovery/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) Microsoft Corporation.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 7 additions & 0 deletions sdk/discovery/azure-mgmt-discovery/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include *.md
include LICENSE
include azure/mgmt/discovery/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/mgmt/__init__.py
61 changes: 61 additions & 0 deletions sdk/discovery/azure-mgmt-discovery/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Discovery Management Client Library.
This package has been tested with Python 3.9+.
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.9+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package

```bash
pip install azure-mgmt-discovery
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.discovery import DiscoveryClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DiscoveryClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```

## Examples

Code samples for this package can be found at:
- [Search Discovery 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.
10 changes: 10 additions & 0 deletions sdk/discovery/azure-mgmt-discovery/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"apiVersion": "2026-02-01-preview",
"apiVersions": {
"Microsoft.Discovery": "2026-02-01-preview"
},
"commit": "74cc90c49189a079b3cc93fde9c9ad76742f0184",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/discovery/Discovery.Management",
"emitterVersion": "0.60.2"
}
Loading