Skip to content

Commit a5c0883

Browse files
committed
Update docs metadata
1 parent 60fd294 commit a5c0883

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title:
3+
keywords: Azure, python, SDK, API, azure-mgmt-graphservices, graphservices
4+
author: lmazuel
5+
ms.author: lmazuel
6+
ms.date: 06/25/2023
7+
ms.topic: reference
8+
ms.devlang: python
9+
ms.service: graphservices
10+
---
11+
# Microsoft Azure SDK for Python
12+
13+
This is the Microsoft Azure Graphservices 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).
16+
17+
## _Disclaimer_
18+
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_
20+
21+
## Getting started
22+
23+
### Prerequisites
24+
25+
- Python 3.7+ is required to use this package.
26+
- [Azure subscription](https://azure.microsoft.com/free/)
27+
28+
### Install the package
29+
30+
```bash
31+
pip install azure-mgmt-graphservices
32+
pip install azure-identity
33+
```
34+
35+
### Authentication
36+
37+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
38+
39+
- `AZURE_CLIENT_ID` for Azure client ID.
40+
- `AZURE_TENANT_ID` for Azure tenant ID.
41+
- `AZURE_CLIENT_SECRET` for Azure client secret.
42+
43+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
44+
45+
With above configuration, client can be authenticated by following code:
46+
47+
```python
48+
from azure.identity import DefaultAzureCredential
49+
from azure.mgmt.graphservices import GraphServicesMgmtClient
50+
import os
51+
52+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
53+
client = GraphServicesMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
54+
```
55+
56+
## Examples
57+
58+
Code samples for this package can be found at:
59+
- [Search Graphservices 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
66+
67+
## Provide Feedback
68+
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+
73+
74+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-graphservices%2FREADME.png)
75+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"Name": "azure-mgmt-graphservices",
3+
"Version": "1.0.0",
4+
"DevVersion": null,
5+
"DirectoryPath": "sdk/graphservices/azure-mgmt-graphservices",
6+
"ServiceDirectory": "graphservices",
7+
"ReadMePath": "sdk/graphservices/azure-mgmt-graphservices/README.md",
8+
"ChangeLogPath": "sdk/graphservices/azure-mgmt-graphservices/CHANGELOG.md",
9+
"Group": null,
10+
"SdkType": "mgmt",
11+
"IsNewSdk": true,
12+
"ArtifactName": "azure-mgmt-graphservices",
13+
"ReleaseStatus": "2023-06-25"
14+
}

0 commit comments

Comments
 (0)