Skip to content

Commit

Permalink
CodeGen from PR 24087 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 2a6cfea42b72f54e6580ae51453f5e4ae7146d88 into c183bb012de8e9e1d0d2e67a0994748df4747d2c
  • Loading branch information
SDKAuto committed May 23, 2023
1 parent 20e40ed commit 3fdb27e
Show file tree
Hide file tree
Showing 249 changed files with 15,005 additions and 4,453 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.7 (Unreleased)
## 1.0.0-beta.1 (2023-05-23)

- 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).

### Features Added

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-2022-12-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-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).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-postgresqlflexibleserver</artifactId>
<version>1.0.0-beta.6</version>
<version>1.0.0-beta.7</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for PostgreSql Management</name>
<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>
<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>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ConfigurationsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.DatabasesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.FirewallRulesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.FlexibleServersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.GetPrivateDnsZoneSuffixesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LocationBasedCapabilitiesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LogFilesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LtrBackupOperationsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.MigrationsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.OperationsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.PostgreSqlManagementClientBuilder;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ReplicasImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ResourceProvidersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerCapabilitiesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.VirtualNetworkSubnetUsagesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Administrators;
Expand All @@ -45,10 +51,16 @@
import com.azure.resourcemanager.postgresqlflexibleserver.models.Configurations;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Databases;
import com.azure.resourcemanager.postgresqlflexibleserver.models.FirewallRules;
import com.azure.resourcemanager.postgresqlflexibleserver.models.FlexibleServers;
import com.azure.resourcemanager.postgresqlflexibleserver.models.GetPrivateDnsZoneSuffixes;
import com.azure.resourcemanager.postgresqlflexibleserver.models.LocationBasedCapabilities;
import com.azure.resourcemanager.postgresqlflexibleserver.models.LogFiles;
import com.azure.resourcemanager.postgresqlflexibleserver.models.LtrBackupOperations;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Migrations;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Operations;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Replicas;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ResourceProviders;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerCapabilities;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Servers;
import com.azure.resourcemanager.postgresqlflexibleserver.models.VirtualNetworkSubnetUsages;
import java.time.Duration;
Expand All @@ -70,6 +82,8 @@ public final class PostgreSqlManager {

private LocationBasedCapabilities locationBasedCapabilities;

private ServerCapabilities serverCapabilities;

private CheckNameAvailabilities checkNameAvailabilities;

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

private Servers servers;

private Migrations migrations;

private ResourceProviders resourceProviders;

private Operations operations;

private GetPrivateDnsZoneSuffixes getPrivateDnsZoneSuffixes;

private Replicas replicas;

private LogFiles logFiles;

private VirtualNetworkSubnetUsages virtualNetworkSubnetUsages;

private FlexibleServers flexibleServers;

private LtrBackupOperations ltrBackupOperations;

private final PostgreSqlManagementClient clientObject;

private PostgreSqlManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -255,7 +279,7 @@ public PostgreSqlManager authenticate(TokenCredential credential, AzureProfile p
.append("-")
.append("com.azure.resourcemanager.postgresqlflexibleserver")
.append("/")
.append("1.0.0-beta.6");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -349,6 +373,18 @@ public LocationBasedCapabilities locationBasedCapabilities() {
return locationBasedCapabilities;
}

/**
* Gets the resource collection API of ServerCapabilities.
*
* @return Resource collection API of ServerCapabilities.
*/
public ServerCapabilities serverCapabilities() {
if (this.serverCapabilities == null) {
this.serverCapabilities = new ServerCapabilitiesImpl(clientObject.getServerCapabilities(), this);
}
return serverCapabilities;
}

/**
* Gets the resource collection API of CheckNameAvailabilities.
*
Expand Down Expand Up @@ -423,6 +459,30 @@ public Servers servers() {
return servers;
}

/**
* Gets the resource collection API of Migrations. It manages MigrationResource.
*
* @return Resource collection API of Migrations.
*/
public Migrations migrations() {
if (this.migrations == null) {
this.migrations = new MigrationsImpl(clientObject.getMigrations(), this);
}
return migrations;
}

/**
* Gets the resource collection API of ResourceProviders.
*
* @return Resource collection API of ResourceProviders.
*/
public ResourceProviders resourceProviders() {
if (this.resourceProviders == null) {
this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
}
return resourceProviders;
}

/**
* Gets the resource collection API of Operations.
*
Expand Down Expand Up @@ -460,6 +520,18 @@ public Replicas replicas() {
return replicas;
}

/**
* Gets the resource collection API of LogFiles.
*
* @return Resource collection API of LogFiles.
*/
public LogFiles logFiles() {
if (this.logFiles == null) {
this.logFiles = new LogFilesImpl(clientObject.getLogFiles(), this);
}
return logFiles;
}

/**
* Gets the resource collection API of VirtualNetworkSubnetUsages.
*
Expand All @@ -473,6 +545,30 @@ public VirtualNetworkSubnetUsages virtualNetworkSubnetUsages() {
return virtualNetworkSubnetUsages;
}

/**
* Gets the resource collection API of FlexibleServers.
*
* @return Resource collection API of FlexibleServers.
*/
public FlexibleServers flexibleServers() {
if (this.flexibleServers == null) {
this.flexibleServers = new FlexibleServersImpl(clientObject.getFlexibleServers(), this);
}
return flexibleServers;
}

/**
* Gets the resource collection API of LtrBackupOperations.
*
* @return Resource collection API of LtrBackupOperations.
*/
public LtrBackupOperations ltrBackupOperations() {
if (this.ltrBackupOperations == null) {
this.ltrBackupOperations = new LtrBackupOperationsImpl(clientObject.getLtrBackupOperations(), this);
}
return ltrBackupOperations;
}

/**
* @return Wrapped service client PostgreSqlManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
Expand Down
Loading

0 comments on commit 3fdb27e

Please sign in to comment.