Skip to content

Commit 7e081ce

Browse files
committed
Update docs metadata
1 parent b36c3e6 commit 7e081ce

File tree

2 files changed

+68
-19
lines changed

2 files changed

+68
-19
lines changed
Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,70 @@
11
---
22
title:
3-
keywords: Azure, python, SDK, API, azure-mgmt-loganalytics, loganalytics
4-
ms.date: 11/17/2021
3+
keywords: Azure, python, SDK, API, azure-mgmt-loganalytics, azure-monitor
4+
ms.date: 12/09/2025
55
ms.topic: reference
66
ms.devlang: python
7-
ms.service: log-analytics
7+
ms.service: azure-monitor
88
---
99
# Microsoft Azure SDK for Python
1010

1111
This is the Microsoft Azure Log Analytics Management Client Library.
12-
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
12+
This package has been tested with Python 3.8+.
1313
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
1414

15+
## _Disclaimer_
1516

16-
# Usage
17+
_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_
1718

19+
## Getting started
1820

19-
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
21+
### Prerequisites
2022

23+
- Python 3.8+ is required to use this package.
24+
- [Azure subscription](https://azure.microsoft.com/free/)
2125

26+
### Install the package
2227

23-
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
24-
Code samples for this package can be found at [Log Analytics Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
25-
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
28+
```bash
29+
pip install azure-mgmt-loganalytics
30+
pip install azure-identity
31+
```
2632

33+
### Authentication
2734

28-
# Provide Feedback
35+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
2936

30-
If you encounter any bugs or have suggestions, please file an issue in the
31-
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
32-
section of the project.
37+
- `AZURE_CLIENT_ID` for Azure client ID.
38+
- `AZURE_TENANT_ID` for Azure tenant ID.
39+
- `AZURE_CLIENT_SECRET` for Azure client secret.
40+
41+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
42+
43+
With above configuration, client can be authenticated by following code:
44+
45+
```python
46+
from azure.identity import DefaultAzureCredential
47+
from azure.mgmt.loganalytics import LogAnalyticsManagementClient
48+
import os
49+
50+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
51+
client = LogAnalyticsManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
52+
```
3353

54+
## Examples
3455

56+
Code samples for this package can be found at:
57+
- [Search Log Analytics Management](/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
58+
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
3559

3660

61+
## Troubleshooting
62+
63+
## Next steps
64+
65+
## Provide Feedback
66+
67+
If you encounter any bugs or have suggestions, please file an issue in the
68+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
69+
section of the project.
70+
Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "azure-mgmt-loganalytics",
3-
"Version": "12.0.0",
3+
"Version": "13.1.0",
44
"DevVersion": null,
55
"DirectoryPath": "sdk/loganalytics/azure-mgmt-loganalytics",
66
"ServiceDirectory": "loganalytics",
@@ -10,13 +10,28 @@
1010
"SdkType": "mgmt",
1111
"IsNewSdk": true,
1212
"ArtifactName": "azure-mgmt-loganalytics",
13-
"ReleaseStatus": "2021-11-16",
13+
"ReleaseStatus": "2025-12-08",
14+
"IncludedForValidation": false,
15+
"AdditionalValidationPackages": [
16+
""
17+
],
18+
"ArtifactDetails": {
19+
"name": "azure-mgmt-loganalytics",
20+
"triggeringPaths": [
21+
"/sdk/loganalytics/ci.yml"
22+
],
23+
"safeName": "azuremgmtloganalytics"
24+
},
25+
"CIParameters": {
26+
"CIMatrixConfigs": []
27+
},
28+
"SpecProjectPath": null,
29+
"Namespaces": [
30+
"azure.mgmt.loganalytics"
31+
],
1432
"DocsCiConfigProperties": {
1533
"package_info": {
1634
"prefer_source_distribution": false
1735
}
18-
},
19-
"Namespaces": [
20-
"azure.mgmt.loganalytics"
21-
]
36+
}
2237
}

0 commit comments

Comments
 (0)