Skip to content

Commit 4644704

Browse files
author
SDKAuto
committed
CodeGen from PR 22338 in Azure/azure-rest-api-specs
Merge ea16ebe05d6c2f1495094b82a65a04213bddcaf3 into 91af1c93c771c12d8b147f122c3519eae087d0ff
1 parent cf6f5b7 commit 4644704

30 files changed

+1385
-1550
lines changed

sdk/resourcemanager/reservations/armreservations/CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Release History
22

3+
## 2.0.0 (2023-01-28)
4+
### Breaking Changes
5+
6+
- Type of `OperationResponse.Properties` has been changed from `interface{}` to `any`
7+
- Type of `QuotaProperties.Properties` has been changed from `interface{}` to `any`
8+
- Function `*AzureReservationAPIClient.GetCatalog` has been removed
9+
- Operation `*ReturnClient.Post` has been changed to LRO, use `*ReturnClient.BeginPost` instead.
10+
11+
### Features Added
12+
13+
- New value `AppliedScopeTypeManagementGroup` added to type alias `AppliedScopeType`
14+
- New value `DisplayProvisioningStateNoBenefit`, `DisplayProvisioningStateWarning` added to type alias `DisplayProvisioningState`
15+
- New type alias `BillingPlan` with values `BillingPlanP1M`
16+
- New type alias `CommitmentGrain` with values `CommitmentGrainHourly`
17+
- New type alias `SavingsPlanTerm` with values `SavingsPlanTermP1Y`, `SavingsPlanTermP3Y`
18+
- New function `*AzureReservationAPIClient.NewGetCatalogPager(string, *AzureReservationAPIClientGetCatalogOptions) *runtime.Pager[AzureReservationAPIClientGetCatalogResponse]`
19+
- New struct `AppliedScopeProperties`
20+
- New struct `CatalogsResult`
21+
- New struct `Commitment`
22+
- New struct `ProxyResource`
23+
- New struct `ReservationSwapProperties`
24+
- New struct `Resource`
25+
- New struct `SavingsPlanPurchaseRequest`
26+
- New struct `SavingsPlanPurchaseRequestProperties`
27+
- New struct `SavingsPlanToPurchaseCalculateExchange`
28+
- New struct `SavingsPlanToPurchaseExchange`
29+
- New anonymous field `CatalogsResult` in struct `AzureReservationAPIClientGetCatalogResponse`
30+
- New field `SavingsPlansToPurchase` in struct `CalculateExchangeRequestProperties`
31+
- New field `SavingsPlansToPurchase` in struct `CalculateExchangeResponseProperties`
32+
- New field `SavingsPlansToPurchase` in struct `ExchangeResponseProperties`
33+
- New field `AppliedScopeProperties` in struct `PatchProperties`
34+
- New field `ReviewDateTime` in struct `PatchProperties`
35+
- New field `AppliedScopeProperties` in struct `Properties`
36+
- New field `ExpiryDateTime` in struct `Properties`
37+
- New field `PurchaseDateTime` in struct `Properties`
38+
- New field `ReviewDateTime` in struct `Properties`
39+
- New field `SwapProperties` in struct `Properties`
40+
- New field `AppliedScopeProperties` in struct `PurchaseRequestProperties`
41+
- New field `ReviewDateTime` in struct `PurchaseRequestProperties`
42+
- New field `ExpiryDateTime` in struct `ReservationOrderProperties`
43+
- New field `ReviewDateTime` in struct `ReservationOrderProperties`
44+
- New field `NoBenefitCount` in struct `ReservationSummary`
45+
- New field `WarningCount` in struct `ReservationSummary`
46+
47+
348
## 1.1.0 (2022-09-16)
449
### Features Added
550

sdk/resourcemanager/reservations/armreservations/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/0507c3d410681049bb5cd9545b49a7578a91d3d0/specification/reservations/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/0507c3d410681049bb5cd9545b49a7578a91d3d0/specification/reservations/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/reservations/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/reservations/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.1.0
11+
module-version: 2.0.0
1212

1313
```

sdk/resourcemanager/reservations/armreservations/azurereservationapi_client.go

Lines changed: 52 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/reservations/armreservations/azurereservationapi_client_example_test.go

Lines changed: 0 additions & 61 deletions
This file was deleted.

sdk/resourcemanager/reservations/armreservations/calculateexchange_client.go

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/reservations/armreservations/calculateexchange_client_example_test.go

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)