Skip to content

Commit 6d60c24

Browse files
authored
[Automation] Generate Fluent Lite from Swagger postgresql#package-flexibleserver-2025-01-01-preview (#45361)
1 parent 1b9fa94 commit 6d60c24

File tree

333 files changed

+16887
-7706
lines changed

Some content is hidden

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

333 files changed

+16887
-7706
lines changed

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

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

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.2.0-beta.1 (2025-05-16)
44

5-
### Features Added
5+
- Azure Resource Manager PostgreSql client library for Java. This package contains Microsoft Azure SDK for PostgreSql Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model. Package tag package-flexibleserver-2025-01-01-preview. 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.OperationListResult` was modified
10+
11+
* `innerModel()` was removed
12+
* `java.lang.String nextLink()` -> `java.lang.String nextLink()`
13+
* `java.util.List value()` -> `java.util.List value()`
14+
15+
#### `models.Operation` was modified
16+
17+
* `toJson(com.azure.json.JsonWriter)` was removed
18+
* `withIsDataAction(java.lang.Boolean)` was removed
19+
* `java.util.Map properties()` -> `java.util.Map properties()`
20+
* `java.lang.Boolean isDataAction()` -> `java.lang.Boolean isDataAction()`
21+
* `java.lang.String name()` -> `java.lang.String name()`
22+
* `models.OperationDisplay display()` -> `models.OperationDisplay display()`
23+
* `models.OperationOrigin origin()` -> `models.OperationOrigin origin()`
24+
* `validate()` was removed
25+
* `fromJson(com.azure.json.JsonReader)` was removed
26+
27+
#### `models.Operations` was modified
28+
29+
* `listWithResponse(com.azure.core.util.Context)` was removed
30+
* `models.OperationListResult list()` -> `com.azure.core.http.rest.PagedIterable list()`
31+
32+
### Features Added
33+
34+
* `models.SupportedFeatureStatusEnum` was added
35+
36+
* `models.QuotaUsages` was added
37+
38+
* `models.ConfigTuningRequestParameter` was added
39+
40+
* `models.TuningOptionsListResult` was added
41+
42+
* `models.SessionResource` was added
43+
44+
* `models.QuotaUsage` was added
45+
46+
* `models.IndexRecommendationListResult` was added
47+
48+
* `models.ImpactRecord` was added
49+
50+
* `models.SessionDetailsListResult` was added
51+
52+
* `models.QuotaUsagesListResult` was added
53+
54+
* `models.NameProperty` was added
55+
56+
* `models.IndexRecommendationResourcePropertiesAnalyzedWorkload` was added
57+
58+
* `models.TuningOptions` was added
59+
60+
* `models.IndexRecommendationDetails` was added
61+
62+
* `models.IndexRecommendationResource` was added
63+
64+
* `models.RecommendationTypeEnum` was added
65+
66+
* `models.SupportedFeature` was added
67+
68+
* `models.IndexRecommendationResourcePropertiesImplementationDetails` was added
69+
70+
* `models.SessionsListResult` was added
71+
72+
* `models.RecommendationType` was added
73+
74+
* `models.TuningOptionEnum` was added
75+
76+
* `models.TuningConfigurations` was added
77+
78+
* `models.Cluster` was added
79+
80+
* `models.TuningIndexes` was added
1081

11-
### Other Changes
82+
* `models.TuningOptionsResource` was added
83+
84+
* `models.SessionDetailsResource` was added
85+
86+
#### `models.OperationListResult` was modified
87+
88+
* `validate()` was added
89+
* `toJson(com.azure.json.JsonWriter)` was added
90+
* `withValue(java.util.List)` was added
91+
* `fromJson(com.azure.json.JsonReader)` was added
92+
* `withNextLink(java.lang.String)` was added
93+
94+
#### `models.UserAssignedIdentity` was modified
95+
96+
* `withPrincipalId(java.lang.String)` was added
97+
* `principalId()` was added
98+
99+
#### `models.ServerForUpdate` was modified
100+
101+
* `withCluster(models.Cluster)` was added
102+
* `cluster()` was added
103+
104+
#### `models.FlexibleServerCapability` was modified
105+
106+
* `supportedFeatures()` was added
107+
108+
#### `models.ServerVersionCapability` was modified
109+
110+
* `supportedFeatures()` was added
111+
112+
#### `models.ServerSkuCapability` was modified
113+
114+
* `securityProfile()` was added
115+
* `supportedFeatures()` was added
116+
117+
#### `models.Operation` was modified
118+
119+
* `innerModel()` was added
120+
121+
#### `models.Operations` was modified
122+
123+
* `list(com.azure.core.util.Context)` was added
124+
125+
#### `models.Server$Update` was modified
126+
127+
* `withCluster(models.Cluster)` was added
128+
129+
#### `models.Server` was modified
130+
131+
* `cluster()` was added
132+
133+
#### `models.Server$Definition` was modified
134+
135+
* `withCluster(models.Cluster)` was added
136+
137+
#### `PostgreSqlManager` was modified
138+
139+
* `tuningIndexes()` was added
140+
* `quotaUsages()` was added
141+
* `tuningOptions()` was added
142+
* `tuningConfigurations()` was added
12143

13144
## 1.1.0 (2025-01-06)
14145

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

5-
This package contains Microsoft Azure SDK for PostgreSql Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model. Package tag package-flexibleserver-2024-08-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 PostgreSql Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model. Package tag package-flexibleserver-2025-01-01-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
PostgreSqlManager manager = PostgreSqlManager
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

@@ -121,5 +121,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
121121
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
122122
[coc]: https://opensource.microsoft.com/codeofconduct/
123123
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
124-
125-

0 commit comments

Comments
 (0)