Skip to content

Commit a1a9ea6

Browse files
author
SDKAuto
committed
CodeGen from PR 33107 in Azure/azure-rest-api-specs
Merge 50abb13e5206b0f432d6f7ed529543b77ec29815 into 911dc10b0c10dc26cc4dc9dbc476731e16317bb9
1 parent c8b20f0 commit a1a9ea6

File tree

153 files changed

+10864
-1867
lines changed

Some content is hidden

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

153 files changed

+10864
-1867
lines changed

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

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

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-03-21)
4+
5+
- Azure Resource Manager Advisor client library for Java. This package contains Microsoft Azure SDK for Advisor Management SDK. REST APIs for Azure Advisor. Package tag package-2024-11-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

7-
### Breaking Changes
9+
* `models.Priority` was added
810

9-
### Bugs Fixed
11+
* `models.Risk` was added
1012

11-
### Other Changes
13+
* `models.TrackedRecommendationPropertiesPayload` was added
14+
15+
* `models.RecommendationPropertiesResourceWorkload` was added
16+
17+
* `models.TriageResource` was added
18+
19+
* `models.ReviewStatus` was added
20+
21+
* `models.TriageRecommendations` was added
22+
23+
* `models.RecommendationRejectBody` was added
24+
25+
* `models.ResiliencyReview` was added
26+
27+
* `models.TrackedRecommendationPropertiesPayloadProperties` was added
28+
29+
* `models.AdvisorScoreEntityProperties` was added
30+
31+
* `models.AdvisorScores` was added
32+
33+
* `models.TriageRecommendationCollection` was added
34+
35+
* `models.TrackedRecommendationProperties` was added
36+
37+
* `models.PredictionType` was added
38+
39+
* `models.RecommendationPropertiesReview` was added
40+
41+
* `models.DurationModel` was added
42+
43+
* `models.ResiliencyReviewCollection` was added
44+
45+
* `models.AdvisorScoreResponse` was added
46+
47+
* `models.AdvisorScoreEntity` was added
48+
49+
* `models.ScoreEntity` was added
50+
51+
* `models.PredictionRequest` was added
52+
53+
* `models.RecommendationStatusName` was added
54+
55+
* `models.PredictionResponse` was added
56+
57+
* `models.TriageRecommendation` was added
58+
59+
* `models.Reason` was added
60+
61+
* `models.State` was added
62+
63+
* `models.TriageResourceCollection` was added
64+
65+
* `models.ResourceProviders` was added
66+
67+
* `models.ReasonForRejectionName` was added
68+
69+
* `models.TimeSeriesEntityItem` was added
70+
71+
* `models.PriorityName` was added
72+
73+
* `models.Aggregated` was added
74+
75+
* `models.ResiliencyReviews` was added
76+
77+
* `models.TriageResources` was added
78+
79+
#### `models.ConfigData` was modified
80+
81+
* `systemData()` was added
82+
* `duration()` was added
83+
84+
#### `models.Recommendations` was modified
85+
86+
* `patchWithResponse(java.lang.String,java.lang.String,models.TrackedRecommendationPropertiesPayload,com.azure.core.util.Context)` was added
87+
* `patch(java.lang.String,java.lang.String,models.TrackedRecommendationPropertiesPayload)` was added
88+
89+
#### `models.ConfigData$Definition` was modified
90+
91+
* `withDuration(models.DurationModel)` was added
92+
93+
#### `AdvisorManager` was modified
94+
95+
* `triageRecommendations()` was added
96+
* `triageResources()` was added
97+
* `resourceProviders()` was added
98+
* `resiliencyReviews()` was added
99+
* `advisorScores()` was added
100+
101+
#### `models.SuppressionContract` was modified
102+
103+
* `systemData()` was added
104+
105+
#### `models.ResourceRecommendationBase` was modified
106+
107+
* `trackedProperties()` was added
108+
* `review()` was added
109+
* `sourceSystem()` was added
110+
* `risk()` was added
111+
* `tracked()` was added
112+
* `notes()` was added
113+
* `resourceWorkload()` was added
114+
* `systemData()` was added
12115

13116
## 1.0.0 (2024-12-23)
14117

sdk/advisor/azure-resourcemanager-advisor/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 Advisor client library for Java.
44

5-
This package contains Microsoft Azure SDK for Advisor Management SDK. REST APIs for Azure Advisor. Package tag package-2020-01. 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 Advisor Management SDK. REST APIs for Azure Advisor. Package tag package-2024-11-preview. 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
AdvisorManager manager = AdvisorManager
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)