Skip to content

Commit 73d7e6f

Browse files
author
SDKAuto
committed
CodeGen from PR 33626 in Azure/azure-rest-api-specs
Merge 9b5a58bcbf71cd69202c117352aa54c3cfaf78c8 into 256a91b5f962a045dba1efc2a2935eea2abe704b
1 parent b429a1d commit 73d7e6f

File tree

68 files changed

+2033
-7543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2033
-7543
lines changed

sdk/resourcemanager/consumption/armconsumption/CHANGELOG.md

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

3+
## 2.0.0 (2025-05-12)
4+
### Breaking Changes
5+
6+
- Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
7+
- Field `Etag`, `Tags` of struct `CreditSummary` has been removed
8+
- Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed
9+
10+
### Features Added
11+
12+
- New value `EventTypeCreditExpired` added to enum type `EventType`
13+
- New value `TermP1M` added to enum type `Term`
14+
- New enum type `OperationStatusType` with values `OperationStatusTypeCompleted`, `OperationStatusTypeFailed`, `OperationStatusTypeRunning`
15+
- New enum type `OrganizationType` with values `OrganizationTypeContributorOrganizationType`, `OrganizationTypePrimaryOrganizationType`
16+
- New function `*ModernReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
17+
- New function `*ModernSharedScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
18+
- New function `*ModernSingleScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
19+
- New function `*PriceSheetClient.BeginDownloadByBillingAccountPeriod(context.Context, string, string, *PriceSheetClientBeginDownloadByBillingAccountPeriodOptions) (*runtime.Poller[PriceSheetClientDownloadByBillingAccountPeriodResponse], error)`
20+
- New struct `ModernSharedScopeReservationRecommendationProperties`
21+
- New struct `ModernSingleScopeReservationRecommendationProperties`
22+
- New struct `OperationStatus`
23+
- New struct `PricesheetDownloadProperties`
24+
- New struct `SavingsPlan`
25+
- New field `OverageRefund` in struct `BalanceProperties`
26+
- New field `ETag` in struct `CreditSummary`
27+
- New field `IsEstimatedBalance` in struct `CreditSummaryProperties`
28+
- New field `BillingAccountDisplayName`, `BillingAccountID`, `ChargesInLotCurrency`, `ClosedBalanceInLotCurrency`, `IsEstimatedBalance` in struct `EventProperties`
29+
- New field `AzureMarketplaceCharges` in struct `LegacyChargeSummaryProperties`
30+
- New field `LastUsageDate`, `TotalHours` in struct `LegacyReservationRecommendationProperties`
31+
- New field `LastUsageDate`, `TotalHours` in struct `LegacySharedScopeReservationRecommendationProperties`
32+
- New field `LastUsageDate`, `TotalHours` in struct `LegacySingleScopeReservationRecommendationProperties`
33+
- New field `IsEstimatedBalance`, `OrganizationType`, `UsedAmount` in struct `LotProperties`
34+
- New field `SubscriptionID` in struct `ModernChargeSummaryProperties`
35+
- New field `SavingsPlan` in struct `PriceSheetProperties`
36+
- New field `Filter` in struct `ReservationRecommendationDetailsClientGetOptions`
37+
- New field `PreviewMarkupPercentage`, `UseMarkupIfPartner` in struct `ReservationTransactionsClientListOptions`
38+
39+
340
## 1.2.0 (2023-11-24)
441
### Features Added
542

sdk/resourcemanager/consumption/armconsumption/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
1818
Install the Azure Consumption module:
1919

2020
```sh
21-
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption
21+
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption/v2
2222
```
2323

2424
## Authorization

sdk/resourcemanager/consumption/armconsumption/aggregatedcost_client.go

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

sdk/resourcemanager/consumption/armconsumption/aggregatedcost_client_example_test.go

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

sdk/resourcemanager/consumption/armconsumption/autorest.md

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

0 commit comments

Comments
 (0)