Skip to content

Commit 35d53bc

Browse files
author
SDKAuto
committed
CodeGen from PR 24087 in Azure/azure-rest-api-specs
Merge 9a40c234b44da5125d464284b549a2cc89595385 into c183bb012de8e9e1d0d2e67a0994748df4747d2c
1 parent 20e40ed commit 35d53bc

File tree

249 files changed

+15003
-4453
lines changed

Some content is hidden

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

249 files changed

+15003
-4453
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.7 (Unreleased)
3+
## 1.0.0-beta.1 (2023-05-23)
4+
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-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).
46

57
### Features Added
68

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

Lines changed: 2 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-2022-12-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-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).
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.6</version>
35+
<version>1.0.0-beta.7</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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-2022-12-01.</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-2023-03-01-preview.</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: 97 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,17 @@
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;
3435
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.GetPrivateDnsZoneSuffixesImpl;
3536
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;
3640
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.OperationsImpl;
3741
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.PostgreSqlManagementClientBuilder;
3842
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ReplicasImpl;
43+
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ResourceProvidersImpl;
44+
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerCapabilitiesImpl;
3945
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServersImpl;
4046
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.VirtualNetworkSubnetUsagesImpl;
4147
import com.azure.resourcemanager.postgresqlflexibleserver.models.Administrators;
@@ -45,10 +51,16 @@
4551
import com.azure.resourcemanager.postgresqlflexibleserver.models.Configurations;
4652
import com.azure.resourcemanager.postgresqlflexibleserver.models.Databases;
4753
import com.azure.resourcemanager.postgresqlflexibleserver.models.FirewallRules;
54+
import com.azure.resourcemanager.postgresqlflexibleserver.models.FlexibleServers;
4855
import com.azure.resourcemanager.postgresqlflexibleserver.models.GetPrivateDnsZoneSuffixes;
4956
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;
5060
import com.azure.resourcemanager.postgresqlflexibleserver.models.Operations;
5161
import com.azure.resourcemanager.postgresqlflexibleserver.models.Replicas;
62+
import com.azure.resourcemanager.postgresqlflexibleserver.models.ResourceProviders;
63+
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerCapabilities;
5264
import com.azure.resourcemanager.postgresqlflexibleserver.models.Servers;
5365
import com.azure.resourcemanager.postgresqlflexibleserver.models.VirtualNetworkSubnetUsages;
5466
import java.time.Duration;
@@ -70,6 +82,8 @@ public final class PostgreSqlManager {
7082

7183
private LocationBasedCapabilities locationBasedCapabilities;
7284

85+
private ServerCapabilities serverCapabilities;
86+
7387
private CheckNameAvailabilities checkNameAvailabilities;
7488

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

8397
private Servers servers;
8498

99+
private Migrations migrations;
100+
101+
private ResourceProviders resourceProviders;
102+
85103
private Operations operations;
86104

87105
private GetPrivateDnsZoneSuffixes getPrivateDnsZoneSuffixes;
88106

89107
private Replicas replicas;
90108

109+
private LogFiles logFiles;
110+
91111
private VirtualNetworkSubnetUsages virtualNetworkSubnetUsages;
92112

113+
private FlexibleServers flexibleServers;
114+
115+
private LtrBackupOperations ltrBackupOperations;
116+
93117
private final PostgreSqlManagementClient clientObject;
94118

95119
private PostgreSqlManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -255,7 +279,7 @@ public PostgreSqlManager authenticate(TokenCredential credential, AzureProfile p
255279
.append("-")
256280
.append("com.azure.resourcemanager.postgresqlflexibleserver")
257281
.append("/")
258-
.append("1.0.0-beta.6");
282+
.append("1.0.0-beta.1");
259283
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
260284
userAgentBuilder
261285
.append(" (")
@@ -349,6 +373,18 @@ public LocationBasedCapabilities locationBasedCapabilities() {
349373
return locationBasedCapabilities;
350374
}
351375

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+
352388
/**
353389
* Gets the resource collection API of CheckNameAvailabilities.
354390
*
@@ -423,6 +459,30 @@ public Servers servers() {
423459
return servers;
424460
}
425461

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+
426486
/**
427487
* Gets the resource collection API of Operations.
428488
*
@@ -460,6 +520,18 @@ public Replicas replicas() {
460520
return replicas;
461521
}
462522

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+
463535
/**
464536
* Gets the resource collection API of VirtualNetworkSubnetUsages.
465537
*
@@ -473,6 +545,30 @@ public VirtualNetworkSubnetUsages virtualNetworkSubnetUsages() {
473545
return virtualNetworkSubnetUsages;
474546
}
475547

548+
/**
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.
562+
*
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+
476572
/**
477573
* @return Wrapped service client PostgreSqlManagementClient providing direct access to the underlying
478574
* auto-generated API implementation, based on Azure REST API.

0 commit comments

Comments
 (0)