Skip to content

Commit 783c2b4

Browse files
author
SDKAuto
committed
CodeGen from PR 34642 in Azure/azure-rest-api-specs
Merge ad40016d728ba2722cc889ad17c97b91288f908f into 8ace4664e1bb2c1d1a1158d26d553991fa6f16b5
1 parent e7103f9 commit 783c2b4

File tree

328 files changed

+16629
-9190
lines changed

Some content is hidden

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

328 files changed

+16629
-9190
lines changed

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

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

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-05-13)
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-03-15-privatepreview. 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+
* `java.util.List value()` -> `java.util.List value()`
12+
* `innerModel()` was removed
13+
* `java.lang.String nextLink()` -> `java.lang.String nextLink()`
14+
15+
#### `models.Operation` was modified
16+
17+
* `java.util.Map properties()` -> `java.util.Map properties()`
18+
* `java.lang.String name()` -> `java.lang.String name()`
19+
* `fromJson(com.azure.json.JsonReader)` was removed
20+
* `validate()` was removed
21+
* `models.OperationDisplay display()` -> `models.OperationDisplay display()`
22+
* `models.OperationOrigin origin()` -> `models.OperationOrigin origin()`
23+
* `toJson(com.azure.json.JsonWriter)` was removed
24+
* `java.lang.Boolean isDataAction()` -> `java.lang.Boolean isDataAction()`
25+
* `withIsDataAction(java.lang.Boolean)` was removed
26+
27+
#### `models.Operations` was modified
28+
29+
* `models.OperationListResult list()` -> `com.azure.core.http.rest.PagedIterable list()`
30+
* `listWithResponse(com.azure.core.util.Context)` was removed
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.DelegatedResources` was added
79+
80+
* `models.Cluster` was added
81+
82+
* `models.TuningIndexes` was added
83+
84+
* `models.TuningOptionsResource` was added
1085

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

13155
## 1.1.0 (2025-01-06)
14156

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-03-15-privatepreview. 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)