Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR postgresql/resource-manager] Add replica creation parameters to Postgres ResourceProvider for SDK #3104

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions postgresql/resource-manager/v2017_12_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.0.0</version>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-postgresql</artifactId>
<version>1.0.0-beta-2</version>
<artifactId>azure-mgmt-dbforpostgresql</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DBforPostgreSQL Management</name>
<description>This package contains Microsoft DBforPostgreSQL Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-for-java</url>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand All @@ -28,8 +28,8 @@
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<PostgreSQLManager> {
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<DBforPostgreSQLManager> {
/**
* @return the allowedValues value.
*/
Expand Down Expand Up @@ -89,6 +89,9 @@ interface Blank extends WithServer {
interface WithServer {
/**
* Specifies resourceGroupName, serverName.
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal
* @param serverName The name of the server
* @return the next definition stage
*/
WithCreate withExistingServer(String resourceGroupName, String serverName);
}
Expand All @@ -99,6 +102,8 @@ interface WithServer {
interface WithSource {
/**
* Specifies source.
* @param source Source of the configuration
* @return the next definition stage
*/
WithCreate withSource(String source);
}
Expand All @@ -109,6 +114,8 @@ interface WithSource {
interface WithValue {
/**
* Specifies value.
* @param value Value of the configuration
* @return the next definition stage
*/
WithCreate withValue(String value);
}
Expand Down Expand Up @@ -137,6 +144,8 @@ interface UpdateStages {
interface WithSource {
/**
* Specifies source.
* @param source Source of the configuration
* @return the next update stage
*/
Update withSource(String source);
}
Expand All @@ -147,6 +156,8 @@ interface WithSource {
interface WithValue {
/**
* Specifies value.
* @param value Value of the configuration
* @return the next update stage
*/
Update withValue(String value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<PostgreSQLManager> {
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<DBforPostgreSQLManager> {
/**
* @return the charset value.
*/
Expand Down Expand Up @@ -69,6 +69,9 @@ interface Blank extends WithServer {
interface WithServer {
/**
* Specifies resourceGroupName, serverName.
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal
* @param serverName The name of the server
* @return the next definition stage
*/
WithCreate withExistingServer(String resourceGroupName, String serverName);
}
Expand All @@ -79,6 +82,8 @@ interface WithServer {
interface WithCharset {
/**
* Specifies charset.
* @param charset The charset of the database
* @return the next definition stage
*/
WithCreate withCharset(String charset);
}
Expand All @@ -89,6 +94,8 @@ interface WithCharset {
interface WithCollation {
/**
* Specifies collation.
* @param collation The collation of the database
* @return the next definition stage
*/
WithCreate withCollation(String collation);
}
Expand Down Expand Up @@ -117,6 +124,8 @@ interface UpdateStages {
interface WithCharset {
/**
* Specifies charset.
* @param charset The charset of the database
* @return the next update stage
*/
Update withCharset(String charset);
}
Expand All @@ -127,6 +136,8 @@ interface WithCharset {
interface WithCollation {
/**
* Specifies collation.
* @param collation The collation of the database
* @return the next update stage
*/
Update withCollation(String collation);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<PostgreSQLManager> {
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<DBforPostgreSQLManager> {
/**
* @return the endIpAddress value.
*/
Expand Down Expand Up @@ -69,6 +69,9 @@ interface Blank extends WithServer {
interface WithServer {
/**
* Specifies resourceGroupName, serverName.
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal
* @param serverName The name of the server
* @return the next definition stage
*/
WithEndIpAddress withExistingServer(String resourceGroupName, String serverName);
}
Expand All @@ -79,6 +82,8 @@ interface WithServer {
interface WithEndIpAddress {
/**
* Specifies endIpAddress.
* @param endIpAddress The end IP address of the server firewall rule. Must be IPv4 format
* @return the next definition stage
*/
WithStartIpAddress withEndIpAddress(String endIpAddress);
}
Expand All @@ -89,6 +94,8 @@ interface WithEndIpAddress {
interface WithStartIpAddress {
/**
* Specifies startIpAddress.
* @param startIpAddress The start IP address of the server firewall rule. Must be IPv4 format
* @return the next definition stage
*/
WithCreate withStartIpAddress(String startIpAddress);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<LogFileInner>, HasManager<PostgreSQLManager> {
public interface LogFile extends HasInner<LogFileInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the createdTime value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<NameAvailabilityInner>, HasManager<PostgreSQLManager> {
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the message value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class NameAvailabilityRequest {
private String type;

/**
* Get the name value.
* Get resource name to verify.
*
* @return the name value
*/
Expand All @@ -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.
Expand All @@ -47,7 +47,7 @@ public NameAvailabilityRequest withName(String name) {
}

/**
* Get the type value.
* Get resource type used for verification.
*
* @return the type value
*/
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class OperationDisplay {
private String description;

/**
* Get the provider value.
* Get operation resource provider name.
*
* @return the provider value
*/
Expand All @@ -48,7 +48,7 @@ public String provider() {
}

/**
* Get the resource value.
* Get resource on which the operation is performed.
*
* @return the resource value
*/
Expand All @@ -57,7 +57,7 @@ public String resource() {
}

/**
* Get the operation value.
* Get localized friendly name for the operation.
*
* @return the operation value
*/
Expand All @@ -66,7 +66,7 @@ public String operation() {
}

/**
* Get the description value.
* Get operation description.
*
* @return the description value
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

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;

/**
* Type representing OperationListResult.
*/
public interface OperationListResult extends HasInner<OperationListResultInner>, HasManager<PostgreSQLManager> {
public interface OperationListResult extends HasInner<OperationListResultInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the value value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<PerformanceTierPropertiesInner>, HasManager<PostgreSQLManager> {
public interface PerformanceTierProperties extends HasInner<PerformanceTierPropertiesInner>, HasManager<DBforPostgreSQLManager> {
/**
* @return the id value.
*/
Expand Down
Loading