Skip to content
Closed
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
8 changes: 5 additions & 3 deletions sdk/mysql/mgmt-v2017_12_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-mysql</artifactId>
<version>1.0.0-beta-4</version>
<artifactId>azure-mgmt-dbformysql</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DBforMySQL Management</name>
<description>This package contains Microsoft DBforMySQL Management SDK.</description>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;

/**
* Type representing Configuration.
*/
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<MySQLManager> {
public interface Configuration extends HasInner<ConfigurationInner>, Indexable, Refreshable<Configuration>, Updatable<Configuration.Update>, HasManager<DBforMySQLManager> {
/**
* @return the allowedValues 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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;

/**
* Type representing Database.
*/
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<MySQLManager> {
public interface Database extends HasInner<DatabaseInner>, Indexable, Refreshable<Database>, Updatable<Database.Update>, HasManager<DBforMySQLManager> {
/**
* @return the charset 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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;

/**
* Type representing FirewallRule.
*/
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<MySQLManager> {
public interface FirewallRule extends HasInner<FirewallRuleInner>, Indexable, Refreshable<FirewallRule>, Updatable<FirewallRule.Update>, HasManager<DBforMySQLManager> {
/**
* @return the endIpAddress 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.mysql.v2017_12_01.implementation.LogFileInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import org.joda.time.DateTime;

/**
* Type representing LogFile.
*/
public interface LogFile extends HasInner<LogFileInner>, HasManager<MySQLManager> {
public interface LogFile extends HasInner<LogFileInner>, HasManager<DBforMySQLManager> {
/**
* @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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.NameAvailabilityInner;

/**
* Type representing NameAvailability.
*/
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<MySQLManager> {
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<DBforMySQLManager> {
/**
* @return the message 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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.OperationListResultInner;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.OperationInner;
import java.util.List;

/**
* Type representing OperationListResult.
*/
public interface OperationListResult extends HasInner<OperationListResultInner>, HasManager<MySQLManager> {
public interface OperationListResult extends HasInner<OperationListResultInner>, HasManager<DBforMySQLManager> {
/**
* @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.mysql.v2017_12_01.implementation.PerformanceTierPropertiesInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import java.util.List;

/**
* Type representing PerformanceTierProperties.
*/
public interface PerformanceTierProperties extends HasInner<PerformanceTierPropertiesInner>, HasManager<MySQLManager> {
public interface PerformanceTierProperties extends HasInner<PerformanceTierPropertiesInner>, HasManager<DBforMySQLManager> {
/**
* @return the id value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import org.joda.time.DateTime;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.ServerInner;

/**
* Type representing Server.
*/
public interface Server extends HasInner<ServerInner>, Resource, GroupableResourceCore<MySQLManager, ServerInner>, HasResourceGroup, Refreshable<Server>, Updatable<Server.Update>, HasManager<MySQLManager> {
public interface Server extends HasInner<ServerInner>, Resource, GroupableResourceCore<DBforMySQLManager, ServerInner>, HasResourceGroup, Refreshable<Server>, Updatable<Server.Update>, HasManager<DBforMySQLManager> {
/**
* @return the administratorLogin value.
*/
Expand Down Expand Up @@ -210,7 +210,7 @@ interface WithStorageProfile {
interface WithVersion {
/**
* Specifies version.
* @param version The version of a server. Possible values include: '5.6', '5.7'
* @param version The version of a server. Possible values include: '5.6', '5.7', '8.0'
* @return the next update stage
*/
Update withVersion(ServerVersion version);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* The properties used to create a new server.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode", defaultImpl = ServerPropertiesForCreate.class)
@JsonTypeName("ServerPropertiesForCreate")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Default", value = ServerPropertiesForDefaultCreate.class),
Expand All @@ -26,7 +26,7 @@
})
public class ServerPropertiesForCreate {
/**
* Server version. Possible values include: '5.6', '5.7'.
* Server version. Possible values include: '5.6', '5.7', '8.0'.
*/
@JsonProperty(value = "version")
private ServerVersion version;
Expand All @@ -45,7 +45,7 @@ public class ServerPropertiesForCreate {
private StorageProfile storageProfile;

/**
* Get server version. Possible values include: '5.6', '5.7'.
* Get server version. Possible values include: '5.6', '5.7', '8.0'.
*
* @return the version value
*/
Expand All @@ -54,7 +54,7 @@ public ServerVersion version() {
}

/**
* Set server version. Possible values include: '5.6', '5.7'.
* Set server version. Possible values include: '5.6', '5.7', '8.0'.
*
* @param version the version value to set
* @return the ServerPropertiesForCreate object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* The properties used to create a new server.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode", defaultImpl = ServerPropertiesForDefaultCreate.class)
@JsonTypeName("Default")
public class ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* The properties used to create a new server by restoring to a different
* region from a geo replicated backup.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode", defaultImpl = ServerPropertiesForGeoRestore.class)
@JsonTypeName("GeoRestore")
public class ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* The properties to create a new replica.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode", defaultImpl = ServerPropertiesForReplica.class)
@JsonTypeName("Replica")
public class ServerPropertiesForReplica extends ServerPropertiesForCreate {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* The properties used to create a new server by restoring from a backup.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "createMode", defaultImpl = ServerPropertiesForRestore.class)
@JsonTypeName("PointInTimeRestore")
public class ServerPropertiesForRestore extends ServerPropertiesForCreate {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import java.util.List;

/**
* Type representing ServerSecurityAlertPolicy.
*/
public interface ServerSecurityAlertPolicy extends HasInner<ServerSecurityAlertPolicyInner>, Indexable, Refreshable<ServerSecurityAlertPolicy>, Updatable<ServerSecurityAlertPolicy.Update>, HasManager<MySQLManager> {
public interface ServerSecurityAlertPolicy extends HasInner<ServerSecurityAlertPolicyInner>, Indexable, Refreshable<ServerSecurityAlertPolicy>, Updatable<ServerSecurityAlertPolicy.Update>, HasManager<DBforMySQLManager> {
/**
* @return the disabledAlerts value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.ServerInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;
import org.joda.time.DateTime;
import java.util.Map;

/**
* Type representing ServerServer.
*/
public interface ServerServer extends HasInner<ServerInner>, HasManager<MySQLManager> {
public interface ServerServer extends HasInner<ServerInner>, HasManager<DBforMySQLManager> {
/**
* @return the administratorLogin value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ServerUpdateParameters {
private String administratorLoginPassword;

/**
* The version of a server. Possible values include: '5.6', '5.7'.
* The version of a server. Possible values include: '5.6', '5.7', '8.0'.
*/
@JsonProperty(value = "properties.version")
private ServerVersion version;
Expand Down Expand Up @@ -121,7 +121,7 @@ public ServerUpdateParameters withAdministratorLoginPassword(String administrato
}

/**
* Get the version of a server. Possible values include: '5.6', '5.7'.
* Get the version of a server. Possible values include: '5.6', '5.7', '8.0'.
*
* @return the version value
*/
Expand All @@ -130,7 +130,7 @@ public ServerVersion version() {
}

/**
* Set the version of a server. Possible values include: '5.6', '5.7'.
* Set the version of a server. Possible values include: '5.6', '5.7', '8.0'.
*
* @param version the version value to set
* @return the ServerUpdateParameters object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public final class ServerVersion extends ExpandableStringEnum<ServerVersion> {
/** Static value 5.7 for ServerVersion. */
public static final ServerVersion FIVE_FULL_STOP_SEVEN = fromString("5.7");

/** Static value 8.0 for ServerVersion. */
public static final ServerVersion EIGHT_FULL_STOP_ZERO = fromString("8.0");

/**
* Creates or finds a ServerVersion from its string representation.
* @param name a name to look for
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.mysql.v2017_12_01.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01.implementation.DBforMySQLManager;

/**
* Type representing VirtualNetworkRule.
*/
public interface VirtualNetworkRule extends HasInner<VirtualNetworkRuleInner>, Indexable, Refreshable<VirtualNetworkRule>, Updatable<VirtualNetworkRule.Update>, HasManager<MySQLManager> {
public interface VirtualNetworkRule extends HasInner<VirtualNetworkRuleInner>, Indexable, Refreshable<VirtualNetworkRule>, Updatable<VirtualNetworkRule.Update>, HasManager<DBforMySQLManager> {
/**
* @return the id value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
import com.microsoft.azure.management.mysql.v2017_12_01.NameAvailabilityRequest;

class CheckNameAvailabilitysImpl extends WrapperImpl<CheckNameAvailabilitysInner> implements CheckNameAvailabilitys {
private final MySQLManager manager;
private final DBforMySQLManager manager;

CheckNameAvailabilitysImpl(MySQLManager manager) {
CheckNameAvailabilitysImpl(DBforMySQLManager manager) {
super(manager.inner().checkNameAvailabilitys());
this.manager = manager;
}

public MySQLManager manager() {
public DBforMySQLManager manager() {
return this.manager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
import rx.Observable;

class ConfigurationImpl extends CreatableUpdatableImpl<Configuration, ConfigurationInner, ConfigurationImpl> implements Configuration, Configuration.Definition, Configuration.Update {
private final MySQLManager manager;
private final DBforMySQLManager manager;
private String resourceGroupName;
private String serverName;
private String configurationName;

ConfigurationImpl(String name, MySQLManager manager) {
ConfigurationImpl(String name, DBforMySQLManager manager) {
super(name, new ConfigurationInner());
this.manager = manager;
// Set resource name
this.configurationName = name;
//
}

ConfigurationImpl(ConfigurationInner inner, MySQLManager manager) {
ConfigurationImpl(ConfigurationInner inner, DBforMySQLManager manager) {
super(inner.name(), inner);
this.manager = manager;
// Set resource name
Expand All @@ -39,7 +39,7 @@ class ConfigurationImpl extends CreatableUpdatableImpl<Configuration, Configurat
}

@Override
public MySQLManager manager() {
public DBforMySQLManager manager() {
return this.manager;
}

Expand Down
Loading