|
1 | 1 | # Release History
|
2 | 2 |
|
| 3 | +## 2.0.0 (2023-02-16) |
| 4 | +### Breaking Changes |
| 5 | + |
| 6 | +- Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification` |
| 7 | +- Field `Etag` of struct `CreditSummary` has been removed |
| 8 | +- Field `Tags` of struct `CreditSummary` has been removed |
| 9 | +- Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed |
| 10 | + |
| 11 | +### Features Added |
| 12 | + |
| 13 | +- New value `EventTypeCreditExpired` added to type alias `EventType` |
| 14 | +- New function `*ModernReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties` |
| 15 | +- New function `*ModernSharedScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties` |
| 16 | +- New function `*ModernSingleScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties` |
| 17 | +- New function `NewOperationsResultClient(azcore.TokenCredential, *arm.ClientOptions) (*OperationsResultClient, error)` |
| 18 | +- New function `*OperationsResultClient.NewListPager(*OperationsResultClientListOptions) *runtime.Pager[OperationsResultClientListResponse]` |
| 19 | +- New function `NewPriceSheetsClient(azcore.TokenCredential, *arm.ClientOptions) (*PriceSheetsClient, error)` |
| 20 | +- New function `*PriceSheetsClient.Get(context.Context, string, *PriceSheetsClientGetOptions) (PriceSheetsClientGetResponse, error)` |
| 21 | +- New function `*PriceSheetsClient.GetByBillingPeriod(context.Context, string, string, *PriceSheetsClientGetByBillingPeriodOptions) (PriceSheetsClientGetByBillingPeriodResponse, error)` |
| 22 | +- New struct `MeterDetailsV2` |
| 23 | +- New struct `ModernSharedScopeReservationRecommendationProperties` |
| 24 | +- New struct `ModernSingleScopeReservationRecommendationProperties` |
| 25 | +- New struct `OperationListResultV2` |
| 26 | +- New struct `OperationV2` |
| 27 | +- New struct `OperationV2Display` |
| 28 | +- New struct `OperationsResultClient` |
| 29 | +- New struct `PriceSheetModelV2` |
| 30 | +- New struct `PriceSheetPropertiesV2` |
| 31 | +- New struct `PriceSheetResultV2` |
| 32 | +- New struct `PriceSheetsClient` |
| 33 | +- New field `ETag` in struct `CreditSummary` |
| 34 | +- New field `AzureMarketplaceCharges` in struct `LegacyChargeSummaryProperties` |
| 35 | +- New field `SubscriptionID` in struct `ModernChargeSummaryProperties` |
| 36 | + |
| 37 | + |
3 | 38 | ## 1.0.0 (2022-05-18)
|
4 | 39 |
|
5 | 40 | The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.
|
|
0 commit comments