Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
6 changes: 3 additions & 3 deletions mysql/resource-manager/v2017_12_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-mysql</artifactId>
<artifactId>azure-mgmt-dbformysql</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DBforMySQL Management</name>
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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.LogFileInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.DBforMySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.DBforMySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.OperationListResultInner;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.PerformanceTierPropertiesInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.DBforMySQLManager;
import org.joda.time.DateTime;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* 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.mysql.v2017_12_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.ServerAdministratorResourceInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.DBforMySQLManager;
import java.util.UUID;

/**
* Type representing ServerAdministratorResource.
*/
public interface ServerAdministratorResource extends HasInner<ServerAdministratorResourceInner>, HasManager<DBforMySQLManager> {
/**
* @return the administratorType value.
*/
String administratorType();

/**
* @return the id value.
*/
String id();

/**
* @return the login value.
*/
String login();

/**
* @return the name value.
*/
String name();

/**
* @return the sid value.
*/
UUID sid();

/**
* @return the tenantId value.
*/
UUID tenantId();

/**
* @return the type value.
*/
String type();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/**
* 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.mysql.v2017_12_01_preview;

import rx.Observable;
import rx.Completable;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.ServerAdministratorResourceInner;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.ServerAdministratorsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing ServerAdministrators.
*/
public interface ServerAdministrators extends HasInner<ServerAdministratorsInner> {
/**
* Gets information about a AAD server administrator.
*
* @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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ServerAdministratorResource> getAsync(String resourceGroupName, String serverName);

/**
* Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.
*
* @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.
* @param properties The required parameters for creating or updating an AAD server administrator.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ServerAdministratorResource> createOrUpdateAsync(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties);

/**
* Deletes AAD Administrator.
*
* @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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ServerAdministratorResource> deleteAsync(String resourceGroupName, String serverName);

/**
* Returns a list of server Administrators.
*
* @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.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ServerAdministratorResource> listByServerAsync(String resourceGroupName, String serverName);

}
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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.implementation.ServerInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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 @@ -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_preview.implementation.MySQLManager;
import com.microsoft.azure.management.mysql.v2017_12_01_preview.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_preview.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
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_preview.Configuration;

class ConfigurationsImpl extends WrapperImpl<ConfigurationsInner> implements Configurations {
private final MySQLManager manager;
private final DBforMySQLManager manager;

ConfigurationsImpl(MySQLManager manager) {
ConfigurationsImpl(DBforMySQLManager manager) {
super(manager.inner().configurations());
this.manager = manager;
}

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

Expand Down
Loading