OperationsInner Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.implementation.OperationsInner

public class OperationsInner

An instance of this class provides access to all the operations defined in Operations.

Constructor Summary

Constructor Description
OperationsInner(Retrofit retrofit, BatchManagementClientImpl client)

Initializes an instance of OperationsInner.

Method Summary

Modifier and Type Method and Description
PagedList<OperationInner> list()

Lists available operations for the Microsoft.Batch provider.

Observable<Page<OperationInner>> listAsync()

Lists available operations for the Microsoft.Batch provider.

ServiceFuture<List<OperationInner>> listAsync(final ListOperationCallback<OperationInner> serviceCallback)

Lists available operations for the Microsoft.Batch provider.

PagedList<OperationInner> listNext(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

Observable<Page<OperationInner>> listNextAsync(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

ServiceFuture<List<OperationInner>> listNextAsync(final String nextPageLink, final ServiceFuture<List<OperationInner>> serviceFuture, final ListOperationCallback<OperationInner> serviceCallback)

Lists available operations for the Microsoft.Batch provider.

Observable<ServiceResponse<Page<OperationInner>>> listNextSinglePageAsync(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

ServiceResponse<PageImpl<OperationInner>> *

Observable<ServiceResponse<Page<OperationInner>>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

Observable<ServiceResponse<Page<OperationInner>>> listSinglePageAsync()

Lists available operations for the Microsoft.Batch provider.

Observable<ServiceResponse<Page<OperationInner>>> listWithServiceResponseAsync()

Lists available operations for the Microsoft.Batch provider.

Constructor Details

OperationsInner

public OperationsInner(Retrofit retrofit, BatchManagementClientImpl client)

Initializes an instance of OperationsInner.

Parameters:

retrofit - the Retrofit instance built from a Retrofit Builder.
client - the instance of the service client containing this operation class.

Method Details

list

public PagedList list()

Lists available operations for the Microsoft.Batch provider.

Returns:

the PagedList<OperationInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable> listAsync()

Lists available operations for the Microsoft.Batch provider.

Returns:

the observable to the PagedList<OperationInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture> listAsync(final ListOperationCallback serviceCallback)

Lists available operations for the Microsoft.Batch provider.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<OperationInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNextAsync

public Observable> listNextAsync(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<OperationInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists available operations for the Microsoft.Batch provider.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextSinglePageAsync

public Observable>> listNextSinglePageAsync(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

ServiceResponse<PageImpl<OperationInner>> *

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<OperationInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists available operations for the Microsoft.Batch provider.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<OperationInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSinglePageAsync

public Observable>> listSinglePageAsync()

Lists available operations for the Microsoft.Batch provider.

Returns:

the PagedList<OperationInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable>> listWithServiceResponseAsync()

Lists available operations for the Microsoft.Batch provider.

Returns:

the observable to the PagedList<OperationInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to