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

Regenerate with paging changes #591

Merged
merged 1 commit into from
Feb 9, 2016
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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