diff --git a/postgresql/resource-manager/v2017_12_01/pom.xml b/postgresql/resource-manager/v2017_12_01/pom.xml
index 421e267f0633..670711a713b3 100644
--- a/postgresql/resource-manager/v2017_12_01/pom.xml
+++ b/postgresql/resource-manager/v2017_12_01/pom.xml
@@ -1,133 +1,133 @@
-
-
- 4.0.0
- com.microsoft.azure.postgresql.v2017_12_01
-
- com.microsoft.azure
- azure-arm-parent
- 0.0.2-beta
- ../../../pom.xml
-
- azure-mgmt-postgresql
- 1.0.0-beta-2
- jar
- Microsoft Azure SDK for DBforPostgreSQL Management
- This package contains Microsoft DBforPostgreSQL Management SDK.
- https://github.com/Azure/azure-libraries-for-java
-
-
- The MIT License (MIT)
- http://opensource.org/licenses/MIT
- repo
-
-
-
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
- HEAD
-
-
- UTF-8
-
-
-
-
- microsoft
- Microsoft
-
-
-
-
- com.microsoft.azure
- azure-client-runtime
-
-
- com.microsoft.azure
- azure-arm-client-runtime
-
-
- junit
- junit
- test
-
-
- com.microsoft.azure
- azure-client-authentication
- test
-
-
- com.microsoft.azure
- azure-mgmt-resources
- test
-
-
- com.microsoft.azure
- azure-arm-client-runtime
- test-jar
- test
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- true
- true
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.1
-
- 1.7
- 1.7
-
-
- com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
-
-
- true
- true
-
- true
- true
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 2.8
-
- *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
-
-
- /**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
- ]]>
-
-
-
-
-
-
+
+
+ 4.0.0
+ com.microsoft.azure.postgresql.v2017_12_01
+
+ com.microsoft.azure
+ azure-arm-parent
+ 0.0.2-beta
+ ../../../pom.xml
+
+ azure-mgmt-dbforpostgresql
+ 1.0.0-beta
+ jar
+ Microsoft Azure SDK for DBforPostgreSQL Management
+ This package contains Microsoft DBforPostgreSQL Management SDK.
+ https://github.com/Azure/azure-libraries-for-java
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+ scm:git:https://github.com/Azure/azure-libraries-for-java
+ scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ HEAD
+
+
+ UTF-8
+
+
+
+
+ microsoft
+ Microsoft
+
+
+
+
+ com.microsoft.azure
+ azure-client-runtime
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+
+
+ junit
+ junit
+ test
+
+
+ com.microsoft.azure
+ azure-client-authentication
+ test
+
+
+ com.microsoft.azure
+ azure-mgmt-resources
+ test
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+ test-jar
+ test
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+
+ true
+ true
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.1
+
+ 1.7
+ 1.7
+
+
+ com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
+
+
+ true
+ true
+
+ true
+ true
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8
+
+ *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
+
+
+ /**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+ ]]>
+
+
+
+
+
+
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Configuration.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Configuration.java
index f7b401c4c7ed..618dfa58445a 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Configuration.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Configuration.java
@@ -16,12 +16,12 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
/**
* Type representing Configuration.
*/
-public interface Configuration extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface Configuration extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the allowedValues value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Database.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Database.java
index 38243afa003d..67745eda5b0b 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Database.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Database.java
@@ -16,12 +16,12 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
/**
* Type representing Database.
*/
-public interface Database extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface Database extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the charset value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/FirewallRule.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/FirewallRule.java
index 00bbd8e5345e..fe8304b5fb57 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/FirewallRule.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/FirewallRule.java
@@ -16,12 +16,12 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
/**
* Type representing FirewallRule.
*/
-public interface FirewallRule extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface FirewallRule extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the endIpAddress value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/LogFile.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/LogFile.java
index a4c07d1bc807..f84c9d2b40ba 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/LogFile.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/LogFile.java
@@ -11,13 +11,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.LogFileInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
import org.joda.time.DateTime;
/**
* Type representing LogFile.
*/
-public interface LogFile extends HasInner, HasManager {
+public interface LogFile extends HasInner, HasManager {
/**
* @return the createdTime value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailability.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailability.java
index 797ec2d3ec18..e01bc613cc85 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailability.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailability.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.NameAvailabilityInner;
/**
* Type representing NameAvailability.
*/
-public interface NameAvailability extends HasInner, HasManager {
+public interface NameAvailability extends HasInner, HasManager {
/**
* @return the message value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailabilityRequest.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailabilityRequest.java
index 35a70cd19df8..ff4c28ec9c73 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailabilityRequest.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/NameAvailabilityRequest.java
@@ -27,7 +27,7 @@ public class NameAvailabilityRequest {
private String type;
/**
- * Get the name value.
+ * Get resource name to verify.
*
* @return the name value
*/
@@ -36,7 +36,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set resource name to verify.
*
* @param name the name value to set
* @return the NameAvailabilityRequest object itself.
@@ -47,7 +47,7 @@ public NameAvailabilityRequest withName(String name) {
}
/**
- * Get the type value.
+ * Get resource type used for verification.
*
* @return the type value
*/
@@ -56,7 +56,7 @@ public String type() {
}
/**
- * Set the type value.
+ * Set resource type used for verification.
*
* @param type the type value to set
* @return the NameAvailabilityRequest object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationDisplay.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationDisplay.java
index b21e3178fe2b..a53ae09c3010 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationDisplay.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationDisplay.java
@@ -39,7 +39,7 @@ public class OperationDisplay {
private String description;
/**
- * Get the provider value.
+ * Get operation resource provider name.
*
* @return the provider value
*/
@@ -48,7 +48,7 @@ public String provider() {
}
/**
- * Get the resource value.
+ * Get resource on which the operation is performed.
*
* @return the resource value
*/
@@ -57,7 +57,7 @@ public String resource() {
}
/**
- * Get the operation value.
+ * Get localized friendly name for the operation.
*
* @return the operation value
*/
@@ -66,7 +66,7 @@ public String operation() {
}
/**
- * Get the description value.
+ * Get operation description.
*
* @return the description value
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationListResult.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationListResult.java
index e43de78f4a82..2c5c4a198fcc 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationListResult.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/OperationListResult.java
@@ -10,7 +10,7 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.OperationListResultInner;
import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.OperationInner;
import java.util.List;
@@ -18,7 +18,7 @@
/**
* Type representing OperationListResult.
*/
-public interface OperationListResult extends HasInner, HasManager {
+public interface OperationListResult extends HasInner, HasManager {
/**
* @return the value value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierProperties.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierProperties.java
index 0ca553cacd74..7401e1757615 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierProperties.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierProperties.java
@@ -11,13 +11,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PerformanceTierPropertiesInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
import java.util.List;
/**
* Type representing PerformanceTierProperties.
*/
-public interface PerformanceTierProperties extends HasInner, HasManager {
+public interface PerformanceTierProperties extends HasInner, HasManager {
/**
* @return the id value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierServiceLevelObjectives.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierServiceLevelObjectives.java
index 5f0ddf26f820..bfcd9a495bc3 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierServiceLevelObjectives.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/PerformanceTierServiceLevelObjectives.java
@@ -63,7 +63,7 @@ public class PerformanceTierServiceLevelObjectives {
private Integer minStorageMB;
/**
- * Get the id value.
+ * Get iD for the service level objective.
*
* @return the id value
*/
@@ -72,7 +72,7 @@ public String id() {
}
/**
- * Set the id value.
+ * Set iD for the service level objective.
*
* @param id the id value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -83,7 +83,7 @@ public PerformanceTierServiceLevelObjectives withId(String id) {
}
/**
- * Get the edition value.
+ * Get edition of the performance tier.
*
* @return the edition value
*/
@@ -92,7 +92,7 @@ public String edition() {
}
/**
- * Set the edition value.
+ * Set edition of the performance tier.
*
* @param edition the edition value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -103,7 +103,7 @@ public PerformanceTierServiceLevelObjectives withEdition(String edition) {
}
/**
- * Get the vCore value.
+ * Get vCore associated with the service level objective.
*
* @return the vCore value
*/
@@ -112,7 +112,7 @@ public Integer vCore() {
}
/**
- * Set the vCore value.
+ * Set vCore associated with the service level objective.
*
* @param vCore the vCore value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -123,7 +123,7 @@ public PerformanceTierServiceLevelObjectives withVCore(Integer vCore) {
}
/**
- * Get the hardwareGeneration value.
+ * Get hardware generation associated with the service level objective.
*
* @return the hardwareGeneration value
*/
@@ -132,7 +132,7 @@ public String hardwareGeneration() {
}
/**
- * Set the hardwareGeneration value.
+ * Set hardware generation associated with the service level objective.
*
* @param hardwareGeneration the hardwareGeneration value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -143,7 +143,7 @@ public PerformanceTierServiceLevelObjectives withHardwareGeneration(String hardw
}
/**
- * Get the maxBackupRetentionDays value.
+ * Get maximum Backup retention in days for the performance tier edition.
*
* @return the maxBackupRetentionDays value
*/
@@ -152,7 +152,7 @@ public Integer maxBackupRetentionDays() {
}
/**
- * Set the maxBackupRetentionDays value.
+ * Set maximum Backup retention in days for the performance tier edition.
*
* @param maxBackupRetentionDays the maxBackupRetentionDays value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -163,7 +163,7 @@ public PerformanceTierServiceLevelObjectives withMaxBackupRetentionDays(Integer
}
/**
- * Get the minBackupRetentionDays value.
+ * Get minimum Backup retention in days for the performance tier edition.
*
* @return the minBackupRetentionDays value
*/
@@ -172,7 +172,7 @@ public Integer minBackupRetentionDays() {
}
/**
- * Set the minBackupRetentionDays value.
+ * Set minimum Backup retention in days for the performance tier edition.
*
* @param minBackupRetentionDays the minBackupRetentionDays value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -183,7 +183,7 @@ public PerformanceTierServiceLevelObjectives withMinBackupRetentionDays(Integer
}
/**
- * Get the maxStorageMB value.
+ * Get max storage allowed for a server.
*
* @return the maxStorageMB value
*/
@@ -192,7 +192,7 @@ public Integer maxStorageMB() {
}
/**
- * Set the maxStorageMB value.
+ * Set max storage allowed for a server.
*
* @param maxStorageMB the maxStorageMB value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
@@ -203,7 +203,7 @@ public PerformanceTierServiceLevelObjectives withMaxStorageMB(Integer maxStorage
}
/**
- * Get the minStorageMB value.
+ * Get max storage allowed for a server.
*
* @return the minStorageMB value
*/
@@ -212,7 +212,7 @@ public Integer minStorageMB() {
}
/**
- * Set the minStorageMB value.
+ * Set max storage allowed for a server.
*
* @param minStorageMB the minStorageMB value to set
* @return the PerformanceTierServiceLevelObjectives object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Server.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Server.java
index 93329a982810..0330a40a25ff 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Server.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Server.java
@@ -10,21 +10,21 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.Resource;
+import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
import com.microsoft.azure.arm.resources.models.HasResourceGroup;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.model.Updatable;
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
-import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
import org.joda.time.DateTime;
import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.ServerInner;
/**
* Type representing Server.
*/
-public interface Server extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager {
+public interface Server extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager {
/**
* @return the administratorLogin value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerForCreate.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerForCreate.java
index e155dd3c6a10..daf83935cf55 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerForCreate.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerForCreate.java
@@ -40,7 +40,7 @@ public class ServerForCreate {
private Map tags;
/**
- * Get the sku value.
+ * Get the SKU (pricing tier) of the server.
*
* @return the sku value
*/
@@ -49,7 +49,7 @@ public Sku sku() {
}
/**
- * Set the sku value.
+ * Set the SKU (pricing tier) of the server.
*
* @param sku the sku value to set
* @return the ServerForCreate object itself.
@@ -60,7 +60,7 @@ public ServerForCreate withSku(Sku sku) {
}
/**
- * Get the properties value.
+ * Get properties of the server.
*
* @return the properties value
*/
@@ -69,7 +69,7 @@ public ServerPropertiesForCreate properties() {
}
/**
- * Set the properties value.
+ * Set properties of the server.
*
* @param properties the properties value to set
* @return the ServerForCreate object itself.
@@ -80,7 +80,7 @@ public ServerForCreate withProperties(ServerPropertiesForCreate properties) {
}
/**
- * Get the location value.
+ * Get the location the resource resides in.
*
* @return the location value
*/
@@ -89,7 +89,7 @@ public String location() {
}
/**
- * Set the location value.
+ * Set the location the resource resides in.
*
* @param location the location value to set
* @return the ServerForCreate object itself.
@@ -100,7 +100,7 @@ public ServerForCreate withLocation(String location) {
}
/**
- * Get the tags value.
+ * Get application-specific metadata in the form of key-value pairs.
*
* @return the tags value
*/
@@ -109,7 +109,7 @@ public Map tags() {
}
/**
- * Set the tags value.
+ * Set application-specific metadata in the form of key-value pairs.
*
* @param tags the tags value to set
* @return the ServerForCreate object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForCreate.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForCreate.java
index c1572933bfc9..ccc9dd32731d 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForCreate.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForCreate.java
@@ -25,7 +25,8 @@
})
public class ServerPropertiesForCreate {
/**
- * Server version. Possible values include: '9.5', '9.6'.
+ * Server version. Possible values include: '9.5', '9.6', '10', '10.0',
+ * '10.2'.
*/
@JsonProperty(value = "version")
private ServerVersion version;
@@ -44,7 +45,7 @@ public class ServerPropertiesForCreate {
private StorageProfile storageProfile;
/**
- * Get the version value.
+ * Get server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'.
*
* @return the version value
*/
@@ -53,7 +54,7 @@ public ServerVersion version() {
}
/**
- * Set the version value.
+ * Set server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'.
*
* @param version the version value to set
* @return the ServerPropertiesForCreate object itself.
@@ -64,7 +65,7 @@ public ServerPropertiesForCreate withVersion(ServerVersion version) {
}
/**
- * Get the sslEnforcement value.
+ * Get enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'.
*
* @return the sslEnforcement value
*/
@@ -73,7 +74,7 @@ public SslEnforcementEnum sslEnforcement() {
}
/**
- * Set the sslEnforcement value.
+ * Set enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'.
*
* @param sslEnforcement the sslEnforcement value to set
* @return the ServerPropertiesForCreate object itself.
@@ -84,7 +85,7 @@ public ServerPropertiesForCreate withSslEnforcement(SslEnforcementEnum sslEnforc
}
/**
- * Get the storageProfile value.
+ * Get storage profile of a server.
*
* @return the storageProfile value
*/
@@ -93,7 +94,7 @@ public StorageProfile storageProfile() {
}
/**
- * Set the storageProfile value.
+ * Set storage profile of a server.
*
* @param storageProfile the storageProfile value to set
* @return the ServerPropertiesForCreate object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForDefaultCreate.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForDefaultCreate.java
index 3658020a2b5b..5b2697dea953 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForDefaultCreate.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForDefaultCreate.java
@@ -32,7 +32,7 @@ public class ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate
private String administratorLoginPassword;
/**
- * Get the administratorLogin value.
+ * Get the administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
*
* @return the administratorLogin value
*/
@@ -41,7 +41,7 @@ public String administratorLogin() {
}
/**
- * Set the administratorLogin value.
+ * Set the administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
*
* @param administratorLogin the administratorLogin value to set
* @return the ServerPropertiesForDefaultCreate object itself.
@@ -52,7 +52,7 @@ public ServerPropertiesForDefaultCreate withAdministratorLogin(String administra
}
/**
- * Get the administratorLoginPassword value.
+ * Get the password of the administrator login.
*
* @return the administratorLoginPassword value
*/
@@ -61,7 +61,7 @@ public String administratorLoginPassword() {
}
/**
- * Set the administratorLoginPassword value.
+ * Set the password of the administrator login.
*
* @param administratorLoginPassword the administratorLoginPassword value to set
* @return the ServerPropertiesForDefaultCreate object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForGeoRestore.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForGeoRestore.java
index 7001463375d6..20a3aa3f2c6d 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForGeoRestore.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForGeoRestore.java
@@ -26,7 +26,7 @@ public class ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
private String sourceServerId;
/**
- * Get the sourceServerId value.
+ * Get the source server id to restore from.
*
* @return the sourceServerId value
*/
@@ -35,7 +35,7 @@ public String sourceServerId() {
}
/**
- * Set the sourceServerId value.
+ * Set the source server id to restore from.
*
* @param sourceServerId the sourceServerId value to set
* @return the ServerPropertiesForGeoRestore object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForRestore.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForRestore.java
index bfc9c6d4f8f8..c41f547a8675 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForRestore.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerPropertiesForRestore.java
@@ -33,7 +33,7 @@ public class ServerPropertiesForRestore extends ServerPropertiesForCreate {
private DateTime restorePointInTime;
/**
- * Get the sourceServerId value.
+ * Get the source server id to restore from.
*
* @return the sourceServerId value
*/
@@ -42,7 +42,7 @@ public String sourceServerId() {
}
/**
- * Set the sourceServerId value.
+ * Set the source server id to restore from.
*
* @param sourceServerId the sourceServerId value to set
* @return the ServerPropertiesForRestore object itself.
@@ -53,7 +53,7 @@ public ServerPropertiesForRestore withSourceServerId(String sourceServerId) {
}
/**
- * Get the restorePointInTime value.
+ * Get restore point creation time (ISO8601 format), specifying the time to restore from.
*
* @return the restorePointInTime value
*/
@@ -62,7 +62,7 @@ public DateTime restorePointInTime() {
}
/**
- * Set the restorePointInTime value.
+ * Set restore point creation time (ISO8601 format), specifying the time to restore from.
*
* @param restorePointInTime the restorePointInTime value to set
* @return the ServerPropertiesForRestore object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerSecurityAlertPolicy.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerSecurityAlertPolicy.java
index 327bdc138ee4..154e0ac1c4ac 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerSecurityAlertPolicy.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerSecurityAlertPolicy.java
@@ -16,13 +16,13 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
import java.util.List;
/**
* Type representing ServerSecurityAlertPolicy.
*/
-public interface ServerSecurityAlertPolicy extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface ServerSecurityAlertPolicy extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the disabledAlerts value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerUpdateParameters.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerUpdateParameters.java
index 6c0a73f5c448..250a416de568 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerUpdateParameters.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerUpdateParameters.java
@@ -36,7 +36,8 @@ public class ServerUpdateParameters {
private String administratorLoginPassword;
/**
- * The version of a server. Possible values include: '9.5', '9.6'.
+ * The version of a server. Possible values include: '9.5', '9.6', '10',
+ * '10.0', '10.2'.
*/
@JsonProperty(value = "properties.version")
private ServerVersion version;
@@ -55,7 +56,7 @@ public class ServerUpdateParameters {
private Map tags;
/**
- * Get the sku value.
+ * Get the SKU (pricing tier) of the server.
*
* @return the sku value
*/
@@ -64,7 +65,7 @@ public Sku sku() {
}
/**
- * Set the sku value.
+ * Set the SKU (pricing tier) of the server.
*
* @param sku the sku value to set
* @return the ServerUpdateParameters object itself.
@@ -75,7 +76,7 @@ public ServerUpdateParameters withSku(Sku sku) {
}
/**
- * Get the storageProfile value.
+ * Get storage profile of a server.
*
* @return the storageProfile value
*/
@@ -84,7 +85,7 @@ public StorageProfile storageProfile() {
}
/**
- * Set the storageProfile value.
+ * Set storage profile of a server.
*
* @param storageProfile the storageProfile value to set
* @return the ServerUpdateParameters object itself.
@@ -95,7 +96,7 @@ public ServerUpdateParameters withStorageProfile(StorageProfile storageProfile)
}
/**
- * Get the administratorLoginPassword value.
+ * Get the password of the administrator login.
*
* @return the administratorLoginPassword value
*/
@@ -104,7 +105,7 @@ public String administratorLoginPassword() {
}
/**
- * Set the administratorLoginPassword value.
+ * Set the password of the administrator login.
*
* @param administratorLoginPassword the administratorLoginPassword value to set
* @return the ServerUpdateParameters object itself.
@@ -115,7 +116,7 @@ public ServerUpdateParameters withAdministratorLoginPassword(String administrato
}
/**
- * Get the version value.
+ * Get the version of a server. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'.
*
* @return the version value
*/
@@ -124,7 +125,7 @@ public ServerVersion version() {
}
/**
- * Set the version value.
+ * Set the version of a server. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'.
*
* @param version the version value to set
* @return the ServerUpdateParameters object itself.
@@ -135,7 +136,7 @@ public ServerUpdateParameters withVersion(ServerVersion version) {
}
/**
- * Get the sslEnforcement value.
+ * Get enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'.
*
* @return the sslEnforcement value
*/
@@ -144,7 +145,7 @@ public SslEnforcementEnum sslEnforcement() {
}
/**
- * Set the sslEnforcement value.
+ * Set enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'.
*
* @param sslEnforcement the sslEnforcement value to set
* @return the ServerUpdateParameters object itself.
@@ -155,7 +156,7 @@ public ServerUpdateParameters withSslEnforcement(SslEnforcementEnum sslEnforceme
}
/**
- * Get the tags value.
+ * Get application-specific metadata in the form of key-value pairs.
*
* @return the tags value
*/
@@ -164,7 +165,7 @@ public Map tags() {
}
/**
- * Set the tags value.
+ * Set application-specific metadata in the form of key-value pairs.
*
* @param tags the tags value to set
* @return the ServerUpdateParameters object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerVersion.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerVersion.java
index 0316b42d7212..bb70540e4cc0 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerVersion.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ServerVersion.java
@@ -22,6 +22,15 @@ public final class ServerVersion extends ExpandableStringEnum {
/** Static value 9.6 for ServerVersion. */
public static final ServerVersion NINE_FULL_STOP_SIX = fromString("9.6");
+ /** Static value 10 for ServerVersion. */
+ public static final ServerVersion ONE_ZERO = fromString("10");
+
+ /** Static value 10.0 for ServerVersion. */
+ public static final ServerVersion ONE_ZERO_FULL_STOP_ZERO = fromString("10.0");
+
+ /** Static value 10.2 for ServerVersion. */
+ public static final ServerVersion ONE_ZERO_FULL_STOP_TWO = fromString("10.2");
+
/**
* Creates or finds a ServerVersion from its string representation.
* @param name a name to look for
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Sku.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Sku.java
index 79da966e133b..51198a9c0540 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Sku.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/Sku.java
@@ -47,7 +47,7 @@ public class Sku {
private String family;
/**
- * Get the name value.
+ * Get the name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
*
* @return the name value
*/
@@ -56,7 +56,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
*
* @param name the name value to set
* @return the Sku object itself.
@@ -67,7 +67,7 @@ public Sku withName(String name) {
}
/**
- * Get the tier value.
+ * Get the tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'.
*
* @return the tier value
*/
@@ -76,7 +76,7 @@ public SkuTier tier() {
}
/**
- * Set the tier value.
+ * Set the tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'.
*
* @param tier the tier value to set
* @return the Sku object itself.
@@ -87,7 +87,7 @@ public Sku withTier(SkuTier tier) {
}
/**
- * Get the capacity value.
+ * Get the scale up/out capacity, representing server's compute units.
*
* @return the capacity value
*/
@@ -96,7 +96,7 @@ public Integer capacity() {
}
/**
- * Set the capacity value.
+ * Set the scale up/out capacity, representing server's compute units.
*
* @param capacity the capacity value to set
* @return the Sku object itself.
@@ -107,7 +107,7 @@ public Sku withCapacity(Integer capacity) {
}
/**
- * Get the size value.
+ * Get the size code, to be interpreted by resource as appropriate.
*
* @return the size value
*/
@@ -116,7 +116,7 @@ public String size() {
}
/**
- * Set the size value.
+ * Set the size code, to be interpreted by resource as appropriate.
*
* @param size the size value to set
* @return the Sku object itself.
@@ -127,7 +127,7 @@ public Sku withSize(String size) {
}
/**
- * Get the family value.
+ * Get the family of hardware.
*
* @return the family value
*/
@@ -136,7 +136,7 @@ public String family() {
}
/**
- * Set the family value.
+ * Set the family of hardware.
*
* @param family the family value to set
* @return the Sku object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/StorageProfile.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/StorageProfile.java
index 9e91505992b4..42fd81cfa852 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/StorageProfile.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/StorageProfile.java
@@ -34,7 +34,7 @@ public class StorageProfile {
private Integer storageMB;
/**
- * Get the backupRetentionDays value.
+ * Get backup retention days for the server.
*
* @return the backupRetentionDays value
*/
@@ -43,7 +43,7 @@ public Integer backupRetentionDays() {
}
/**
- * Set the backupRetentionDays value.
+ * Set backup retention days for the server.
*
* @param backupRetentionDays the backupRetentionDays value to set
* @return the StorageProfile object itself.
@@ -54,7 +54,7 @@ public StorageProfile withBackupRetentionDays(Integer backupRetentionDays) {
}
/**
- * Get the geoRedundantBackup value.
+ * Get enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'.
*
* @return the geoRedundantBackup value
*/
@@ -63,7 +63,7 @@ public GeoRedundantBackup geoRedundantBackup() {
}
/**
- * Set the geoRedundantBackup value.
+ * Set enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'.
*
* @param geoRedundantBackup the geoRedundantBackup value to set
* @return the StorageProfile object itself.
@@ -74,7 +74,7 @@ public StorageProfile withGeoRedundantBackup(GeoRedundantBackup geoRedundantBack
}
/**
- * Get the storageMB value.
+ * Get max storage allowed for a server.
*
* @return the storageMB value
*/
@@ -83,7 +83,7 @@ public Integer storageMB() {
}
/**
- * Set the storageMB value.
+ * Set max storage allowed for a server.
*
* @param storageMB the storageMB value to set
* @return the StorageProfile object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/VirtualNetworkRule.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/VirtualNetworkRule.java
index 53379c4f3c18..0acd981f4157 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/VirtualNetworkRule.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/VirtualNetworkRule.java
@@ -16,12 +16,12 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.PostgreSQLManager;
+import com.microsoft.azure.management.postgresql.v2017_12_01.implementation.DBforPostgreSQLManager;
/**
* Type representing VirtualNetworkRule.
*/
-public interface VirtualNetworkRule extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface VirtualNetworkRule extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the id value.
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/CheckNameAvailabilitysImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/CheckNameAvailabilitysImpl.java
index c8350885862e..0b6241d5bde9 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/CheckNameAvailabilitysImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/CheckNameAvailabilitysImpl.java
@@ -17,14 +17,14 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.NameAvailabilityRequest;
class CheckNameAvailabilitysImpl extends WrapperImpl implements CheckNameAvailabilitys {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- CheckNameAvailabilitysImpl(PostgreSQLManager manager) {
+ CheckNameAvailabilitysImpl(DBforPostgreSQLManager manager) {
super(manager.inner().checkNameAvailabilitys());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ConfigurationImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ConfigurationImpl.java
index 6034e24c80a8..cf75b2bf70e0 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ConfigurationImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ConfigurationImpl.java
@@ -13,12 +13,12 @@
import rx.Observable;
class ConfigurationImpl extends CreatableUpdatableImpl implements Configuration, Configuration.Definition, Configuration.Update {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
private String resourceGroupName;
private String serverName;
private String configurationName;
- ConfigurationImpl(String name, PostgreSQLManager manager) {
+ ConfigurationImpl(String name, DBforPostgreSQLManager manager) {
super(name, new ConfigurationInner());
this.manager = manager;
// Set resource name
@@ -26,7 +26,7 @@ class ConfigurationImpl extends CreatableUpdatableImpl implements Configurations {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- ConfigurationsImpl(PostgreSQLManager manager) {
+ ConfigurationsImpl(DBforPostgreSQLManager manager) {
super(manager.inner().configurations());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DBforPostgreSQLManager.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DBforPostgreSQLManager.java
new file mode 100644
index 000000000000..25f0a6cc71a1
--- /dev/null
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DBforPostgreSQLManager.java
@@ -0,0 +1,207 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.postgresql.v2017_12_01.implementation;
+
+import com.microsoft.azure.AzureEnvironment;
+import com.microsoft.azure.AzureResponseBuilder;
+import com.microsoft.azure.credentials.AzureTokenCredentials;
+import com.microsoft.azure.management.apigeneration.Beta;
+import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
+import com.microsoft.azure.arm.resources.AzureConfigurable;
+import com.microsoft.azure.serializer.AzureJacksonAdapter;
+import com.microsoft.rest.RestClient;
+import com.microsoft.azure.management.postgresql.v2017_12_01.Servers;
+import com.microsoft.azure.management.postgresql.v2017_12_01.FirewallRules;
+import com.microsoft.azure.management.postgresql.v2017_12_01.VirtualNetworkRules;
+import com.microsoft.azure.management.postgresql.v2017_12_01.Databases;
+import com.microsoft.azure.management.postgresql.v2017_12_01.Configurations;
+import com.microsoft.azure.management.postgresql.v2017_12_01.LogFiles;
+import com.microsoft.azure.management.postgresql.v2017_12_01.LocationBasedPerformanceTiers;
+import com.microsoft.azure.management.postgresql.v2017_12_01.CheckNameAvailabilitys;
+import com.microsoft.azure.management.postgresql.v2017_12_01.ServerSecurityAlertPolicies;
+import com.microsoft.azure.management.postgresql.v2017_12_01.Operations;
+import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl;
+import com.microsoft.azure.arm.resources.implementation.ManagerCore;
+
+/**
+ * Entry point to Azure DBforPostgreSQL resource management.
+ */
+public final class DBforPostgreSQLManager extends ManagerCore {
+ private Servers servers;
+ private FirewallRules firewallRules;
+ private VirtualNetworkRules virtualNetworkRules;
+ private Databases databases;
+ private Configurations configurations;
+ private LogFiles logFiles;
+ private LocationBasedPerformanceTiers locationBasedPerformanceTiers;
+ private CheckNameAvailabilitys checkNameAvailabilitys;
+ private ServerSecurityAlertPolicies serverSecurityAlertPolicies;
+ private Operations operations;
+ /**
+ * Get a Configurable instance that can be used to create DBforPostgreSQLManager with optional configuration.
+ *
+ * @return the instance allowing configurations
+ */
+ public static Configurable configure() {
+ return new DBforPostgreSQLManager.ConfigurableImpl();
+ }
+ /**
+ * Creates an instance of DBforPostgreSQLManager that exposes DBforPostgreSQL resource management API entry points.
+ *
+ * @param credentials the credentials to use
+ * @param subscriptionId the subscription UUID
+ * @return the DBforPostgreSQLManager
+ */
+ public static DBforPostgreSQLManager authenticate(AzureTokenCredentials credentials, String subscriptionId) {
+ return new DBforPostgreSQLManager(new RestClient.Builder()
+ .withBaseUrl(credentials.environment(), AzureEnvironment.Endpoint.RESOURCE_MANAGER)
+ .withCredentials(credentials)
+ .withSerializerAdapter(new AzureJacksonAdapter())
+ .withResponseBuilderFactory(new AzureResponseBuilder.Factory())
+ .build(), subscriptionId);
+ }
+ /**
+ * Creates an instance of DBforPostgreSQLManager that exposes DBforPostgreSQL resource management API entry points.
+ *
+ * @param restClient the RestClient to be used for API calls.
+ * @param subscriptionId the subscription UUID
+ * @return the DBforPostgreSQLManager
+ */
+ public static DBforPostgreSQLManager authenticate(RestClient restClient, String subscriptionId) {
+ return new DBforPostgreSQLManager(restClient, subscriptionId);
+ }
+ /**
+ * The interface allowing configurations to be set.
+ */
+ public interface Configurable extends AzureConfigurable {
+ /**
+ * Creates an instance of DBforPostgreSQLManager that exposes DBforPostgreSQL management API entry points.
+ *
+ * @param credentials the credentials to use
+ * @param subscriptionId the subscription UUID
+ * @return the interface exposing DBforPostgreSQL management API entry points that work across subscriptions
+ */
+ DBforPostgreSQLManager authenticate(AzureTokenCredentials credentials, String subscriptionId);
+ }
+
+ /**
+ * @return Entry point to manage Servers.
+ */
+ public Servers servers() {
+ if (this.servers == null) {
+ this.servers = new ServersImpl(this);
+ }
+ return this.servers;
+ }
+
+ /**
+ * @return Entry point to manage FirewallRules.
+ */
+ public FirewallRules firewallRules() {
+ if (this.firewallRules == null) {
+ this.firewallRules = new FirewallRulesImpl(this);
+ }
+ return this.firewallRules;
+ }
+
+ /**
+ * @return Entry point to manage VirtualNetworkRules.
+ */
+ public VirtualNetworkRules virtualNetworkRules() {
+ if (this.virtualNetworkRules == null) {
+ this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);
+ }
+ return this.virtualNetworkRules;
+ }
+
+ /**
+ * @return Entry point to manage Databases.
+ */
+ public Databases databases() {
+ if (this.databases == null) {
+ this.databases = new DatabasesImpl(this);
+ }
+ return this.databases;
+ }
+
+ /**
+ * @return Entry point to manage Configurations.
+ */
+ public Configurations configurations() {
+ if (this.configurations == null) {
+ this.configurations = new ConfigurationsImpl(this);
+ }
+ return this.configurations;
+ }
+
+ /**
+ * @return Entry point to manage LogFiles.
+ */
+ public LogFiles logFiles() {
+ if (this.logFiles == null) {
+ this.logFiles = new LogFilesImpl(this);
+ }
+ return this.logFiles;
+ }
+
+ /**
+ * @return Entry point to manage LocationBasedPerformanceTiers.
+ */
+ public LocationBasedPerformanceTiers locationBasedPerformanceTiers() {
+ if (this.locationBasedPerformanceTiers == null) {
+ this.locationBasedPerformanceTiers = new LocationBasedPerformanceTiersImpl(this);
+ }
+ return this.locationBasedPerformanceTiers;
+ }
+
+ /**
+ * @return Entry point to manage CheckNameAvailabilitys.
+ */
+ public CheckNameAvailabilitys checkNameAvailabilitys() {
+ if (this.checkNameAvailabilitys == null) {
+ this.checkNameAvailabilitys = new CheckNameAvailabilitysImpl(this);
+ }
+ return this.checkNameAvailabilitys;
+ }
+
+ /**
+ * @return Entry point to manage ServerSecurityAlertPolicies.
+ */
+ public ServerSecurityAlertPolicies serverSecurityAlertPolicies() {
+ if (this.serverSecurityAlertPolicies == null) {
+ this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(this);
+ }
+ return this.serverSecurityAlertPolicies;
+ }
+
+ /**
+ * @return Entry point to manage Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(this);
+ }
+ return this.operations;
+ }
+
+ /**
+ * The implementation for Configurable interface.
+ */
+ private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable {
+ public DBforPostgreSQLManager authenticate(AzureTokenCredentials credentials, String subscriptionId) {
+ return DBforPostgreSQLManager.authenticate(buildRestClient(credentials), subscriptionId);
+ }
+ }
+ private DBforPostgreSQLManager(RestClient restClient, String subscriptionId) {
+ super(
+ restClient,
+ subscriptionId,
+ new PostgreSQLManagementClientImpl(restClient).withSubscriptionId(subscriptionId));
+ }
+}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DatabaseImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DatabaseImpl.java
index 1f3711349b72..057a933b512a 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DatabaseImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/DatabaseImpl.java
@@ -13,12 +13,12 @@
import rx.Observable;
class DatabaseImpl extends CreatableUpdatableImpl implements Database, Database.Definition, Database.Update {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
private String resourceGroupName;
private String serverName;
private String databaseName;
- DatabaseImpl(String name, PostgreSQLManager manager) {
+ DatabaseImpl(String name, DBforPostgreSQLManager manager) {
super(name, new DatabaseInner());
this.manager = manager;
// Set resource name
@@ -26,7 +26,7 @@ class DatabaseImpl extends CreatableUpdatableImpl implements Databases {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- DatabasesImpl(PostgreSQLManager manager) {
+ DatabasesImpl(DBforPostgreSQLManager manager) {
super(manager.inner().databases());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/FirewallRuleImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/FirewallRuleImpl.java
index 8479ac01ecee..008780acde50 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/FirewallRuleImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/FirewallRuleImpl.java
@@ -13,12 +13,12 @@
import rx.Observable;
class FirewallRuleImpl extends CreatableUpdatableImpl implements FirewallRule, FirewallRule.Definition, FirewallRule.Update {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
private String resourceGroupName;
private String serverName;
private String firewallRuleName;
- FirewallRuleImpl(String name, PostgreSQLManager manager) {
+ FirewallRuleImpl(String name, DBforPostgreSQLManager manager) {
super(name, new FirewallRuleInner());
this.manager = manager;
// Set resource name
@@ -26,7 +26,7 @@ class FirewallRuleImpl extends CreatableUpdatableImpl implements FirewallRules {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- FirewallRulesImpl(PostgreSQLManager manager) {
+ FirewallRulesImpl(DBforPostgreSQLManager manager) {
super(manager.inner().firewallRules());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LocationBasedPerformanceTiersImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LocationBasedPerformanceTiersImpl.java
index 740c4f297820..f48b7849ae25 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LocationBasedPerformanceTiersImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LocationBasedPerformanceTiersImpl.java
@@ -17,14 +17,14 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.PerformanceTierProperties;
class LocationBasedPerformanceTiersImpl extends WrapperImpl implements LocationBasedPerformanceTiers {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- LocationBasedPerformanceTiersImpl(PostgreSQLManager manager) {
+ LocationBasedPerformanceTiersImpl(DBforPostgreSQLManager manager) {
super(manager.inner().locationBasedPerformanceTiers());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileImpl.java
index aa3761713391..60299e57be75 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileImpl.java
@@ -14,15 +14,15 @@
import org.joda.time.DateTime;
class LogFileImpl extends WrapperImpl implements LogFile {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- LogFileImpl(LogFileInner inner, PostgreSQLManager manager) {
+ LogFileImpl(LogFileInner inner, DBforPostgreSQLManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileInner.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileInner.java
index d02246e57e63..c94a46edf960 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileInner.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFileInner.java
@@ -49,7 +49,7 @@ public class LogFileInner extends ProxyResource {
private String url;
/**
- * Get the sizeInKB value.
+ * Get size of the log file.
*
* @return the sizeInKB value
*/
@@ -58,7 +58,7 @@ public Long sizeInKB() {
}
/**
- * Set the sizeInKB value.
+ * Set size of the log file.
*
* @param sizeInKB the sizeInKB value to set
* @return the LogFileInner object itself.
@@ -69,7 +69,7 @@ public LogFileInner withSizeInKB(Long sizeInKB) {
}
/**
- * Get the createdTime value.
+ * Get creation timestamp of the log file.
*
* @return the createdTime value
*/
@@ -78,7 +78,7 @@ public DateTime createdTime() {
}
/**
- * Get the lastModifiedTime value.
+ * Get last modified timestamp of the log file.
*
* @return the lastModifiedTime value
*/
@@ -87,7 +87,7 @@ public DateTime lastModifiedTime() {
}
/**
- * Get the logFileType value.
+ * Get type of the log file.
*
* @return the logFileType value
*/
@@ -96,7 +96,7 @@ public String logFileType() {
}
/**
- * Set the logFileType value.
+ * Set type of the log file.
*
* @param logFileType the logFileType value to set
* @return the LogFileInner object itself.
@@ -107,7 +107,7 @@ public LogFileInner withLogFileType(String logFileType) {
}
/**
- * Get the url value.
+ * Get the url to download the log file from.
*
* @return the url value
*/
@@ -116,7 +116,7 @@ public String url() {
}
/**
- * Set the url value.
+ * Set the url to download the log file from.
*
* @param url the url value to set
* @return the LogFileInner object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFilesImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFilesImpl.java
index 01f79a20f69d..a1cd08897cee 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFilesImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/LogFilesImpl.java
@@ -17,14 +17,14 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.LogFile;
class LogFilesImpl extends WrapperImpl implements LogFiles {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- LogFilesImpl(PostgreSQLManager manager) {
+ LogFilesImpl(DBforPostgreSQLManager manager) {
super(manager.inner().logFiles());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityImpl.java
index 1d91316227c8..07b77b43a018 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityImpl.java
@@ -12,14 +12,14 @@
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
class NameAvailabilityImpl extends WrapperImpl implements NameAvailability {
- private final PostgreSQLManager manager;
- NameAvailabilityImpl(NameAvailabilityInner inner, PostgreSQLManager manager) {
+ private final DBforPostgreSQLManager manager;
+ NameAvailabilityImpl(NameAvailabilityInner inner, DBforPostgreSQLManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityInner.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityInner.java
index c77d3bf44f06..20d745f4e90b 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityInner.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/NameAvailabilityInner.java
@@ -33,7 +33,7 @@ public class NameAvailabilityInner {
private String reason;
/**
- * Get the message value.
+ * Get error Message.
*
* @return the message value
*/
@@ -42,7 +42,7 @@ public String message() {
}
/**
- * Set the message value.
+ * Set error Message.
*
* @param message the message value to set
* @return the NameAvailabilityInner object itself.
@@ -53,7 +53,7 @@ public NameAvailabilityInner withMessage(String message) {
}
/**
- * Get the nameAvailable value.
+ * Get indicates whether the resource name is available.
*
* @return the nameAvailable value
*/
@@ -62,7 +62,7 @@ public Boolean nameAvailable() {
}
/**
- * Set the nameAvailable value.
+ * Set indicates whether the resource name is available.
*
* @param nameAvailable the nameAvailable value to set
* @return the NameAvailabilityInner object itself.
@@ -73,7 +73,7 @@ public NameAvailabilityInner withNameAvailable(Boolean nameAvailable) {
}
/**
- * Get the reason value.
+ * Get reason for name being unavailable.
*
* @return the reason value
*/
@@ -82,7 +82,7 @@ public String reason() {
}
/**
- * Set the reason value.
+ * Set reason for name being unavailable.
*
* @param reason the reason value to set
* @return the NameAvailabilityInner object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationInner.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationInner.java
index 681d4a5f0ad0..a1e0ead288b6 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationInner.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationInner.java
@@ -44,7 +44,7 @@ public class OperationInner {
private Map properties;
/**
- * Get the name value.
+ * Get the name of the operation being performed on this particular object.
*
* @return the name value
*/
@@ -53,7 +53,7 @@ public String name() {
}
/**
- * Get the display value.
+ * Get the localized display information for this particular operation or action.
*
* @return the display value
*/
@@ -62,7 +62,7 @@ public OperationDisplay display() {
}
/**
- * Get the origin value.
+ * Get the intended executor of the operation. Possible values include: 'NotSpecified', 'user', 'system'.
*
* @return the origin value
*/
@@ -71,7 +71,7 @@ public OperationOrigin origin() {
}
/**
- * Get the properties value.
+ * Get additional descriptions for the operation.
*
* @return the properties value
*/
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultImpl.java
index 705229de03d4..43a96b5d8a59 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultImpl.java
@@ -13,14 +13,14 @@
import java.util.List;
class OperationListResultImpl extends WrapperImpl implements OperationListResult {
- private final PostgreSQLManager manager;
- OperationListResultImpl(OperationListResultInner inner, PostgreSQLManager manager) {
+ private final DBforPostgreSQLManager manager;
+ OperationListResultImpl(OperationListResultInner inner, DBforPostgreSQLManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultInner.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultInner.java
index 3b5975254dc7..2e5768be7e18 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultInner.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationListResultInner.java
@@ -22,7 +22,7 @@ public class OperationListResultInner {
private List value;
/**
- * Get the value value.
+ * Get the list of resource provider operations.
*
* @return the value value
*/
@@ -31,7 +31,7 @@ public List value() {
}
/**
- * Set the value value.
+ * Set the list of resource provider operations.
*
* @param value the value value to set
* @return the OperationListResultInner object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationsImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationsImpl.java
index ace4ab563aab..81cefe5f7540 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationsImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/OperationsImpl.java
@@ -16,14 +16,14 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.OperationListResult;
class OperationsImpl extends WrapperImpl implements Operations {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- OperationsImpl(PostgreSQLManager manager) {
+ OperationsImpl(DBforPostgreSQLManager manager) {
super(manager.inner().operations());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesImpl.java
index c5fabcd2e411..3978c2c8da7b 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesImpl.java
@@ -15,15 +15,15 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.PerformanceTierServiceLevelObjectives;
class PerformanceTierPropertiesImpl extends WrapperImpl implements PerformanceTierProperties {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- PerformanceTierPropertiesImpl(PerformanceTierPropertiesInner inner, PostgreSQLManager manager) {
+ PerformanceTierPropertiesImpl(PerformanceTierPropertiesInner inner, DBforPostgreSQLManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesInner.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesInner.java
index 7346b6e7ed5b..1272af94454b 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesInner.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/PerformanceTierPropertiesInner.java
@@ -29,7 +29,7 @@ public class PerformanceTierPropertiesInner {
private List serviceLevelObjectives;
/**
- * Get the id value.
+ * Get iD of the performance tier.
*
* @return the id value
*/
@@ -38,7 +38,7 @@ public String id() {
}
/**
- * Set the id value.
+ * Set iD of the performance tier.
*
* @param id the id value to set
* @return the PerformanceTierPropertiesInner object itself.
@@ -49,7 +49,7 @@ public PerformanceTierPropertiesInner withId(String id) {
}
/**
- * Get the serviceLevelObjectives value.
+ * Get service level objectives associated with the performance tier.
*
* @return the serviceLevelObjectives value
*/
@@ -58,7 +58,7 @@ public List serviceLevelObjectives() {
}
/**
- * Set the serviceLevelObjectives value.
+ * Set service level objectives associated with the performance tier.
*
* @param serviceLevelObjectives the serviceLevelObjectives value to set
* @return the PerformanceTierPropertiesInner object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerImpl.java
index da4aaf88afe8..76699aae031e 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerImpl.java
@@ -22,10 +22,10 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.ServerPropertiesForCreate;
import rx.functions.Func1;
-class ServerImpl extends GroupableResourceCoreImpl implements Server, Server.Definition, Server.Update {
+class ServerImpl extends GroupableResourceCoreImpl implements Server, Server.Definition, Server.Update {
private ServerForCreate createParameter;
private ServerUpdateParameters updateParameter;
- ServerImpl(String name, ServerInner inner, PostgreSQLManager manager) {
+ ServerImpl(String name, ServerInner inner, DBforPostgreSQLManager manager) {
super(name, inner, manager);
this.createParameter = new ServerForCreate();
this.updateParameter = new ServerUpdateParameters();
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerInner.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerInner.java
index 64dbc951a9e3..928149b070c0 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerInner.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerInner.java
@@ -37,7 +37,8 @@ public class ServerInner extends Resource {
private String administratorLogin;
/**
- * Server version. Possible values include: '9.5', '9.6'.
+ * Server version. Possible values include: '9.5', '9.6', '10', '10.0',
+ * '10.2'.
*/
@JsonProperty(value = "properties.version")
private ServerVersion version;
@@ -75,7 +76,7 @@ public class ServerInner extends Resource {
private StorageProfile storageProfile;
/**
- * Get the sku value.
+ * Get the SKU (pricing tier) of the server.
*
* @return the sku value
*/
@@ -84,7 +85,7 @@ public Sku sku() {
}
/**
- * Set the sku value.
+ * Set the SKU (pricing tier) of the server.
*
* @param sku the sku value to set
* @return the ServerInner object itself.
@@ -95,7 +96,7 @@ public ServerInner withSku(Sku sku) {
}
/**
- * Get the administratorLogin value.
+ * Get the administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
*
* @return the administratorLogin value
*/
@@ -104,7 +105,7 @@ public String administratorLogin() {
}
/**
- * Set the administratorLogin value.
+ * Set the administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
*
* @param administratorLogin the administratorLogin value to set
* @return the ServerInner object itself.
@@ -115,7 +116,7 @@ public ServerInner withAdministratorLogin(String administratorLogin) {
}
/**
- * Get the version value.
+ * Get server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'.
*
* @return the version value
*/
@@ -124,7 +125,7 @@ public ServerVersion version() {
}
/**
- * Set the version value.
+ * Set server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'.
*
* @param version the version value to set
* @return the ServerInner object itself.
@@ -135,7 +136,7 @@ public ServerInner withVersion(ServerVersion version) {
}
/**
- * Get the sslEnforcement value.
+ * Get enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'.
*
* @return the sslEnforcement value
*/
@@ -144,7 +145,7 @@ public SslEnforcementEnum sslEnforcement() {
}
/**
- * Set the sslEnforcement value.
+ * Set enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'.
*
* @param sslEnforcement the sslEnforcement value to set
* @return the ServerInner object itself.
@@ -155,7 +156,7 @@ public ServerInner withSslEnforcement(SslEnforcementEnum sslEnforcement) {
}
/**
- * Get the userVisibleState value.
+ * Get a state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled'.
*
* @return the userVisibleState value
*/
@@ -164,7 +165,7 @@ public ServerState userVisibleState() {
}
/**
- * Set the userVisibleState value.
+ * Set a state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled'.
*
* @param userVisibleState the userVisibleState value to set
* @return the ServerInner object itself.
@@ -175,7 +176,7 @@ public ServerInner withUserVisibleState(ServerState userVisibleState) {
}
/**
- * Get the fullyQualifiedDomainName value.
+ * Get the fully qualified domain name of a server.
*
* @return the fullyQualifiedDomainName value
*/
@@ -184,7 +185,7 @@ public String fullyQualifiedDomainName() {
}
/**
- * Set the fullyQualifiedDomainName value.
+ * Set the fully qualified domain name of a server.
*
* @param fullyQualifiedDomainName the fullyQualifiedDomainName value to set
* @return the ServerInner object itself.
@@ -195,7 +196,7 @@ public ServerInner withFullyQualifiedDomainName(String fullyQualifiedDomainName)
}
/**
- * Get the earliestRestoreDate value.
+ * Get earliest restore point creation time (ISO8601 format).
*
* @return the earliestRestoreDate value
*/
@@ -204,7 +205,7 @@ public DateTime earliestRestoreDate() {
}
/**
- * Set the earliestRestoreDate value.
+ * Set earliest restore point creation time (ISO8601 format).
*
* @param earliestRestoreDate the earliestRestoreDate value to set
* @return the ServerInner object itself.
@@ -215,7 +216,7 @@ public ServerInner withEarliestRestoreDate(DateTime earliestRestoreDate) {
}
/**
- * Get the storageProfile value.
+ * Get storage profile of a server.
*
* @return the storageProfile value
*/
@@ -224,7 +225,7 @@ public StorageProfile storageProfile() {
}
/**
- * Set the storageProfile value.
+ * Set storage profile of a server.
*
* @param storageProfile the storageProfile value to set
* @return the ServerInner object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPoliciesImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPoliciesImpl.java
index 27006681348f..5acdc30c915d 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPoliciesImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPoliciesImpl.java
@@ -16,14 +16,14 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.ServerSecurityAlertPolicy;
class ServerSecurityAlertPoliciesImpl extends WrapperImpl implements ServerSecurityAlertPolicies {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- ServerSecurityAlertPoliciesImpl(PostgreSQLManager manager) {
+ ServerSecurityAlertPoliciesImpl(DBforPostgreSQLManager manager) {
super(manager.inner().serverSecurityAlertPolicies());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPolicyImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPolicyImpl.java
index 3b1c422500c6..6b287f5f814e 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPolicyImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServerSecurityAlertPolicyImpl.java
@@ -15,11 +15,11 @@
import java.util.List;
class ServerSecurityAlertPolicyImpl extends CreatableUpdatableImpl implements ServerSecurityAlertPolicy, ServerSecurityAlertPolicy.Definition, ServerSecurityAlertPolicy.Update {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
private String resourceGroupName;
private String serverName;
- ServerSecurityAlertPolicyImpl(String name, PostgreSQLManager manager) {
+ ServerSecurityAlertPolicyImpl(String name, DBforPostgreSQLManager manager) {
super(name, new ServerSecurityAlertPolicyInner());
this.manager = manager;
// Set resource name
@@ -27,7 +27,7 @@ class ServerSecurityAlertPolicyImpl extends CreatableUpdatableImpl disabledAlerts() {
}
/**
- * Set the disabledAlerts value.
+ * Set specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly.
*
* @param disabledAlerts the disabledAlerts value to set
* @return the ServerSecurityAlertPolicyInner object itself.
@@ -107,7 +107,7 @@ public ServerSecurityAlertPolicyInner withDisabledAlerts(List disabledAl
}
/**
- * Get the emailAddresses value.
+ * Get specifies an array of e-mail addresses to which the alert is sent.
*
* @return the emailAddresses value
*/
@@ -116,7 +116,7 @@ public List emailAddresses() {
}
/**
- * Set the emailAddresses value.
+ * Set specifies an array of e-mail addresses to which the alert is sent.
*
* @param emailAddresses the emailAddresses value to set
* @return the ServerSecurityAlertPolicyInner object itself.
@@ -127,7 +127,7 @@ public ServerSecurityAlertPolicyInner withEmailAddresses(List emailAddre
}
/**
- * Get the emailAccountAdmins value.
+ * Get specifies that the alert is sent to the account administrators.
*
* @return the emailAccountAdmins value
*/
@@ -136,7 +136,7 @@ public Boolean emailAccountAdmins() {
}
/**
- * Set the emailAccountAdmins value.
+ * Set specifies that the alert is sent to the account administrators.
*
* @param emailAccountAdmins the emailAccountAdmins value to set
* @return the ServerSecurityAlertPolicyInner object itself.
@@ -147,7 +147,7 @@ public ServerSecurityAlertPolicyInner withEmailAccountAdmins(Boolean emailAccoun
}
/**
- * Get the storageEndpoint value.
+ * Get specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
*
* @return the storageEndpoint value
*/
@@ -156,7 +156,7 @@ public String storageEndpoint() {
}
/**
- * Set the storageEndpoint value.
+ * Set specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
*
* @param storageEndpoint the storageEndpoint value to set
* @return the ServerSecurityAlertPolicyInner object itself.
@@ -167,7 +167,7 @@ public ServerSecurityAlertPolicyInner withStorageEndpoint(String storageEndpoint
}
/**
- * Get the storageAccountAccessKey value.
+ * Get specifies the identifier key of the Threat Detection audit storage account.
*
* @return the storageAccountAccessKey value
*/
@@ -176,7 +176,7 @@ public String storageAccountAccessKey() {
}
/**
- * Set the storageAccountAccessKey value.
+ * Set specifies the identifier key of the Threat Detection audit storage account.
*
* @param storageAccountAccessKey the storageAccountAccessKey value to set
* @return the ServerSecurityAlertPolicyInner object itself.
@@ -187,7 +187,7 @@ public ServerSecurityAlertPolicyInner withStorageAccountAccessKey(String storage
}
/**
- * Get the retentionDays value.
+ * Get specifies the number of days to keep in the Threat Detection audit logs.
*
* @return the retentionDays value
*/
@@ -196,7 +196,7 @@ public Integer retentionDays() {
}
/**
- * Set the retentionDays value.
+ * Set specifies the number of days to keep in the Threat Detection audit logs.
*
* @param retentionDays the retentionDays value to set
* @return the ServerSecurityAlertPolicyInner object itself.
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServersImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServersImpl.java
index a37a6421ce14..52ac0993e26a 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServersImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/ServersImpl.java
@@ -23,8 +23,8 @@
import com.microsoft.azure.PagedList;
import com.microsoft.azure.Page;
-class ServersImpl extends GroupableResourcesCoreImpl implements Servers {
- protected ServersImpl(PostgreSQLManager manager) {
+class ServersImpl extends GroupableResourcesCoreImpl implements Servers {
+ protected ServersImpl(DBforPostgreSQLManager manager) {
super(manager.inner().servers(), manager);
}
diff --git a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/VirtualNetworkRuleImpl.java b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/VirtualNetworkRuleImpl.java
index ff78f2c72dad..86ce9e9ec35b 100644
--- a/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/VirtualNetworkRuleImpl.java
+++ b/postgresql/resource-manager/v2017_12_01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/implementation/VirtualNetworkRuleImpl.java
@@ -14,12 +14,12 @@
import com.microsoft.azure.management.postgresql.v2017_12_01.VirtualNetworkRuleState;
class VirtualNetworkRuleImpl extends CreatableUpdatableImpl implements VirtualNetworkRule, VirtualNetworkRule.Definition, VirtualNetworkRule.Update {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
private String resourceGroupName;
private String serverName;
private String virtualNetworkRuleName;
- VirtualNetworkRuleImpl(String name, PostgreSQLManager manager) {
+ VirtualNetworkRuleImpl(String name, DBforPostgreSQLManager manager) {
super(name, new VirtualNetworkRuleInner());
this.manager = manager;
// Set resource name
@@ -27,7 +27,7 @@ class VirtualNetworkRuleImpl extends CreatableUpdatableImpl implements VirtualNetworkRules {
- private final PostgreSQLManager manager;
+ private final DBforPostgreSQLManager manager;
- VirtualNetworkRulesImpl(PostgreSQLManager manager) {
+ VirtualNetworkRulesImpl(DBforPostgreSQLManager manager) {
super(manager.inner().virtualNetworkRules());
this.manager = manager;
}
- public PostgreSQLManager manager() {
+ public DBforPostgreSQLManager manager() {
return this.manager;
}
@@ -42,29 +42,10 @@ private VirtualNetworkRuleImpl wrapModel(String name) {
return new VirtualNetworkRuleImpl(name, this.manager());
}
- private Observable> listByServerNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- VirtualNetworkRulesInner client = this.inner();
- return client.listByServerNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(listByServerNextInnerPageAsync(page.nextPageLink()));
- }
- });
- }
@Override
public Observable listByServerAsync(final String resourceGroupName, final String serverName) {
VirtualNetworkRulesInner client = this.inner();
return client.listByServerAsync(resourceGroupName, serverName)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return listByServerNextInnerPageAsync(page.nextPageLink());
- }
- })
.flatMapIterable(new Func1, Iterable>() {
@Override
public Iterable call(Page page) {