Skip to content

Commit

Permalink
Merge pull request #591 from haocs/android
Browse files Browse the repository at this point in the history
Regenerate with paging changes
  • Loading branch information
jianghaolu committed Feb 9, 2016
2 parents e351d51 + 3e0d01c commit 973a49d
Show file tree
Hide file tree
Showing 517 changed files with 4,279 additions and 2,413 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0
* Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.compute;

import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.compute.models.AvailabilitySet;
import com.microsoft.azure.management.compute.models.AvailabilitySetListResult;
import com.microsoft.azure.management.compute.models.VirtualMachineSizeListResult;
import com.microsoft.azure.management.compute.models.PageImpl;
import com.microsoft.azure.management.compute.models.VirtualMachineSize;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceResponse;
import com.squareup.okhttp.ResponseBody;
import java.io.IOException;
import java.util.List;
import retrofit.Call;
import retrofit.http.Body;
import retrofit.http.GET;
Expand Down Expand Up @@ -143,9 +145,9 @@ interface AvailabilitySetsService {
* @throws CloudException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the AvailabilitySetListResult object wrapped in ServiceResponse if successful.
* @return the List<AvailabilitySet> object wrapped in ServiceResponse if successful.
*/
ServiceResponse<AvailabilitySetListResult> list(String resourceGroupName) throws CloudException, IOException, IllegalArgumentException;
ServiceResponse<List<AvailabilitySet>> list(final String resourceGroupName) throws CloudException, IOException, IllegalArgumentException;

/**
* The operation to list the availability sets.
Expand All @@ -154,7 +156,7 @@ interface AvailabilitySetsService {
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @return the {@link Call} object
*/
Call<ResponseBody> listAsync(String resourceGroupName, final ServiceCallback<AvailabilitySetListResult> serviceCallback);
Call<ResponseBody> listAsync(final String resourceGroupName, final ListOperationCallback<AvailabilitySet> serviceCallback);

/**
* Lists virtual-machine-sizes available to be used for an availability set.
Expand All @@ -164,9 +166,9 @@ interface AvailabilitySetsService {
* @throws CloudException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the VirtualMachineSizeListResult object wrapped in ServiceResponse if successful.
* @return the List&lt;VirtualMachineSize&gt; object wrapped in ServiceResponse if successful.
*/
ServiceResponse<VirtualMachineSizeListResult> listAvailableSizes(String resourceGroupName, String availabilitySetName) throws CloudException, IOException, IllegalArgumentException;
ServiceResponse<List<VirtualMachineSize>> listAvailableSizes(final String resourceGroupName, final String availabilitySetName) throws CloudException, IOException, IllegalArgumentException;

/**
* Lists virtual-machine-sizes available to be used for an availability set.
Expand All @@ -176,7 +178,7 @@ interface AvailabilitySetsService {
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @return the {@link Call} object
*/
Call<ResponseBody> listAvailableSizesAsync(String resourceGroupName, String availabilitySetName, final ServiceCallback<VirtualMachineSizeListResult> serviceCallback);
Call<ResponseBody> listAvailableSizesAsync(final String resourceGroupName, final String availabilitySetName, final ListOperationCallback<VirtualMachineSize> serviceCallback);

/**
* The operation to list the availability sets.
Expand All @@ -185,9 +187,9 @@ interface AvailabilitySetsService {
* @throws CloudException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the AvailabilitySetListResult object wrapped in ServiceResponse if successful.
* @return the List&lt;AvailabilitySet&gt; object wrapped in ServiceResponse if successful.
*/
ServiceResponse<AvailabilitySetListResult> listNext(String nextPageLink) throws CloudException, IOException, IllegalArgumentException;
ServiceResponse<PageImpl<AvailabilitySet>> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException;

/**
* The operation to list the availability sets.
Expand All @@ -196,7 +198,7 @@ interface AvailabilitySetsService {
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @return the {@link Call} object
*/
Call<ResponseBody> listNextAsync(String nextPageLink, final ServiceCallback<AvailabilitySetListResult> serviceCallback);
Call<ResponseBody> listNextAsync(final String nextPageLink, final ListOperationCallback<AvailabilitySet> serviceCallback);

/**
* Lists virtual-machine-sizes available to be used for an availability set.
Expand All @@ -205,9 +207,9 @@ interface AvailabilitySetsService {
* @throws CloudException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the VirtualMachineSizeListResult object wrapped in ServiceResponse if successful.
* @return the List&lt;VirtualMachineSize&gt; object wrapped in ServiceResponse if successful.
*/
ServiceResponse<VirtualMachineSizeListResult> listAvailableSizesNext(String nextPageLink) throws CloudException, IOException, IllegalArgumentException;
ServiceResponse<PageImpl<VirtualMachineSize>> listAvailableSizesNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException;

/**
* Lists virtual-machine-sizes available to be used for an availability set.
Expand All @@ -216,6 +218,6 @@ interface AvailabilitySetsService {
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @return the {@link Call} object
*/
Call<ResponseBody> listAvailableSizesNextAsync(String nextPageLink, final ServiceCallback<VirtualMachineSizeListResult> serviceCallback);
Call<ResponseBody> listAvailableSizesNextAsync(final String nextPageLink, final ListOperationCallback<VirtualMachineSize> serviceCallback);

}
Loading

0 comments on commit 973a49d

Please sign in to comment.