# Microsoft Azure SDK for Python
This is the Microsoft Azure Quota 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-quota
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.quota import QuotaMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = QuotaMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Quota 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.1.0 (2023-11-20)
### Other Changes
- Fix for first GA
## 1.0.0 (2023-04-20)
### Breaking Changes
- Client name is changed from `AzureQuotaExtensionAPI` to `QuotaMgmtClient`
- First GA
## 1.1.0b3 (2022-11-09)
### Other Changes
- Added generated samples in github repo
- Drop support for python<3.7.0
## 1.0.0b2 (2021-11-01)
**Features**
- Added operation group QuotaOperationOperations
**Breaking changes**
- Parameter limit_object_type of model LimitObject is now required
- Removed operation group OperationOperations
## 1.0.0b1 (2021-09-07)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-quota",
"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/d5/9e/c185f82bdd57bea1693e13cb5a2acf2d3648b6ee37c83fc9a0fa7ee40c7e/azure-mgmt-quota-1.1.0.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Quota 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-quota\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.quota import QuotaMgmtClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = QuotaMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Quota 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.1.0 (2023-11-20)\n\n### Other Changes\n\n - Fix for first GA\n\n## 1.0.0 (2023-04-20)\n\n### Breaking Changes\n\n - Client name is changed from `AzureQuotaExtensionAPI` to `QuotaMgmtClient`\n - First GA\n\n## 1.1.0b3 (2022-11-09)\n\n### Other Changes\n\n - Added generated samples in github repo\n - Drop support for python<3.7.0\n\n## 1.0.0b2 (2021-11-01)\n\n**Features**\n\n - Added operation group QuotaOperationOperations\n\n**Breaking changes**\n\n - Parameter limit_object_type of model LimitObject is now required\n - Removed operation group OperationOperations\n\n## 1.0.0b1 (2021-09-07)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Quota Management Client Library for Python",
"version": "1.1.0",
"project_urls": {
"Homepage": "https://github.com/Azure/azure-sdk-for-python"
},
"split_keywords": [
"azure",
"azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ab68daa45a3cf7258bd6836313ac8127c7e50cdc3cce6142ecb249d0e3401c99",
"md5": "79bdfb9d708c53643a2856751c6fee6b",
"sha256": "1c37739a0c45a065e02def2566233794c595e03a21957419105f1a732eb8299d"
},
"downloads": -1,
"filename": "azure_mgmt_quota-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "79bdfb9d708c53643a2856751c6fee6b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 65618,
"upload_time": "2023-11-20T03:06:01",
"upload_time_iso_8601": "2023-11-20T03:06:01.906327Z",
"url": "https://files.pythonhosted.org/packages/ab/68/daa45a3cf7258bd6836313ac8127c7e50cdc3cce6142ecb249d0e3401c99/azure_mgmt_quota-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d59ec185f82bdd57bea1693e13cb5a2acf2d3648b6ee37c83fc9a0fa7ee40c7e",
"md5": "80ee376c7aecc41a5b8d8fbc0b5542a1",
"sha256": "40e48df84fb51878ac682931fa5cf59f76e9f0af2f6521b3702ab317a56d9922"
},
"downloads": -1,
"filename": "azure-mgmt-quota-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "80ee376c7aecc41a5b8d8fbc0b5542a1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 48005,
"upload_time": "2023-11-20T03:05:59",
"upload_time_iso_8601": "2023-11-20T03:05:59.888182Z",
"url": "https://files.pythonhosted.org/packages/d5/9e/c185f82bdd57bea1693e13cb5a2acf2d3648b6ee37c83fc9a0fa7ee40c7e/azure-mgmt-quota-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-20 03:05:59",
"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-quota"
}