Skip to content

Commit 7cb7d1a

Browse files
swathipill0lawrence
authored andcommitted
[ServerManager] deprecating azure-mgmt-servermanager (Azure#38229)
1 parent 0720f3e commit 7cb7d1a

File tree

5 files changed

+10
-64
lines changed

5 files changed

+10
-64
lines changed

sdk/servermanager/azure-mgmt-servermanager/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 2.0.1 (2024-10-31)
4+
5+
### Other Changes
6+
7+
- This package has been deprecated and will no longer be maintained after 08-31-2024.
8+
39
## 2.0.0 (2018-05-25)
410

511
**Features**
Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,3 @@
11
# Microsoft Azure SDK for Python
22

3-
This is the Microsoft Azure Server Manager Management Client Library.
4-
This package has been tested with Python 3.7+.
5-
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
6-
7-
## _Disclaimer_
8-
9-
_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_
10-
11-
## Getting started
12-
13-
### Prerequisites
14-
15-
- Python 3.7+ is required to use this package.
16-
- [Azure subscription](https://azure.microsoft.com/free/)
17-
18-
### Install the package
19-
20-
```bash
21-
pip install azure-mgmt-servermanager
22-
pip install azure-identity
23-
```
24-
25-
### Authentication
26-
27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
28-
29-
- `AZURE_CLIENT_ID` for Azure client ID.
30-
- `AZURE_TENANT_ID` for Azure tenant ID.
31-
- `AZURE_CLIENT_SECRET` for Azure client secret.
32-
33-
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
34-
35-
With above configuration, client can be authenticated by following code:
36-
37-
```python
38-
from azure.identity import DefaultAzureCredential
39-
from azure.mgmt.servermanager import ServerManagement
40-
import os
41-
42-
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
43-
client = ServerManagement(credential=DefaultAzureCredential(), subscription_id=sub_id)
44-
```
45-
46-
## Examples
47-
48-
Code samples for this package can be found at:
49-
- [Search Server Manager Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
50-
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
51-
52-
53-
## Troubleshooting
54-
55-
## Next steps
56-
57-
## Provide Feedback
58-
59-
If you encounter any bugs or have suggestions, please file an issue in the
60-
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
61-
section of the project.
62-
63-
64-
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-servermanager%2FREADME.png)
3+
This package has been deprecated and will no longer be maintained after 08-31-2024.

sdk/servermanager/azure-mgmt-servermanager/azure/mgmt/servermanager/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2.0.0"
12+
VERSION = "2.0.1"
1313

sdk/servermanager/azure-mgmt-servermanager/sdk_packaging.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ package_pprint_name = "Server Manager Management"
44
package_doc_id = ""
55
is_stable = true
66
title = "ServerManagement"
7+
auto_update = false

sdk/servermanager/azure-mgmt-servermanager/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
url="https://github.com/Azure/azure-sdk-for-python",
5050
keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product
5151
classifiers=[
52-
"Development Status :: 5 - Production/Stable",
52+
"Development Status :: 7 - Inactive",
5353
"Programming Language :: Python",
5454
"Programming Language :: Python :: 3 :: Only",
5555
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)