Skip to content

Commit

Permalink
CodeGen from PR 15227 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
config (Azure#15227)
  • Loading branch information
SDKAuto committed Jul 16, 2021
1 parent e8781bc commit 2e14043
Show file tree
Hide file tree
Showing 198 changed files with 18,901 additions and 6,169 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2021-07-16)

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

## 1.0.0-beta.1 (2021-07-12)

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-2021-06. 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-2020-01-01. 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.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/postgresqlflexibleserver/azure-resourcemanager-postgresqlflexibleserver/SAMPLE.md)


## Troubleshooting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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-2021-06.</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-2020-01-01.</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 @@ -25,21 +25,39 @@
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.GetPrivateDnsZoneSuffixesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LocationBasedCapabilitiesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LocationBasedPerformanceTiersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.LogFilesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.OperationsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.PostgreSqlManagementClientBuilder;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.PrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.PrivateLinkResourcesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.RecoverableServersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ReplicasImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerAdministratorsImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerBasedPerformanceTiersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerKeysImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerParametersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServerSecurityAlertPoliciesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.ServersImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.VirtualNetworkSubnetUsagesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.implementation.VirtualNetworkRulesImpl;
import com.azure.resourcemanager.postgresqlflexibleserver.models.CheckNameAvailabilities;
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.GetPrivateDnsZoneSuffixes;
import com.azure.resourcemanager.postgresqlflexibleserver.models.LocationBasedCapabilities;
import com.azure.resourcemanager.postgresqlflexibleserver.models.LocationBasedPerformanceTiers;
import com.azure.resourcemanager.postgresqlflexibleserver.models.LogFiles;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Operations;
import com.azure.resourcemanager.postgresqlflexibleserver.models.PrivateEndpointConnections;
import com.azure.resourcemanager.postgresqlflexibleserver.models.PrivateLinkResources;
import com.azure.resourcemanager.postgresqlflexibleserver.models.RecoverableServers;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Replicas;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerAdministrators;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerBasedPerformanceTiers;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerKeys;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerParameters;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerSecurityAlertPolicies;
import com.azure.resourcemanager.postgresqlflexibleserver.models.Servers;
import com.azure.resourcemanager.postgresqlflexibleserver.models.VirtualNetworkSubnetUsages;
import com.azure.resourcemanager.postgresqlflexibleserver.models.VirtualNetworkRules;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
Expand All @@ -54,21 +72,39 @@
public final class PostgreSqlManager {
private Servers servers;

private Replicas replicas;

private FirewallRules firewallRules;

private VirtualNetworkRules virtualNetworkRules;

private Databases databases;

private Configurations configurations;

private CheckNameAvailabilities checkNameAvailabilities;
private ServerParameters serverParameters;

private LogFiles logFiles;

private ServerAdministrators serverAdministrators;

private RecoverableServers recoverableServers;

private LocationBasedCapabilities locationBasedCapabilities;
private ServerBasedPerformanceTiers serverBasedPerformanceTiers;

private VirtualNetworkSubnetUsages virtualNetworkSubnetUsages;
private LocationBasedPerformanceTiers locationBasedPerformanceTiers;

private CheckNameAvailabilities checkNameAvailabilities;

private Operations operations;

private Databases databases;
private ServerSecurityAlertPolicies serverSecurityAlertPolicies;

private PrivateEndpointConnections privateEndpointConnections;

private GetPrivateDnsZoneSuffixes getPrivateDnsZoneSuffixes;
private PrivateLinkResources privateLinkResources;

private ServerKeys serverKeys;

private final PostgreSqlManagementClient clientObject;

Expand Down Expand Up @@ -253,6 +289,14 @@ public Servers servers() {
return servers;
}

/** @return Resource collection API of Replicas. */
public Replicas replicas() {
if (this.replicas == null) {
this.replicas = new ReplicasImpl(clientObject.getReplicas(), this);
}
return replicas;
}

/** @return Resource collection API of FirewallRules. */
public FirewallRules firewallRules() {
if (this.firewallRules == null) {
Expand All @@ -261,6 +305,22 @@ public FirewallRules firewallRules() {
return firewallRules;
}

/** @return Resource collection API of VirtualNetworkRules. */
public VirtualNetworkRules virtualNetworkRules() {
if (this.virtualNetworkRules == null) {
this.virtualNetworkRules = new VirtualNetworkRulesImpl(clientObject.getVirtualNetworkRules(), this);
}
return virtualNetworkRules;
}

/** @return Resource collection API of Databases. */
public Databases databases() {
if (this.databases == null) {
this.databases = new DatabasesImpl(clientObject.getDatabases(), this);
}
return databases;
}

/** @return Resource collection API of Configurations. */
public Configurations configurations() {
if (this.configurations == null) {
Expand All @@ -269,6 +329,56 @@ public Configurations configurations() {
return configurations;
}

/** @return Resource collection API of ServerParameters. */
public ServerParameters serverParameters() {
if (this.serverParameters == null) {
this.serverParameters = new ServerParametersImpl(clientObject.getServerParameters(), this);
}
return serverParameters;
}

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

/** @return Resource collection API of ServerAdministrators. */
public ServerAdministrators serverAdministrators() {
if (this.serverAdministrators == null) {
this.serverAdministrators = new ServerAdministratorsImpl(clientObject.getServerAdministrators(), this);
}
return serverAdministrators;
}

/** @return Resource collection API of RecoverableServers. */
public RecoverableServers recoverableServers() {
if (this.recoverableServers == null) {
this.recoverableServers = new RecoverableServersImpl(clientObject.getRecoverableServers(), this);
}
return recoverableServers;
}

/** @return Resource collection API of ServerBasedPerformanceTiers. */
public ServerBasedPerformanceTiers serverBasedPerformanceTiers() {
if (this.serverBasedPerformanceTiers == null) {
this.serverBasedPerformanceTiers =
new ServerBasedPerformanceTiersImpl(clientObject.getServerBasedPerformanceTiers(), this);
}
return serverBasedPerformanceTiers;
}

/** @return Resource collection API of LocationBasedPerformanceTiers. */
public LocationBasedPerformanceTiers locationBasedPerformanceTiers() {
if (this.locationBasedPerformanceTiers == null) {
this.locationBasedPerformanceTiers =
new LocationBasedPerformanceTiersImpl(clientObject.getLocationBasedPerformanceTiers(), this);
}
return locationBasedPerformanceTiers;
}

/** @return Resource collection API of CheckNameAvailabilities. */
public CheckNameAvailabilities checkNameAvailabilities() {
if (this.checkNameAvailabilities == null) {
Expand All @@ -278,47 +388,46 @@ public CheckNameAvailabilities checkNameAvailabilities() {
return checkNameAvailabilities;
}

/** @return Resource collection API of LocationBasedCapabilities. */
public LocationBasedCapabilities locationBasedCapabilities() {
if (this.locationBasedCapabilities == null) {
this.locationBasedCapabilities =
new LocationBasedCapabilitiesImpl(clientObject.getLocationBasedCapabilities(), this);
/** @return Resource collection API of Operations. */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return locationBasedCapabilities;
return operations;
}

/** @return Resource collection API of VirtualNetworkSubnetUsages. */
public VirtualNetworkSubnetUsages virtualNetworkSubnetUsages() {
if (this.virtualNetworkSubnetUsages == null) {
this.virtualNetworkSubnetUsages =
new VirtualNetworkSubnetUsagesImpl(clientObject.getVirtualNetworkSubnetUsages(), this);
/** @return Resource collection API of ServerSecurityAlertPolicies. */
public ServerSecurityAlertPolicies serverSecurityAlertPolicies() {
if (this.serverSecurityAlertPolicies == null) {
this.serverSecurityAlertPolicies =
new ServerSecurityAlertPoliciesImpl(clientObject.getServerSecurityAlertPolicies(), this);
}
return virtualNetworkSubnetUsages;
return serverSecurityAlertPolicies;
}

/** @return Resource collection API of Operations. */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
/** @return Resource collection API of PrivateEndpointConnections. */
public PrivateEndpointConnections privateEndpointConnections() {
if (this.privateEndpointConnections == null) {
this.privateEndpointConnections =
new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
}
return operations;
return privateEndpointConnections;
}

/** @return Resource collection API of Databases. */
public Databases databases() {
if (this.databases == null) {
this.databases = new DatabasesImpl(clientObject.getDatabases(), this);
/** @return Resource collection API of PrivateLinkResources. */
public PrivateLinkResources privateLinkResources() {
if (this.privateLinkResources == null) {
this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
}
return databases;
return privateLinkResources;
}

/** @return Resource collection API of GetPrivateDnsZoneSuffixes. */
public GetPrivateDnsZoneSuffixes getPrivateDnsZoneSuffixes() {
if (this.getPrivateDnsZoneSuffixes == null) {
this.getPrivateDnsZoneSuffixes =
new GetPrivateDnsZoneSuffixesImpl(clientObject.getGetPrivateDnsZoneSuffixes(), this);
/** @return Resource collection API of ServerKeys. */
public ServerKeys serverKeys() {
if (this.serverKeys == null) {
this.serverKeys = new ServerKeysImpl(clientObject.getServerKeys(), this);
}
return getPrivateDnsZoneSuffixes;
return serverKeys;
}

/**
Expand Down
Loading

0 comments on commit 2e14043

Please sign in to comment.