# Microsoft Azure SDK for Python
This is the Microsoft Azure Nginx Management Client Library.
This package has been tested with Python 3.7+.
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.7+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)
### Install the package
```bash
pip install azure-mgmt-nginx
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.nginx import NginxManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = NginxManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Nginx 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)
- [Other Nginx Management doc](https://github.com/nginxinc/nginxaas-for-azure-snippets/tree/main/snippets/sdk/python)
## 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
## 3.0.0 (2023-11-20)
### Features Added
- Model NginxConfigurationPackage has a new parameter protected_files
- Model NginxDeploymentProperties has a new parameter scaling_properties
- Model NginxDeploymentProperties has a new parameter user_profile
- Model NginxDeploymentUpdateProperties has a new parameter scaling_properties
- Model NginxDeploymentUpdateProperties has a new parameter user_profile
### Breaking Changes
- Model NginxCertificate no longer has parameter tags
- Model NginxConfiguration no longer has parameter tags
## 2.1.0 (2023-03-14)
### Other Changes
- Regular update
## 2.1.0b1 (2022-12-29)
### Other Changes
- Added generated samples in github repo
- Drop support for python<3.7.0
## 2.0.0 (2022-10-18)
### Features Added
- Added operation CertificatesOperations.begin_create_or_update
- Added operation DeploymentsOperations.begin_create_or_update
### Breaking Changes
- Removed operation CertificatesOperations.begin_create
- Removed operation DeploymentsOperations.begin_create
## 1.1.0 (2022-09-20)
### Features Added
- Model NginxConfigurationProperties has a new parameter protected_files
## 1.0.0 (2022-08-26)
### Features Added
- Model NginxDeploymentProperties has a new parameter logging
- Model NginxDeploymentUpdateProperties has a new parameter logging
## 1.0.0b1 (2022-06-13)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-nginx",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "azure,azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/cf/68/90a21016d2c09039f27b4065ac9fae23773d921e5451c197131dd61acd44/azure-mgmt-nginx-3.0.0.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Nginx Management Client Library.\nThis package has been tested with Python 3.7+.\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.7+ 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-nginx\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.nginx import NginxManagementClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = NginxManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Nginx 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- [Other Nginx Management doc](https://github.com/nginxinc/nginxaas-for-azure-snippets/tree/main/snippets/sdk/python)\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## 3.0.0 (2023-11-20)\n\n### Features Added\n\n - Model NginxConfigurationPackage has a new parameter protected_files\n - Model NginxDeploymentProperties has a new parameter scaling_properties\n - Model NginxDeploymentProperties has a new parameter user_profile\n - Model NginxDeploymentUpdateProperties has a new parameter scaling_properties\n - Model NginxDeploymentUpdateProperties has a new parameter user_profile\n\n### Breaking Changes\n\n - Model NginxCertificate no longer has parameter tags\n - Model NginxConfiguration no longer has parameter tags\n\n## 2.1.0 (2023-03-14)\n\n### Other Changes\n\n - Regular update\n\n## 2.1.0b1 (2022-12-29)\n\n### Other Changes\n\n - Added generated samples in github repo\n - Drop support for python<3.7.0\n\n## 2.0.0 (2022-10-18)\n\n### Features Added\n\n - Added operation CertificatesOperations.begin_create_or_update\n - Added operation DeploymentsOperations.begin_create_or_update\n\n### Breaking Changes\n\n - Removed operation CertificatesOperations.begin_create\n - Removed operation DeploymentsOperations.begin_create\n\n## 1.1.0 (2022-09-20)\n\n### Features Added\n\n - Model NginxConfigurationProperties has a new parameter protected_files\n\n## 1.0.0 (2022-08-26)\n\n### Features Added\n\n - Model NginxDeploymentProperties has a new parameter logging\n - Model NginxDeploymentUpdateProperties has a new parameter logging\n\n## 1.0.0b1 (2022-06-13)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Nginx Management Client Library for Python",
"version": "3.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": "1ac8c65a13220ef42edc4709bccfd9d4544746c5475ea9c5778adcafc23210c0",
"md5": "ac5e103192b1fe9d448c57ed480c47e1",
"sha256": "f69d9d2e2aa6c2b699dcbef860e7a6fbfcc0950b07b68a209c132da35f20f3ce"
},
"downloads": -1,
"filename": "azure_mgmt_nginx-3.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ac5e103192b1fe9d448c57ed480c47e1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 72161,
"upload_time": "2023-11-21T03:00:23",
"upload_time_iso_8601": "2023-11-21T03:00:23.359942Z",
"url": "https://files.pythonhosted.org/packages/1a/c8/c65a13220ef42edc4709bccfd9d4544746c5475ea9c5778adcafc23210c0/azure_mgmt_nginx-3.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "cf6890a21016d2c09039f27b4065ac9fae23773d921e5451c197131dd61acd44",
"md5": "78961b527c06bc00a29cc62d10b5c5ee",
"sha256": "e2710e7da2d60798a0ec161a24490a586ab0cdf96f42ecdd9cbe5e4dba2698d6"
},
"downloads": -1,
"filename": "azure-mgmt-nginx-3.0.0.tar.gz",
"has_sig": false,
"md5_digest": "78961b527c06bc00a29cc62d10b5c5ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 53358,
"upload_time": "2023-11-21T03:00:21",
"upload_time_iso_8601": "2023-11-21T03:00:21.632175Z",
"url": "https://files.pythonhosted.org/packages/cf/68/90a21016d2c09039f27b4065ac9fae23773d921e5451c197131dd61acd44/azure-mgmt-nginx-3.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-21 03:00:21",
"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-nginx"
}