# Microsoft Azure SDK for Python
This is the Microsoft Azure Iotoperations 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-iotoperations
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.iotoperations import IoTOperationsMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = IoTOperationsMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Iotoperations 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
## 1.0.0b1 (2024-10-21)
### Other Changes
- Initial version
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-iotoperations",
"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/46/21/ce044ef244348de102a880e7e4830c870a3bbbfec3476efdefc155b72adf/azure_mgmt_iotoperations-1.0.0b1.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Iotoperations 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-iotoperations\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.iotoperations import IoTOperationsMgmtClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = IoTOperationsMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Iotoperations 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## 1.0.0b1 (2024-10-21)\n\n### Other Changes\n\n - Initial version\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Iotoperations Management Client Library for Python",
"version": "1.0.0b1",
"project_urls": {
"Homepage": "https://github.com/Azure/azure-sdk-for-python"
},
"split_keywords": [
"azure",
" azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e2a7f1cfe9b96684489c92a864f8c8599886bd0cfce4c069758aa37cbba9999b",
"md5": "c7357d029537c3cdfd37284ee59a6f86",
"sha256": "9ef2286a67b161f47d2673ed68aa80087e241164d881fa9b23e7774943153b61"
},
"downloads": -1,
"filename": "azure_mgmt_iotoperations-1.0.0b1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c7357d029537c3cdfd37284ee59a6f86",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 91433,
"upload_time": "2024-10-24T03:40:31",
"upload_time_iso_8601": "2024-10-24T03:40:31.002967Z",
"url": "https://files.pythonhosted.org/packages/e2/a7/f1cfe9b96684489c92a864f8c8599886bd0cfce4c069758aa37cbba9999b/azure_mgmt_iotoperations-1.0.0b1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4621ce044ef244348de102a880e7e4830c870a3bbbfec3476efdefc155b72adf",
"md5": "ac755e831087ddf52a8dbbcaef7d0ebd",
"sha256": "822369c0e76a4cdf613334ebbe521aaa6c04c1b7f73af087d50ac204fed04f9b"
},
"downloads": -1,
"filename": "azure_mgmt_iotoperations-1.0.0b1.tar.gz",
"has_sig": false,
"md5_digest": "ac755e831087ddf52a8dbbcaef7d0ebd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 85233,
"upload_time": "2024-10-24T03:40:29",
"upload_time_iso_8601": "2024-10-24T03:40:29.736390Z",
"url": "https://files.pythonhosted.org/packages/46/21/ce044ef244348de102a880e7e4830c870a3bbbfec3476efdefc155b72adf/azure_mgmt_iotoperations-1.0.0b1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-24 03:40:29",
"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-iotoperations"
}