Skip to content

Commit 4cfe28d

Browse files
[Automation] Generate Fluent Lite from postgresql#package-flexibleserver-2022-12-01 (Azure#37133)
* [Automation] External Change * [Automation] Generate Fluent Lite from postgresql#package-flexibleserver-2022-12-01 * Update CHANGELOG.md --------- Co-authored-by: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com>
1 parent 6822b28 commit 4cfe28d

File tree

263 files changed

+1455
-16062
lines changed

Some content is hidden

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

263 files changed

+1455
-16062
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ com.azure.resourcemanager:azure-resourcemanager-maps;1.0.0;1.1.0-beta.1
357357
com.azure.resourcemanager:azure-resourcemanager-botservice;1.0.0-beta.5;1.0.0-beta.6
358358
com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.1.0;1.2.0-beta.1
359359
com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.3
360-
com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0-beta.7;1.0.0-beta.8
360+
com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0-beta.7;1.0.0
361361
com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0-beta.4;1.0.0-beta.5
362362
com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0;1.1.0-beta.2
363363
com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.5;1.0.0-beta.6

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

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

3-
## 1.0.0-beta.8 (Unreleased)
3+
## 1.0.0 (2023-10-11)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
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-2022-12-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
126

137
## 1.0.0-beta.7 (2023-06-26)
148

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

Lines changed: 4 additions & 2 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-2023-03-01-preview. 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-2022-12-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

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-postgresqlflexibleserver</artifactId>
35-
<version>1.0.0-beta.7</version>
35+
<version>1.0.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -126,3 +126,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
126126
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
127127
[coc]: https://opensource.microsoft.com/codeofconduct/
128128
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
129+
130+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fpostgresqlflexibleserver%2Fazure-resourcemanager-postgresqlflexibleserver%2FREADME.png)

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

Lines changed: 53 additions & 544 deletions
Large diffs are not rendered by default.

sdk/postgresqlflexibleserver/azure-resourcemanager-postgresqlflexibleserver/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
<groupId>com.azure.resourcemanager</groupId>
1616
<artifactId>azure-resourcemanager-postgresqlflexibleserver</artifactId>
17-
<version>1.0.0-beta.8</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;current} -->
17+
<version>1.0.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;current} -->
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for PostgreSql Management</name>
21-
<description>This package contains Microsoft Azure SDK for PostgreSql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. 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-2023-03-01-preview.</description>
21+
<description>This package contains Microsoft Azure SDK for PostgreSql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. 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-2022-12-01.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/postgresqlflexibleserver/azure-resourcemanager-postgresqlflexibleserver/src/main/java/com/azure/resourcemanager/postgresqlflexibleserver/PostgreSqlManager.java

