# Microsoft Azure SDK for Python
This is the Microsoft Azure Extended Location Management Client Library.
This package has been tested with Python 3.8+.
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.8+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)
### Install the package
```bash
pip install azure-mgmt-extendedlocation
pip install azure-identity
```
### Authentication
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of 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.extendedlocation import CustomLocations
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = CustomLocations(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Extended Location 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.
# Release History
## 2.0.0 (2024-10-30)
### Breaking Changes
- This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ingore this change.
## 1.2.0b1 (2023-02-14)
### Other Changes
- Added generated samples in github repo
- Drop support for python<3.7.0
## 1.1.0 (2022-07-12)
**Features**
- Added operation CustomLocationsOperations.find_target_resource_group
- Added operation group ResourceSyncRulesOperations
## 1.0.0 (2021-09-22)
**Features**
- Adding a new API Version 2021-08-15
- Adding support for Managed Identity [SystemAssigned]
- Model PatchableCustomLocations has a new parameter identity
- Model CustomLocation has a new parameter identity
**Breaking changes**
- Operation CustomLocationsOperations.update has a new signature
## 1.0.0b2 (2021-05-06)
* Remove v2020_07_15_privatepreview
## 1.0.0b1 (2021-03-25)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-extendedlocation",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "azure, azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/b0/c6/282ba215281d8669c13fcbdb90cba55220c4bf2f0b2d87ecf6a898fe08d3/azure_mgmt_extendedlocation-2.0.0.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Extended Location Management Client Library.\nThis package has been tested with Python 3.8+.\nFor a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).\n\n## _Disclaimer_\n\n_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_\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.8+ is required to use this package.\n- [Azure subscription](https://azure.microsoft.com/free/)\n\n### Install the package\n\n```bash\npip install azure-mgmt-extendedlocation\npip install azure-identity\n```\n\n### Authentication\n\nBy default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.\n\n- `AZURE_CLIENT_ID` for Azure client ID.\n- `AZURE_TENANT_ID` for Azure tenant ID.\n- `AZURE_CLIENT_SECRET` for Azure client secret.\n\nIn addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.\n\nWith above configuration, client can be authenticated by following code:\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.mgmt.extendedlocation import CustomLocations\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = CustomLocations(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Extended Location Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com\n- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)\n\n\n## Troubleshooting\n\n## Next steps\n\n## Provide Feedback\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n[Issues](https://github.com/Azure/azure-sdk-for-python/issues)\nsection of the project. \n\n\n# Release History\n\n## 2.0.0 (2024-10-30)\n\n### Breaking Changes\n\n - This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ingore this change.\n\n## 1.2.0b1 (2023-02-14)\n\n### Other Changes\n\n - Added generated samples in github repo\n - Drop support for python<3.7.0\n\n## 1.1.0 (2022-07-12)\n\n**Features**\n\n - Added operation CustomLocationsOperations.find_target_resource_group\n - Added operation group ResourceSyncRulesOperations\n\n## 1.0.0 (2021-09-22)\n\n**Features**\n - Adding a new API Version 2021-08-15\n - Adding support for Managed Identity [SystemAssigned]\n - Model PatchableCustomLocations has a new parameter identity\n - Model CustomLocation has a new parameter identity\n\n**Breaking changes**\n\n - Operation CustomLocationsOperations.update has a new signature\n\n## 1.0.0b2 (2021-05-06)\n\n* Remove v2020_07_15_privatepreview\n\n## 1.0.0b1 (2021-03-25)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Extended Location Management Client Library for Python",
"version": "2.0.0",
"project_urls": {
"Homepage": "https://github.com/Azure/azure-sdk-for-python"
},
"split_keywords": [
"azure",
" azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "94f5c40bb479dfdcb78390770cfb9748151a5f54bff023f495521308109c18f0",
"md5": "5e356d06143d1d20923331dd298eed80",
"sha256": "2d9e717dc26cd00dfdf07fdc607aaed9c5d4a53f0d70e03c01d90c611df6710e"
},
"downloads": -1,
"filename": "azure_mgmt_extendedlocation-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5e356d06143d1d20923331dd298eed80",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 49893,
"upload_time": "2024-10-30T09:13:16",
"upload_time_iso_8601": "2024-10-30T09:13:16.864603Z",
"url": "https://files.pythonhosted.org/packages/94/f5/c40bb479dfdcb78390770cfb9748151a5f54bff023f495521308109c18f0/azure_mgmt_extendedlocation-2.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b0c6282ba215281d8669c13fcbdb90cba55220c4bf2f0b2d87ecf6a898fe08d3",
"md5": "965c621757ff6100ed74b0169f850b37",
"sha256": "3b5c1d2f0a21f15e9b176f440206c702a1f77fa4b97df1ca4001f991abcf7cd1"
},
"downloads": -1,
"filename": "azure_mgmt_extendedlocation-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "965c621757ff6100ed74b0169f850b37",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 45054,
"upload_time": "2024-10-30T09:13:15",
"upload_time_iso_8601": "2024-10-30T09:13:15.317763Z",
"url": "https://files.pythonhosted.org/packages/b0/c6/282ba215281d8669c13fcbdb90cba55220c4bf2f0b2d87ecf6a898fe08d3/azure_mgmt_extendedlocation-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-30 09:13:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-mgmt-extendedlocation"
}