Skip to content
Draft
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
4 changes: 2 additions & 2 deletions sdk/mariadb/mgmt-v2020_01_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-mariadb</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* 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.mariadb.v2020_01_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.AdvisorInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.MariaDBManager;

/**
* Type representing Advisor.
*/
public interface Advisor extends HasInner<AdvisorInner>, Indexable, Refreshable<Advisor>, HasManager<MariaDBManager> {
/**
* @return the id value.
*/
String id();

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

/**
* @return the properties value.
*/
Object properties();

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

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

import rx.Observable;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.AdvisorsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing Advisors.
*/
public interface Advisors extends HasInner<AdvisorsInner> {
/**
* Get a recommendation action advisor.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param advisorName The advisor name for recommendation action.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<Advisor> getAsync(String resourceGroupName, String serverName, String advisorName);

/**
* List recommendation action advisors.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<Advisor> listByServerAsync(final String resourceGroupName, final String serverName);

}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import com.microsoft.azure.ProxyResource;

/**
* The resource model definition for a Azure Resource Manager resource with an
* Entity Resource.
* The resource model definition for an Azure Resource Manager resource with an
* etag.
*/
public class AzureEntityResource extends ProxyResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The resource management error response.
* Error Response.
* Common error response for all Azure Resource Manager APIs to return error
* details for failed operations. (This also follows the OData error response
* format.).
*/
public class ErrorResponse {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
package com.microsoft.azure.management.mariadb.v2020_01_01;

import rx.Observable;
import com.microsoft.azure.management.mariadb.v2020_01_01.PerformanceTierProperties;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.LocationBasedPerformanceTiersInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing LocationBasedPerformanceTiers.
*/
public interface LocationBasedPerformanceTiers {
public interface LocationBasedPerformanceTiers extends HasInner<LocationBasedPerformanceTiersInner> {
/**
* List all the performance tiers at specified location in a given subscription.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* 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.mariadb.v2020_01_01;

import rx.Observable;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.LocationBasedRecommendedActionSessionsOperationStatusInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing LocationBasedRecommendedActionSessionsOperationStatus.
*/
public interface LocationBasedRecommendedActionSessionsOperationStatus extends HasInner<LocationBasedRecommendedActionSessionsOperationStatusInner> {
/**
* Recommendation action session operation status.
*
* @param locationName The name of the location.
* @param operationId The operation identifier.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<RecommendedActionSessionsOperationStatus> getAsync(String locationName, String operationId);

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

import rx.Observable;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.LocationBasedRecommendedActionSessionsResultsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing LocationBasedRecommendedActionSessionsResults.
*/
public interface LocationBasedRecommendedActionSessionsResults extends HasInner<LocationBasedRecommendedActionSessionsResultsInner> {
/**
* Recommendation action session operation result.
*
* @param locationName The name of the location.
* @param operationId The operation identifier.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<RecommendationAction> listAsync(final String locationName, final String operationId);

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

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.PrivateEndpointConnectionInner;
import com.microsoft.azure.arm.model.Indexable;
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.HasManager;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.MariaDBManager;

/**
* Type representing PrivateEndpointConnection.
*/
public interface PrivateEndpointConnection extends HasInner<PrivateEndpointConnectionInner>, Indexable, Refreshable<PrivateEndpointConnection>, Updatable<PrivateEndpointConnection.Update>, HasManager<MariaDBManager> {
/**
* @return the id value.
*/
String id();

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

/**
* @return the privateEndpoint value.
*/
PrivateEndpointProperty privateEndpoint();

/**
* @return the privateLinkServiceConnectionState value.
*/
PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState();

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

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

/**
* The entirety of the PrivateEndpointConnection definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithServer, DefinitionStages.WithCreate {
}

/**
* Grouping of PrivateEndpointConnection definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a PrivateEndpointConnection definition.
*/
interface Blank extends WithServer {
}

/**
* The stage of the privateendpointconnection definition allowing to specify Server.
*/
interface WithServer {
/**
* Specifies resourceGroupName, serverName.
* @param resourceGroupName The name of the resource group. The name is case insensitive
* @param serverName The name of the server
* @return the next definition stage
*/
WithCreate withExistingServer(String resourceGroupName, String serverName);
}

/**
* The stage of the privateendpointconnection definition allowing to specify PrivateEndpoint.
*/
interface WithPrivateEndpoint {
/**
* Specifies privateEndpoint.
* @param privateEndpoint Private endpoint which the connection belongs to
* @return the next definition stage
*/
WithCreate withPrivateEndpoint(PrivateEndpointProperty privateEndpoint);
}

/**
* The stage of the privateendpointconnection definition allowing to specify PrivateLinkServiceConnectionState.
*/
interface WithPrivateLinkServiceConnectionState {
/**
* Specifies privateLinkServiceConnectionState.
* @param privateLinkServiceConnectionState Connection state of the private endpoint connection
* @return the next definition stage
*/
WithCreate withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState);
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<PrivateEndpointConnection>, DefinitionStages.WithPrivateEndpoint, DefinitionStages.WithPrivateLinkServiceConnectionState {
}
}
/**
* The template for a PrivateEndpointConnection update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<PrivateEndpointConnection>, UpdateStages.WithPrivateEndpoint, UpdateStages.WithPrivateLinkServiceConnectionState {
}

/**
* Grouping of PrivateEndpointConnection update stages.
*/
interface UpdateStages {
/**
* The stage of the privateendpointconnection update allowing to specify PrivateEndpoint.
*/
interface WithPrivateEndpoint {
/**
* Specifies privateEndpoint.
* @param privateEndpoint Private endpoint which the connection belongs to
* @return the next update stage
*/
Update withPrivateEndpoint(PrivateEndpointProperty privateEndpoint);
}

/**
* The stage of the privateendpointconnection update allowing to specify PrivateLinkServiceConnectionState.
*/
interface WithPrivateLinkServiceConnectionState {
/**
* Specifies privateLinkServiceConnectionState.
* @param privateLinkServiceConnectionState Connection state of the private endpoint connection
* @return the next update stage
*/
Update withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState);
}

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

import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Completable;
import rx.Observable;
import com.microsoft.azure.management.mariadb.v2020_01_01.implementation.PrivateEndpointConnectionsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing PrivateEndpointConnections.
*/
public interface PrivateEndpointConnections extends SupportsCreating<PrivateEndpointConnection.DefinitionStages.Blank>, HasInner<PrivateEndpointConnectionsInner> {
/**
* Gets a private endpoint connection.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PrivateEndpointConnection> getAsync(String resourceGroupName, String serverName, String privateEndpointConnectionName);

/**
* Gets all private endpoint connections on a server.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PrivateEndpointConnection> listByServerAsync(final String resourceGroupName, final String serverName);

/**
* Deletes a private endpoint connection with a given name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param privateEndpointConnectionName the String value
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable deleteAsync(String resourceGroupName, String serverName, String privateEndpointConnectionName);

}
Loading