Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions sdk/reservations/azure-mgmt-reservations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Release History

## 3.0.0b1 (2026-05-28)

### Features Added

- Model `CurrentQuotaLimitBase` added property `system_data`
- Model `QuotaRequestDetails` added property `system_data`

### Breaking Changes

- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
- Renamed client name `AzureReservationAPI` to `ReservationsMgmtClient`
- Model `MergeRequest` moved instance variable `sources` under property `properties` whose type is `MergeProperties`
- Model `Patch` moved instance variable `applied_scope_type`, `applied_scopes`, `applied_scope_properties`, `instance_flexibility`, `name`, `renew`, `renew_properties` and `review_date_time` under property `properties` whose type is `PatchProperties`
- Model `QuotaRequestDetails` moved instance variable `provisioning_state`, `message`, `request_submit_time` and `value` under property `properties` whose type is `QuotaRequestProperties`
- Model `ReservationOrderResponse` moved instance variable `display_name`, `request_date_time`, `created_date_time`, `expiry_date`, `expiry_date_time`, `benefit_start_time`, `original_quantity`, `term`, `provisioning_state`, `billing_plan`, `plan_information`, `reservations` and `review_date_time` under property `properties` whose type is `ReservationOrderProperties`
- Model `SkuRestriction` renamed its instance variable `values` to `values_property`
- Model `SplitRequest` moved instance variable `quantities` and `reservation_id` under property `properties` whose type is `SplitProperties`
- Deleted or renamed model `CreateGenericQuotaRequestParameters`
- Deleted or renamed model `CurrentQuotaLimit`
- Deleted or renamed model `DisplayProvisioningState`
- Deleted or renamed model `Location`
- Deleted or renamed model `QuotaRequestOneResourceSubmitResponse`
- Deleted or renamed model `QuotaRequestSubmitResponse`
- Deleted or renamed model `QuotaRequestSubmitResponse201`
- Deleted or renamed model `RefundResponse`
- Deleted or renamed model `UserFriendlyAppliedScopeType`
- Deleted or renamed model `UserFriendlyRenewState`
- Method `QuotaRequestStatusOperations.list` changed its parameter `skiptoken` from `positional_or_keyword` to `keyword_only`
- Method `ReservationOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
- Method `ReservationOperations.list_all` changed its parameter `orderby`/`refresh_summary`/`skiptoken`/`selected_state`/`take` from `positional_or_keyword` to `keyword_only`
- Method `ReservationOrderOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
- Renamed operation group `AzureReservationAPIOperationsMixin` to `_ReservationsMgmtClientOperationsMixin`

### Other Changes

- Deleted model `CatalogsResult`/`OperationList`/`QuotaLimits`/`QuotaLimitsResponse`/`QuotaRequestDetailsList`/`ReservationList`/`ReservationOrderList` which actually were not used by SDK users

## 2.3.0 (2023-03-20)

### Features Added
Expand Down
9 changes: 4 additions & 5 deletions sdk/reservations/azure-mgmt-reservations/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
include _meta.json
recursive-include tests *.py *.json
recursive-include samples *.py *.md
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/reservations/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/mgmt/__init__.py
14 changes: 6 additions & 8 deletions sdk/reservations/azure-mgmt-reservations/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Reservations Client Library.
This package has been tested with Python 3.7+.
This package has been tested with Python 3.10+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.7+ is required to use this package.
- Python 3.10+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand All @@ -24,7 +24,7 @@ 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.
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand All @@ -45,8 +45,9 @@ client = AzureReservationAPI(credential=DefaultAzureCredential(), subscription_i

## 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)
Code samples for this package can be found at:
- [Search Reservations](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
Expand All @@ -58,6 +59,3 @@ Code samples for this package can be found at [Reservations](https://docs.micros
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.



11 changes: 0 additions & 11 deletions sdk/reservations/azure-mgmt-reservations/_meta.json

This file was deleted.

10 changes: 10 additions & 0 deletions sdk/reservations/azure-mgmt-reservations/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"apiVersions": {
"Quota": "2020-10-25",
"Reservations": "2022-11-01"
},
"commit": "cb62053a18882dd258d9922be9770702b7ef6ac9",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/reservations/resource-manager/Microsoft.Capacity/Reservations",
"emitterVersion": "0.62.1"
}
Loading
Loading