Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion .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 @@ -340,7 +344,8 @@
/sdk/monitor/azure-monitor-ingestion/ @Azure/azure-sdk-write-monitor-data-plane

# PRLabel: %Cognitive - Content Understanding
/sdk/contentunderstanding/ @bojunehsu @changjian-wang @chienyuanchang @yungshinlintw
/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-09)

### Other Changes

- Initial version
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 DiscoveryMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DiscoveryMgmtClient(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": "402bf21e472d87c1b3abcd0b2675a8b6c8a42700",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/discovery/Discovery.Management",
"emitterVersion": "0.60.2"
}
Loading