# Microsoft Azure SDK for Python
This is the Microsoft Azure Reservations 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-reservations
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.reservations import AzureReservationAPI
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AzureReservationAPI(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at [Reservations](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [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-reservations%2FREADME.png)
# Release History
## 2.3.0 (2023-03-20)
### Features Added
- Model CatalogMsrp has a new parameter p3_y
- Model CatalogMsrp has a new parameter p5_y
## 2.2.0 (2023-02-15)
### Features Added
- Model CalculateExchangeRequestProperties has a new parameter savings_plans_to_purchase
- Model CalculateExchangeResponseProperties has a new parameter savings_plans_to_purchase
- Model ExchangeResponseProperties has a new parameter savings_plans_to_purchase
- Model Patch has a new parameter applied_scope_properties
- Model Patch has a new parameter review_date_time
- Model PurchaseRequest has a new parameter applied_scope_properties
- Model PurchaseRequest has a new parameter review_date_time
- Model ReservationOrderResponse has a new parameter expiry_date_time
- Model ReservationOrderResponse has a new parameter review_date_time
- Model ReservationSummary has a new parameter no_benefit_count
- Model ReservationSummary has a new parameter warning_count
- Model ReservationsProperties has a new parameter applied_scope_properties
- Model ReservationsProperties has a new parameter expiry_date_time
- Model ReservationsProperties has a new parameter purchase_date_time
- Model ReservationsProperties has a new parameter review_date_time
- Model ReservationsProperties has a new parameter swap_properties
- Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter filter
- Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter skip
- Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter take
### Breaking Changes
- Renamed operation ReturnOperations.post to ReturnOperations.begin_post
## 2.2.0b1 (2022-12-27)
### Features Added
- Model ReservationsProperties has a new parameter applied_scope_properties
- Model ReservationsProperties has a new parameter swap_properties
## 2.1.0 (2022-09-19)
### Features Added
- Added operation ReservationOperations.archive
- Added operation ReservationOperations.unarchive
- Added operation group CalculateRefundOperations
- Added operation group ReturnOperations
## 2.0.0 (2022-04-20)
**Features**
- Added operation ReservationOperations.list_all
- Added operation ReservationOrderOperations.change_directory
- Model CalculatePriceResponseProperties has a new parameter grand_total
- Model CalculatePriceResponseProperties has a new parameter is_tax_included
- Model CalculatePriceResponseProperties has a new parameter net_total
- Model CalculatePriceResponseProperties has a new parameter tax_total
- Model Catalog has a new parameter capabilities
- Model Catalog has a new parameter msrp
- Model Catalog has a new parameter size
- Model Catalog has a new parameter tier
- Model CurrentQuotaLimit has a new parameter id
- Model CurrentQuotaLimit has a new parameter name
- Model CurrentQuotaLimit has a new parameter type
- Model CurrentQuotaLimitBase has a new parameter id
- Model CurrentQuotaLimitBase has a new parameter name
- Model CurrentQuotaLimitBase has a new parameter type
- Model OperationResponse has a new parameter is_data_action
- Model OperationResponse has a new parameter properties
- Model QuotaRequestOneResourceSubmitResponse has a new parameter id_properties_id
- Model QuotaRequestOneResourceSubmitResponse has a new parameter name_properties_name
- Model QuotaRequestOneResourceSubmitResponse has a new parameter type_properties_type
- Model ReservationOrderResponse has a new parameter benefit_start_time
- Model ReservationOrderResponse has a new parameter system_data
- Model ReservationResponse has a new parameter kind
- Model ReservationResponse has a new parameter system_data
**Breaking changes**
- Operation AzureReservationAPIOperationsMixin.get_catalog has a new parameter offer_id
- Operation AzureReservationAPIOperationsMixin.get_catalog has a new parameter plan_id
- Operation AzureReservationAPIOperationsMixin.get_catalog has a new parameter publisher_id
## 1.0.0 (2021-05-20)
**Features**
- Model ReservationToPurchaseExchange has a new parameter reservation_id
- Model ReservationToPurchaseExchange has a new parameter properties
- Model ReservationToPurchaseCalculateExchange has a new parameter properties
**Breaking changes**
- Removed operation ReservationOrderOperations.change_directory
- Removed operation group AutoQuotaIncreaseOperations
## 1.0.0b1 (2020-12-09)
This is beta preview version.
This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
**General breaking changes**
- Credential system has been completly revamped:
- `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/
- `credentials` parameter has been renamed `credential`
- The `config` attribute no longer exists on a client, configuration should be passed as kwarg. Example: `MyClient(credential, subscription_id, enable_logging=True)`. For a complete set of
supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
- You can't import a `version` module anymore, use `__version__` instead
- Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.
- Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).
- Most of the operation kwarg have changed. Some of the most noticeable:
- `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user
- For a complete set of
supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
**General new features**
- Type annotations support using `typing`. SDKs are mypy ready.
- This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.
- This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry) for an overview.
## 0.8.0 (2020-07-15)
**Features**
- Added operation QuotaOperations.get
- Added operation QuotaOperations.create_or_update
- Added operation QuotaOperations.list
- Added operation QuotaOperations.update
- Added operation group QuotaRequestStatusOperations
- Added reservedResourceType
**Breaking changes**
- Model SupportRequestAction no longer has parameter auto_quota_increase_state
- Model QuotaRequestOneResourceSubmitResponse no longer has parameter resource_type
- Model QuotaRequestOneResourceSubmitResponse no longer has parameter limit
- Model QuotaRequestOneResourceSubmitResponse no longer has parameter unit
- Model QuotaRequestOneResourceSubmitResponse no longer has parameter name1
- Model QuotaRequestOneResourceSubmitResponse no longer has parameter current_value
- Model QuotaRequestOneResourceSubmitResponse no longer has parameter quota_period
- Model EmailActions has a new signature
- Model CurrentQuotaLimit has a new signature
- Model CurrentQuotaLimitBase has a new signature
- Removed operation QuotaOperations.list_status
- Removed operation group QuotasOperations
- Removed operation group QuotaRequestOperations
- Removed operation group QuotaRequestsOperations
## 0.7.0 (2020-01-29)
**Features**
- Added operation group QuotaRequestsOperations
- Added operation group QuotaOperations
- Added operation group QuotaRequestOperations
- Added operation group AutoQuotaIncreaseOperations
- Added operation group QuotasOperations
## 0.6.0 (2019-10-24)
**Bugfix**
- Fixed Catalog model structure not matching actual API
**Breaking changes**
- Removed CatalogBillingPlansItem that could be considered a breaking
change
## 0.5.0 (2019-10-04)
**Features**
- Model ReservationProperties has a new parameter billing_plan
- Model CalculatePriceResponseProperties has a new parameter
payment_schedule
- Model ReservationOrderResponse has a new parameter plan_information
- Model ReservationOrderResponse has a new parameter billing_plan
- Model Catalog has a new parameter billing_plans
- Model PurchaseRequest has a new parameter billing_plan
**Breaking changes**
- Operation ReservationOrderOperations.get has a new signature
## 0.4.0 (2019-09-09)
**Features**
- Model ReservationProperties has a new parameter term
- Model ReservationProperties has a new parameter renew_properties
- Model ReservationProperties has a new parameter renew_source
- Model ReservationProperties has a new parameter billing_scope_id
- Model ReservationProperties has a new parameter renew
- Model ReservationProperties has a new parameter renew_destination
- Model Patch has a new parameter renew_properties
- Model Patch has a new parameter renew
- Model PurchaseRequest has a new parameter renew
- Added operation ReservationOperations.available_scopes
- Added operation group AzureReservationAPIOperationsMixin
**Breaking changes**
- Operation ReservationOperations.get has a new signature
**General breaking changes**
This version uses a next-generation code generator that *might*
introduce breaking changes if from some import. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.
- AzureReservationAPI cannot be imported from
`azure.mgmt.reservations.azure_reservation_api` anymore (import
from `azure.mgmt.reservations` works like before)
- AzureReservationAPIConfiguration import has been moved from
`azure.mgmt.reservations.azure_reservation_api` to
`azure.mgmt.reservations`
- A model `MyClass` from a "models" sub-module cannot be imported
anymore using `azure.mgmt.reservations.models.my_class` (import
from `azure.mgmt.reservations.models` works like before)
- An operation class `MyClassOperations` from an `operations`
sub-module cannot be imported anymore using
`azure.mgmt.reservations.operations.my_class_operations` (import
from `azure.mgmt.reservations.operations` works like before)
Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.
## 0.3.2 (2019-04-18)
**Features**
- Added operation ReservationOrderOperations.purchase
- Added operation ReservationOrderOperations.calculate
## 0.3.1 (2018-11-05)
**Features**
- Add redhat support
## 0.3.0 (2018-08-22)
**Features**
- Model Patch has a new parameter 'name'
- Enum ReservedResourceType has a new value 'cosmos_db'
## 0.2.1 (2018-06-14)
- Provide enum definitions when applicable
## 0.2.0 (2018-06-12)
**Notes**
- - Changed Update Reservation API
- Added optional InstanceFlexibility parameter
- Support for InstanceFlexibility
- Support for ReservedResourceType (VirtualMachines, SqlDatabases,
SuseLinux)
- Upgrade to rest api version 2018-06-01
**Breaking change**
- - Updated Get Catalog API
- Added required parameter 'reserved_resource_type'
- Added optional parameter 'location'
- - Updated Catalog model
- Renamed property 'capabilities' to 'sku_properties'
- Removed properties 'size' and 'tier'
- - Updated ReservationProperties model
- Removed property 'kind'
## 0.1.0 (2017-11-03)
- Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-reservations",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "azure,azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/dd/d0/05fb57db3766561b5ad0a8e095587025754c7cd768331b38747dd56af856/azure-mgmt-reservations-2.3.0.zip",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Reservations 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-reservations\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.reservations import AzureReservationAPI\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = AzureReservationAPI(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\n\nCode samples for this package can be found at [Reservations](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [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-reservations%2FREADME.png)\n\n\n# Release History\n\n## 2.3.0 (2023-03-20)\n\n### Features Added\n\n - Model CatalogMsrp has a new parameter p3_y\n - Model CatalogMsrp has a new parameter p5_y\n\n## 2.2.0 (2023-02-15)\n\n### Features Added\n\n - Model CalculateExchangeRequestProperties has a new parameter savings_plans_to_purchase\n - Model CalculateExchangeResponseProperties has a new parameter savings_plans_to_purchase\n - Model ExchangeResponseProperties has a new parameter savings_plans_to_purchase\n - Model Patch has a new parameter applied_scope_properties\n - Model Patch has a new parameter review_date_time\n - Model PurchaseRequest has a new parameter applied_scope_properties\n - Model PurchaseRequest has a new parameter review_date_time\n - Model ReservationOrderResponse has a new parameter expiry_date_time\n - Model ReservationOrderResponse has a new parameter review_date_time\n - Model ReservationSummary has a new parameter no_benefit_count\n - Model ReservationSummary has a new parameter warning_count\n - Model ReservationsProperties has a new parameter applied_scope_properties\n - Model ReservationsProperties has a new parameter expiry_date_time\n - Model ReservationsProperties has a new parameter purchase_date_time\n - Model ReservationsProperties has a new parameter review_date_time\n - Model ReservationsProperties has a new parameter swap_properties\n - Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter filter\n - Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter skip\n - Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter take\n\n### Breaking Changes\n\n - Renamed operation ReturnOperations.post to ReturnOperations.begin_post\n\n## 2.2.0b1 (2022-12-27)\n\n### Features Added\n\n - Model ReservationsProperties has a new parameter applied_scope_properties\n - Model ReservationsProperties has a new parameter swap_properties\n\n## 2.1.0 (2022-09-19)\n\n### Features Added\n\n - Added operation ReservationOperations.archive\n - Added operation ReservationOperations.unarchive\n - Added operation group CalculateRefundOperations\n - Added operation group ReturnOperations\n\n## 2.0.0 (2022-04-20)\n\n**Features**\n\n - Added operation ReservationOperations.list_all\n - Added operation ReservationOrderOperations.change_directory\n - Model CalculatePriceResponseProperties has a new parameter grand_total\n - Model CalculatePriceResponseProperties has a new parameter is_tax_included\n - Model CalculatePriceResponseProperties has a new parameter net_total\n - Model CalculatePriceResponseProperties has a new parameter tax_total\n - Model Catalog has a new parameter capabilities\n - Model Catalog has a new parameter msrp\n - Model Catalog has a new parameter size\n - Model Catalog has a new parameter tier\n - Model CurrentQuotaLimit has a new parameter id\n - Model CurrentQuotaLimit has a new parameter name\n - Model CurrentQuotaLimit has a new parameter type\n - Model CurrentQuotaLimitBase has a new parameter id\n - Model CurrentQuotaLimitBase has a new parameter name\n - Model CurrentQuotaLimitBase has a new parameter type\n - Model OperationResponse has a new parameter is_data_action\n - Model OperationResponse has a new parameter properties\n - Model QuotaRequestOneResourceSubmitResponse has a new parameter id_properties_id\n - Model QuotaRequestOneResourceSubmitResponse has a new parameter name_properties_name\n - Model QuotaRequestOneResourceSubmitResponse has a new parameter type_properties_type\n - Model ReservationOrderResponse has a new parameter benefit_start_time\n - Model ReservationOrderResponse has a new parameter system_data\n - Model ReservationResponse has a new parameter kind\n - Model ReservationResponse has a new parameter system_data\n\n**Breaking changes**\n\n - Operation AzureReservationAPIOperationsMixin.get_catalog has a new parameter offer_id\n - Operation AzureReservationAPIOperationsMixin.get_catalog has a new parameter plan_id\n - Operation AzureReservationAPIOperationsMixin.get_catalog has a new parameter publisher_id\n\n## 1.0.0 (2021-05-20)\n\n**Features**\n\n - Model ReservationToPurchaseExchange has a new parameter reservation_id\n - Model ReservationToPurchaseExchange has a new parameter properties\n - Model ReservationToPurchaseCalculateExchange has a new parameter properties\n\n**Breaking changes**\n\n - Removed operation ReservationOrderOperations.change_directory\n - Removed operation group AutoQuotaIncreaseOperations\n\n## 1.0.0b1 (2020-12-09)\n\nThis is beta preview version.\n\nThis version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).\n\n**General breaking changes**\n\n- Credential system has been completly revamped:\n\n - `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/\n - `credentials` parameter has been renamed `credential`\n\n- The `config` attribute no longer exists on a client, configuration should be passed as kwarg. Example: `MyClient(credential, subscription_id, enable_logging=True)`. For a complete set of\n supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)\n- You can't import a `version` module anymore, use `__version__` instead\n- Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.\n- Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).\n- Most of the operation kwarg have changed. Some of the most noticeable:\n\n - `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user\n - For a complete set of\n supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)\n\n**General new features**\n\n- Type annotations support using `typing`. SDKs are mypy ready.\n- This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.\n- This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry) for an overview.\n\n## 0.8.0 (2020-07-15)\n\n**Features**\n\n - Added operation QuotaOperations.get\n - Added operation QuotaOperations.create_or_update\n - Added operation QuotaOperations.list\n - Added operation QuotaOperations.update\n - Added operation group QuotaRequestStatusOperations\n - Added reservedResourceType\n\n**Breaking changes**\n\n - Model SupportRequestAction no longer has parameter auto_quota_increase_state\n - Model QuotaRequestOneResourceSubmitResponse no longer has parameter resource_type\n - Model QuotaRequestOneResourceSubmitResponse no longer has parameter limit\n - Model QuotaRequestOneResourceSubmitResponse no longer has parameter unit\n - Model QuotaRequestOneResourceSubmitResponse no longer has parameter name1\n - Model QuotaRequestOneResourceSubmitResponse no longer has parameter current_value\n - Model QuotaRequestOneResourceSubmitResponse no longer has parameter quota_period\n - Model EmailActions has a new signature\n - Model CurrentQuotaLimit has a new signature\n - Model CurrentQuotaLimitBase has a new signature\n - Removed operation QuotaOperations.list_status\n - Removed operation group QuotasOperations\n - Removed operation group QuotaRequestOperations\n - Removed operation group QuotaRequestsOperations\n\n## 0.7.0 (2020-01-29)\n\n**Features**\n\n- Added operation group QuotaRequestsOperations\n- Added operation group QuotaOperations\n- Added operation group QuotaRequestOperations\n- Added operation group AutoQuotaIncreaseOperations\n- Added operation group QuotasOperations\n\n## 0.6.0 (2019-10-24)\n\n**Bugfix**\n\n - Fixed Catalog model structure not matching actual API\n\n**Breaking changes**\n\n - Removed CatalogBillingPlansItem that could be considered a breaking\n change\n\n## 0.5.0 (2019-10-04)\n\n**Features**\n\n - Model ReservationProperties has a new parameter billing_plan\n - Model CalculatePriceResponseProperties has a new parameter\n payment_schedule\n - Model ReservationOrderResponse has a new parameter plan_information\n - Model ReservationOrderResponse has a new parameter billing_plan\n - Model Catalog has a new parameter billing_plans\n - Model PurchaseRequest has a new parameter billing_plan\n\n**Breaking changes**\n\n - Operation ReservationOrderOperations.get has a new signature\n\n## 0.4.0 (2019-09-09)\n\n**Features**\n\n - Model ReservationProperties has a new parameter term\n - Model ReservationProperties has a new parameter renew_properties\n - Model ReservationProperties has a new parameter renew_source\n - Model ReservationProperties has a new parameter billing_scope_id\n - Model ReservationProperties has a new parameter renew\n - Model ReservationProperties has a new parameter renew_destination\n - Model Patch has a new parameter renew_properties\n - Model Patch has a new parameter renew\n - Model PurchaseRequest has a new parameter renew\n - Added operation ReservationOperations.available_scopes\n - Added operation group AzureReservationAPIOperationsMixin\n\n**Breaking changes**\n\n - Operation ReservationOperations.get has a new signature\n\n**General breaking changes**\n\nThis version uses a next-generation code generator that *might*\nintroduce breaking changes if from some import. In summary, some modules\nwere incorrectly visible/importable and have been renamed. This fixed\nseveral issues caused by usage of classes that were not supposed to be\nused in the first place.\n\n - AzureReservationAPI cannot be imported from\n `azure.mgmt.reservations.azure_reservation_api` anymore (import\n from `azure.mgmt.reservations` works like before)\n - AzureReservationAPIConfiguration import has been moved from\n `azure.mgmt.reservations.azure_reservation_api` to\n `azure.mgmt.reservations`\n - A model `MyClass` from a \"models\" sub-module cannot be imported\n anymore using `azure.mgmt.reservations.models.my_class` (import\n from `azure.mgmt.reservations.models` works like before)\n - An operation class `MyClassOperations` from an `operations`\n sub-module cannot be imported anymore using\n `azure.mgmt.reservations.operations.my_class_operations` (import\n from `azure.mgmt.reservations.operations` works like before)\n\nLast but not least, HTTP connection pooling is now enabled by default.\nYou should always use a client as a context manager, or call close(), or\nuse no more than one client per process.\n\n## 0.3.2 (2019-04-18)\n\n**Features**\n\n - Added operation ReservationOrderOperations.purchase\n - Added operation ReservationOrderOperations.calculate\n\n## 0.3.1 (2018-11-05)\n\n**Features**\n\n - Add redhat support\n\n## 0.3.0 (2018-08-22)\n\n**Features**\n\n - Model Patch has a new parameter 'name'\n - Enum ReservedResourceType has a new value 'cosmos_db'\n\n## 0.2.1 (2018-06-14)\n\n - Provide enum definitions when applicable\n\n## 0.2.0 (2018-06-12)\n\n**Notes**\n\n - - Changed Update Reservation API\n\n - Added optional InstanceFlexibility parameter\n\n - Support for InstanceFlexibility\n\n - Support for ReservedResourceType (VirtualMachines, SqlDatabases,\n SuseLinux)\n\n - Upgrade to rest api version 2018-06-01\n\n**Breaking change**\n\n - - Updated Get Catalog API\n\n - Added required parameter 'reserved_resource_type'\n - Added optional parameter 'location'\n\n - - Updated Catalog model\n\n - Renamed property 'capabilities' to 'sku_properties'\n - Removed properties 'size' and 'tier'\n\n - - Updated ReservationProperties model\n\n - Removed property 'kind'\n\n## 0.1.0 (2017-11-03)\n\n - Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Reservations Client Library for Python",
"version": "2.3.0",
"split_keywords": [
"azure",
"azure sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fac2b3cde59f4dc1a2e5ee5c17da91536f8caf5091d4412c63ed2e8a29b99ae7",
"md5": "8b280203b80e9a752815b6be47993f24",
"sha256": "0dbda7da9d054be8c358208c5c046f30ac89012be341a5914d1c6ac1a8dd2e16"
},
"downloads": -1,
"filename": "azure_mgmt_reservations-2.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8b280203b80e9a752815b6be47993f24",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 140569,
"upload_time": "2023-03-20T05:46:46",
"upload_time_iso_8601": "2023-03-20T05:46:46.633628Z",
"url": "https://files.pythonhosted.org/packages/fa/c2/b3cde59f4dc1a2e5ee5c17da91536f8caf5091d4412c63ed2e8a29b99ae7/azure_mgmt_reservations-2.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ddd005fb57db3766561b5ad0a8e095587025754c7cd768331b38747dd56af856",
"md5": "b2e6ecba78419b1068f4be67cdb4d1f3",
"sha256": "047085105b2de637f2204a34866f3a6de969c56ec4ca0642049f0f4eacea1ca7"
},
"downloads": -1,
"filename": "azure-mgmt-reservations-2.3.0.zip",
"has_sig": false,
"md5_digest": "b2e6ecba78419b1068f4be67cdb4d1f3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 157101,
"upload_time": "2023-03-20T05:46:48",
"upload_time_iso_8601": "2023-03-20T05:46:48.645763Z",
"url": "https://files.pythonhosted.org/packages/dd/d0/05fb57db3766561b5ad0a8e095587025754c7cd768331b38747dd56af856/azure-mgmt-reservations-2.3.0.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-20 05:46:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-mgmt-reservations"
}