Lines changed: 4 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,11 @@
3131
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ConfigurationsImpl;
3232
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.DatabasesImpl;
3333
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.FirewallRulesImpl;
34-
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.FlexibleServersImpl;
3534
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.GetPrivateDnsZoneSuffixesImpl;
3635
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LocationBasedCapabilitiesImpl;
37-
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LogFilesImpl;
38-
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LtrBackupOperationsImpl;
39-
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.MigrationsImpl;
4036
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.OperationsImpl;
4137
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.PostgreSqlManagementClientBuilder;
4238
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ReplicasImpl;
43-
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ResourceProvidersImpl;
44-
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerCapabilitiesImpl;
4539
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServersImpl;
4640
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.VirtualNetworkSubnetUsagesImpl;
4741
import com.azure.resourcemanager.postgresqlflexibleserver.models.Administrators;
@@ -51,16 +45,10 @@
5145
import com.azure.resourcemanager.postgresqlflexibleserver.models.Configurations;
5246
import com.azure.resourcemanager.postgresqlflexibleserver.models.Databases;
5347
import com.azure.resourcemanager.postgresqlflexibleserver.models.FirewallRules;
54-
import com.azure.resourcemanager.postgresqlflexibleserver.models.FlexibleServers;
5548
import com.azure.resourcemanager.postgresqlflexibleserver.models.GetPrivateDnsZoneSuffixes;
5649
import com.azure.resourcemanager.postgresqlflexibleserver.models.LocationBasedCapabilities;
57-
import com.azure.resourcemanager.postgresqlflexibleserver.models.LogFiles;
58-
import com.azure.resourcemanager.postgresqlflexibleserver.models.LtrBackupOperations;
59-
import com.azure.resourcemanager.postgresqlflexibleserver.models.Migrations;
6050
import com.azure.resourcemanager.postgresqlflexibleserver.models.Operations;
6151
import com.azure.resourcemanager.postgresqlflexibleserver.models.Replicas;
62-
import com.azure.resourcemanager.postgresqlflexibleserver.models.ResourceProviders;
63-
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerCapabilities;
6452
import com.azure.resourcemanager.postgresqlflexibleserver.models.Servers;
6553
import com.azure.resourcemanager.postgresqlflexibleserver.models.VirtualNetworkSubnetUsages;
6654
import java.time.Duration;
@@ -82,8 +70,6 @@ public final class PostgreSqlManager {
8270

8371
private LocationBasedCapabilities locationBasedCapabilities;
8472

85-
private ServerCapabilities serverCapabilities;
86-
8773
private CheckNameAvailabilities checkNameAvailabilities;
8874

8975
private CheckNameAvailabilityWithLocations checkNameAvailabilityWithLocations;
@@ -96,24 +82,14 @@ public final class PostgreSqlManager {
9682

9783
private Servers servers;
9884

99-
private Migrations migrations;
100-
101-
private ResourceProviders resourceProviders;
102-
10385
private Operations operations;
10486

10587
private GetPrivateDnsZoneSuffixes getPrivateDnsZoneSuffixes;
10688

10789
private Replicas replicas;
10890

109-
private LogFiles logFiles;
110-
11191
private VirtualNetworkSubnetUsages virtualNetworkSubnetUsages;
11292

113-
private FlexibleServers flexibleServers;
114-
115-
private LtrBackupOperations ltrBackupOperations;
116-
11793
private final PostgreSqlManagementClient clientObject;
11894

11995
private PostgreSqlManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -279,7 +255,7 @@ public PostgreSqlManager authenticate(TokenCredential credential, AzureProfile p
279255
.append("-")
280256
.append("com.azure.resourcemanager.postgresqlflexibleserver")
281257
.append("/")
282-
.append("1.0.0-beta.7");
258+
.append("1.0.0");
283259
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
284260
userAgentBuilder
285261
.append(" (")
@@ -373,18 +349,6 @@ public LocationBasedCapabilities locationBasedCapabilities() {
373349
return locationBasedCapabilities;
374350
}
375351

376-
/**
377-
* Gets the resource collection API of ServerCapabilities.
378-
*
379-
* @return Resource collection API of ServerCapabilities.
380-
*/
381-
public ServerCapabilities serverCapabilities() {
382-
if (this.serverCapabilities == null) {
383-
this.serverCapabilities = new ServerCapabilitiesImpl(clientObject.getServerCapabilities(), this);
384-
}
385-
return serverCapabilities;
386-
}
387-
388352
/**
389353
* Gets the resource collection API of CheckNameAvailabilities.
390354
*
@@ -459,30 +423,6 @@ public Servers servers() {
459423
return servers;
460424
}
461425

462-
/**
463-
* Gets the resource collection API of Migrations. It manages MigrationResource.
464-
*
465-
* @return Resource collection API of Migrations.
466-
*/
467-
public Migrations migrations() {
468-
if (this.migrations == null) {
469-
this.migrations = new MigrationsImpl(clientObject.getMigrations(), this);
470-
}
471-
return migrations;
472-
}
473-
474-
/**
475-
* Gets the resource collection API of ResourceProviders.
476-
*
477-
* @return Resource collection API of ResourceProviders.
478-
*/
479-
public ResourceProviders resourceProviders() {
480-
if (this.resourceProviders == null) {
481-
this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
482-
}
483-
return resourceProviders;
484-
}
485-
486426
/**
487427
* Gets the resource collection API of Operations.
488428
*
@@ -520,18 +460,6 @@ public Replicas replicas() {
520460
return replicas;
521461
}
522462

523-
/**
524-
* Gets the resource collection API of LogFiles.
525-
*
526-
* @return Resource collection API of LogFiles.
527-
*/
528-
public LogFiles logFiles() {
529-
if (this.logFiles == null) {
530-
this.logFiles = new LogFilesImpl(clientObject.getLogFiles(), this);
531-
}
532-
return logFiles;
533-
}
534-
535463
/**
536464
* Gets the resource collection API of VirtualNetworkSubnetUsages.
537465
*
@@ -546,32 +474,10 @@ public VirtualNetworkSubnetUsages virtualNetworkSubnetUsages() {
546474
}
547475

548476
/**
549-
* Gets the resource collection API of FlexibleServers.
550-
*
551-
* @return Resource collection API of FlexibleServers.
552-
*/
553-
public FlexibleServers flexibleServers() {
554-
if (this.flexibleServers == null) {
555-
this.flexibleServers = new FlexibleServersImpl(clientObject.getFlexibleServers(), this);
556-
}
557-
return flexibleServers;
558-
}
559-
560-
/**
561-
* Gets the resource collection API of LtrBackupOperations.
477+
* Gets wrapped service client PostgreSqlManagementClient providing direct access to the underlying auto-generated
478+
* API implementation, based on Azure REST API.
562479
*
563-
* @return Resource collection API of LtrBackupOperations.
564-
*/
565-
public LtrBackupOperations ltrBackupOperations() {
566-
if (this.ltrBackupOperations == null) {
567-
this.ltrBackupOperations = new LtrBackupOperationsImpl(clientObject.getLtrBackupOperations(), this);
568-
}
569-
return ltrBackupOperations;
570-
}
571-
572-
/**
573-
* @return Wrapped service client PostgreSqlManagementClient providing direct access to the underlying
574-
* auto-generated API implementation, based on Azure REST API.
480+
* @return Wrapped service client PostgreSqlManagementClient.
575481
*/
576482
public PostgreSqlManagementClient serviceClient() {
577483
return this.clientObject;

0 commit comments

Comments
 (0)