# Microsoft Azure SDK for Python
This is the Microsoft Azure Cosmosdbforpostgresql 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-cosmosdbforpostgresql
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.cosmosdbforpostgresql import CosmosdbForPostgresqlMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = CosmosdbForPostgresqlMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Cosmosdbforpostgresql 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.
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-cosmosdbforpostgresql%2FREADME.png)
# Release History
## 1.0.0 (2023-09-20)
### Other Changes
- First GA
## 1.0.0b1 (2023-06-16)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-cosmosdbforpostgresql",
"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/1b/a5/c6d9cc982ae57a2f66a244849c1312af18475925a94da6662bce0b3d3e08/azure-mgmt-cosmosdbforpostgresql-1.0.0.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Cosmosdbforpostgresql 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-cosmosdbforpostgresql\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.cosmosdbforpostgresql import CosmosdbForPostgresqlMgmtClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = CosmosdbForPostgresqlMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Cosmosdbforpostgresql 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![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-cosmosdbforpostgresql%2FREADME.png)\n\n\n# Release History\n\n## 1.0.0 (2023-09-20)\n\n### Other Changes\n\n - First GA\n\n## 1.0.0b1 (2023-06-16)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Cosmosdbforpostgresql Management Client Library for Python",
"version": "1.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": "d33edfa427f9f50c992c05a582dcef5a275c70001044ba8a334cb57b34e37abd",
"md5": "0bd52e2e2889e88cc33464740ec15db2",
"sha256": "056bba58b9817ff4460447db82acbff86b46c32b6db4f9afb56b20fdc31c0ebf"
},
"downloads": -1,
"filename": "azure_mgmt_cosmosdbforpostgresql-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0bd52e2e2889e88cc33464740ec15db2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 109210,
"upload_time": "2023-09-20T07:54:33",
"upload_time_iso_8601": "2023-09-20T07:54:33.059150Z",
"url": "https://files.pythonhosted.org/packages/d3/3e/dfa427f9f50c992c05a582dcef5a275c70001044ba8a334cb57b34e37abd/azure_mgmt_cosmosdbforpostgresql-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1ba5c6d9cc982ae57a2f66a244849c1312af18475925a94da6662bce0b3d3e08",
"md5": "5cfaa31dbb117cfc93c14fd54db7e3c5",
"sha256": "0633c092cecdfac8b48e9bfe939ba4e136e965efe0f0d043feb2dfa96163675a"
},
"downloads": -1,
"filename": "azure-mgmt-cosmosdbforpostgresql-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "5cfaa31dbb117cfc93c14fd54db7e3c5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 74116,
"upload_time": "2023-09-20T07:54:31",
"upload_time_iso_8601": "2023-09-20T07:54:31.316164Z",
"url": "https://files.pythonhosted.org/packages/1b/a5/c6d9cc982ae57a2f66a244849c1312af18475925a94da6662bce0b3d3e08/azure-mgmt-cosmosdbforpostgresql-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-20 07:54:31",
"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-cosmosdbforpostgresql"
}