Skip to content

Commit f4a9cea

Browse files
committed
Update docs metadata
1 parent 1277725 commit f4a9cea

File tree

2 files changed

+60
-27
lines changed

2 files changed

+60
-27
lines changed
Lines changed: 51 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,75 @@
11
---
22
title:
33
keywords: Azure, python, SDK, API, azure-mgmt-databricks, databricks
4-
author: ramya-rao-a
5-
ms.author: ramyar
6-
ms.date: 03/23/2021
4+
author: lmazuel
5+
ms.author: lmazuel
6+
ms.date: 06/29/2023
77
ms.topic: reference
8-
ms.technology: azure
98
ms.devlang: python
10-
ms.service: azure-databricks
9+
ms.service: databricks
1110
---
11+
# Microsoft Azure SDK for Python
1212

13-
## Microsoft Azure SDK for Python
13+
This is the Microsoft Azure Data Bricks Management Client Library.
14+
This package has been tested with Python 3.7+.
15+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
1416

15-
This is the Microsoft Azure Databricks Management Client Library.
17+
## _Disclaimer_
1618

17-
Azure Resource Manager (ARM) is the next generation of management APIs
18-
that replace the old Azure Service Management (ASM).
19+
_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_
1920

20-
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
21+
## Getting started
2122

22-
For the older Azure Service Management (ASM) libraries, see
23-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
24-
library.
23+
### Prerequisites
2524

26-
For a more complete set of Azure libraries, see the
27-
[azure sdk python release](https://aka.ms/azsdk/python/all).
25+
- Python 3.7+ is required to use this package.
26+
- [Azure subscription](https://azure.microsoft.com/free/)
2827

29-
## Usage
28+
### Install the package
3029

30+
```bash
31+
pip install azure-mgmt-databricks
32+
pip install azure-identity
33+
```
3134

32-
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
35+
### Authentication
3336

37+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
3438

39+
- `AZURE_CLIENT_ID` for Azure client ID.
40+
- `AZURE_TENANT_ID` for Azure tenant ID.
41+
- `AZURE_CLIENT_SECRET` for Azure client secret.
3542

36-
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
37-
Code samples for this package can be found at [Databricks Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
38-
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
43+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
3944

45+
With above configuration, client can be authenticated by following code:
46+
47+
```python
48+
from azure.identity import DefaultAzureCredential
49+
from azure.mgmt.databricks import AzureDatabricksManagementClient
50+
import os
51+
52+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
53+
client = AzureDatabricksManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
54+
```
55+
56+
## Examples
57+
58+
Code samples for this package can be found at:
59+
- [Search Data Bricks Management](/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
60+
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
61+
62+
63+
## Troubleshooting
64+
65+
## Next steps
4066

4167
## Provide Feedback
4268

43-
If you encounter any bugs or have suggestions, please file an issue in
44-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
45-
section of the project.
69+
If you encounter any bugs or have suggestions, please file an issue in the
70+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
71+
section of the project.
72+
4673

47-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-databricks%2FREADME.png)
74+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-databricks%2FREADME.png)
4875

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
2-
"Version": "1.0.0",
32
"Name": "azure-mgmt-databricks",
4-
"ServiceDirectory": "NA",
3+
"Version": "2.0.0",
4+
"DevVersion": null,
5+
"DirectoryPath": "sdk/databricks/azure-mgmt-databricks",
6+
"ServiceDirectory": "databricks",
7+
"ReadMePath": "sdk/databricks/azure-mgmt-databricks/README.md",
8+
"ChangeLogPath": "sdk/databricks/azure-mgmt-databricks/CHANGELOG.md",
9+
"Group": null,
510
"SdkType": "mgmt",
611
"IsNewSdk": true,
7-
"DirectoryPath": ""
12+
"ArtifactName": "azure-mgmt-databricks",
13+
"ReleaseStatus": "2023-06-29"
814
}

0 commit comments

Comments
 (0)