Skip to content

[AutoPR azure-resourcemanager-postgresqlflexibleserver] Creating a general recommendation controller #16270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,14 +1,145 @@
# Release History

## 1.2.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2025-05-06)

### Features Added
- 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).

### Breaking Changes

### Bugs Fixed
#### `models.OperationListResult` was modified

* `innerModel()` was removed
* `java.lang.String nextLink()` -> `java.lang.String nextLink()`
* `java.util.List value()` -> `java.util.List value()`

#### `models.Operation` was modified

* `models.OperationDisplay display()` -> `models.OperationDisplay display()`
* `withIsDataAction(java.lang.Boolean)` was removed
* `java.lang.Boolean isDataAction()` -> `java.lang.Boolean isDataAction()`
* `fromJson(com.azure.json.JsonReader)` was removed
* `validate()` was removed
* `models.OperationOrigin origin()` -> `models.OperationOrigin origin()`
* `java.util.Map properties()` -> `java.util.Map properties()`
* `java.lang.String name()` -> `java.lang.String name()`
* `toJson(com.azure.json.JsonWriter)` was removed

#### `models.Operations` was modified

* `models.OperationListResult list()` -> `com.azure.core.http.rest.PagedIterable list()`
* `listWithResponse(com.azure.core.util.Context)` was removed

### Features Added

* `models.SupportedFeatureStatusEnum` was added

* `models.QuotaUsages` was added

* `models.ConfigTuningRequestParameter` was added

* `models.TuningOptionsListResult` was added

* `models.ObjectRecommendationResource` was added

* `models.SessionResource` was added

* `models.QuotaUsage` was added

* `models.ImpactRecord` was added

* `models.SessionDetailsListResult` was added

* `models.ObjectRecommendationDetails` was added

* `models.QuotaUsagesListResult` was added

* `models.NameProperty` was added

* `models.TuningOptions` was added

* `models.ObjectRecommendationListResult` was added

* `models.ObjectRecommendationResourcePropertiesAnalyzedWorkload` was added

* `models.RecommendationTypeEnum` was added

* `models.SupportedFeature` was added

* `models.SessionsListResult` was added

* `models.RecommendationType` was added

* `models.ObjectRecommendationResourcePropertiesImplementationDetails` was added

* `models.TuningOptionEnum` was added

* `models.TuningConfigurations` was added

* `models.Cluster` was added

* `models.TuningIndexes` was added

### Other Changes
* `models.TuningOptionsResource` was added

* `models.SessionDetailsResource` was added

#### `models.OperationListResult` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `validate()` was added
* `withValue(java.util.List)` was added
* `withNextLink(java.lang.String)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.UserAssignedIdentity` was modified

* `withPrincipalId(java.lang.String)` was added
* `principalId()` was added

#### `models.ServerForUpdate` was modified

* `cluster()` was added
* `withCluster(models.Cluster)` was added

#### `models.FlexibleServerCapability` was modified

* `supportedFeatures()` was added

#### `models.ServerVersionCapability` was modified

* `supportedFeatures()` was added

#### `models.ServerSkuCapability` was modified

* `supportedFeatures()` was added
* `securityProfile()` was added

#### `models.Operation` was modified

* `innerModel()` was added

#### `models.Operations` was modified

* `list(com.azure.core.util.Context)` was added

#### `models.Server$Update` was modified

* `withCluster(models.Cluster)` was added

#### `models.Server` was modified

* `cluster()` was added

#### `models.Server$Definition` was modified

* `withCluster(models.Cluster)` was added

#### `PostgreSqlManager` was modified

* `tuningConfigurations()` was added
* `tuningIndexes()` was added
* `quotaUsages()` was added
* `tuningOptions()` was added

## 1.1.0 (2025-01-06)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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-2024-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
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).

## We'd love to hear your feedback

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

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
PostgreSqlManager manager = PostgreSqlManager
.authenticate(credential, profile);
```

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

See [Authentication][authenticate] for more options.

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


Loading