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

Refresh with latest code gen #562

Closed
wants to merge 2 commits into from
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
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: java

jdk:
- oraclejdk8

script:
- mvn compile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.microsoft.rest.ServiceResponse;
import com.squareup.okhttp.ResponseBody;
import java.io.IOException;
import java.lang.IllegalArgumentException;
import retrofit.Call;
import retrofit.http.Body;
import retrofit.http.GET;
Expand Down Expand Up @@ -68,9 +69,10 @@ interface AvailabilitySetsService {
* @param parameters Parameters supplied to the Create Availability Set operation.
* @throws ServiceException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the AvailabilitySet object wrapped in ServiceResponse if successful.
*/
ServiceResponse<AvailabilitySet> createOrUpdate(String resourceGroupName, String name, AvailabilitySet parameters) throws ServiceException, IOException;
ServiceResponse<AvailabilitySet> createOrUpdate(String resourceGroupName, String name, AvailabilitySet parameters) throws ServiceException, IOException, IllegalArgumentException;

/**
* The operation to create or update the availability set.
Expand All @@ -90,9 +92,10 @@ interface AvailabilitySetsService {
* @param availabilitySetName The name of the availability set.
* @throws ServiceException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the ServiceResponse object if successful.
*/
ServiceResponse<Void> delete(String resourceGroupName, String availabilitySetName) throws ServiceException, IOException;
ServiceResponse<Void> delete(String resourceGroupName, String availabilitySetName) throws ServiceException, IOException, IllegalArgumentException;

/**
* The operation to delete the availability set.
Expand All @@ -111,9 +114,10 @@ interface AvailabilitySetsService {
* @param availabilitySetName The name of the availability set.
* @throws ServiceException exception thrown from REST call
* @throws IOException exception thrown from serialization/deserialization
* @throws IllegalArgumentException exception thrown from invalid parameters
* @return the AvailabilitySet object wrapped in ServiceResponse if successful.
*/
ServiceResponse<AvailabilitySet> get(String resourceGroupName, String availabilitySetName) throws ServiceException, IOException;
ServiceResponse<AvailabilitySet> get(String resourceGroupName, String availabilitySetName) throws ServiceException, IOException, IllegalArgumentException;

/**
* The operation to get the availability set.
Expand All @@ -131,9 +135,10 @@ interface AvailabilitySetsService {
* @param resourceGroupName The name of the resource group.
* @throws ServiceException 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.
*/
ServiceResponse<AvailabilitySetListResult> list(String resourceGroupName) throws ServiceException, IOException;
ServiceResponse<AvailabilitySetListResult> list(String resourceGroupName) throws ServiceException, IOException, IllegalArgumentException;

/**
* The operation to list the availability sets.
Expand All @@ -151,9 +156,10 @@ interface AvailabilitySetsService {
* @param availabilitySetName The name of the availability set.
* @throws ServiceException 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.
*/
ServiceResponse<VirtualMachineSizeListResult> listAvailableSizes(String resourceGroupName, String availabilitySetName) throws ServiceException, IOException;
ServiceResponse<VirtualMachineSizeListResult> listAvailableSizes(String resourceGroupName, String availabilitySetName) throws ServiceException, IOException, IllegalArgumentException;

/**
* Lists virtual-machine-sizes available to be used for an availability set.
Expand All @@ -171,9 +177,10 @@ interface AvailabilitySetsService {
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws ServiceException 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.
*/
ServiceResponse<AvailabilitySetListResult> listNext(String nextPageLink) throws ServiceException, IOException;
ServiceResponse<AvailabilitySetListResult> listNext(String nextPageLink) throws ServiceException, IOException, IllegalArgumentException;

/**
* The operation to list the availability sets.
Expand All @@ -190,9 +197,10 @@ interface AvailabilitySetsService {
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws ServiceException 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.
*/
ServiceResponse<VirtualMachineSizeListResult> listAvailableSizesNext(String nextPageLink) throws ServiceException, IOException;
ServiceResponse<VirtualMachineSizeListResult> listAvailableSizesNext(String nextPageLink) throws ServiceException, IOException, IllegalArgumentException;

/**
* Lists virtual-machine-sizes available to be used for an availability set.
Expand Down
Loading