Skip to content

Commit bb8eed5

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

File tree

209 files changed

+5645
-5952
lines changed

Some content is hidden

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

209 files changed

+5645
-5952
lines changed

sdk/consumption/azure-resourcemanager-consumption/CHANGELOG.md

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,77 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-05-12)
44

5-
### Features Added
5+
- Azure Resource Manager Consumption client library for Java. This package contains Microsoft Azure SDK for Consumption Management SDK. Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions. Package tag package-2025-04-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.ReservationRecommendationDetails` was modified
10+
11+
* `getWithResponse(java.lang.String,models.Scope,java.lang.String,models.Term,models.LookBackPeriod,java.lang.String,com.azure.core.util.Context)` was removed
12+
13+
#### `models.ReservationTransactions` was modified
14+
15+
* `list(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
16+
17+
### Features Added
18+
19+
* `models.SavingsPlan` was added
20+
21+
* `models.OrganizationType` was added
22+
23+
* `models.OperationStatus` was added
24+
25+
* `models.OperationStatusType` was added
26+
27+
#### `models.LotSummary` was modified
28+
29+
* `organizationType()` was added
30+
* `usedAmount()` was added
31+
* `isEstimatedBalance()` was added
32+
33+
#### `models.PriceSheetProperties` was modified
34+
35+
* `savingsPlan()` was added
36+
37+
#### `models.ReservationRecommendationDetails` was modified
38+
39+
* `getWithResponse(java.lang.String,models.Scope,java.lang.String,models.Term,models.LookBackPeriod,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
40+
41+
#### `models.Balance` was modified
42+
43+
* `overageRefund()` was added
44+
45+
#### `models.EventSummary` was modified
46+
47+
* `isEstimatedBalance()` was added
48+
* `closedBalanceInLotCurrency()` was added
49+
* `billingAccountDisplayName()` was added
50+
* `chargesInLotCurrency()` was added
51+
* `billingAccountId()` was added
52+
53+
#### `models.ReservationTransactions` was modified
54+
55+
* `list(java.lang.String,java.lang.String,java.lang.Boolean,java.math.BigDecimal,com.azure.core.util.Context)` was added
56+
57+
#### `models.ModernReservationRecommendationProperties` was modified
58+
59+
* `totalHours()` was added
60+
* `lastUsageDate()` was added
61+
62+
#### `models.PriceSheets` was modified
63+
64+
* `downloadByBillingAccountPeriod(java.lang.String,java.lang.String)` was added
65+
* `downloadByBillingAccountPeriod(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
66+
67+
#### `models.CreditSummary` was modified
68+
69+
* `isEstimatedBalance()` was added
70+
71+
#### `models.LegacyReservationRecommendationProperties` was modified
1072

11-
### Other Changes
73+
* `totalHours()` was added
74+
* `lastUsageDate()` was added
1275

1376
## 1.0.0 (2024-12-24)
1477

sdk/consumption/azure-resourcemanager-consumption/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Consumption client library for Java.
44

5-
This package contains Microsoft Azure SDK for Consumption Management SDK. Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions. Package tag package-2021-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for Consumption Management SDK. Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions. Package tag package-2025-04-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
ConsumptionManager manager = ConsumptionManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

0 commit comments

Comments
 (0)