|
| 1 | +/** |
| 2 | + * Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | + * Licensed under the MIT License. See License.txt in the project root for |
| 4 | + * license information. |
| 5 | + * |
| 6 | + * Code generated by Microsoft (R) AutoRest Code Generator. |
| 7 | + */ |
| 8 | + |
| 9 | +package com.microsoft.azure.management.keyvault.v2016_10_01; |
| 10 | + |
| 11 | +import com.microsoft.azure.CloudException; |
| 12 | +import com.microsoft.azure.ListOperationCallback; |
| 13 | +import com.microsoft.azure.management.keyvault.v20161001.models.Operation; |
| 14 | +import com.microsoft.azure.Page; |
| 15 | +import com.microsoft.azure.PagedList; |
| 16 | +import com.microsoft.rest.ServiceFuture; |
| 17 | +import com.microsoft.rest.ServiceResponse; |
| 18 | +import java.io.IOException; |
| 19 | +import java.util.List; |
| 20 | +import rx.Observable; |
| 21 | + |
| 22 | +/** |
| 23 | + * An instance of this class provides access to all the operations defined |
| 24 | + * in Operations. |
| 25 | + */ |
| 26 | +public interface Operations { |
| 27 | + /** |
| 28 | + * Lists all of the available Key Vault Rest API operations. |
| 29 | + * |
| 30 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 31 | + * @throws CloudException thrown if the request is rejected by server |
| 32 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent |
| 33 | + * @return the PagedList<Operation> object if successful. |
| 34 | + */ |
| 35 | + PagedList<Operation> list(); |
| 36 | + |
| 37 | + /** |
| 38 | + * Lists all of the available Key Vault Rest API operations. |
| 39 | + * |
| 40 | + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. |
| 41 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 42 | + * @return the {@link ServiceFuture} object |
| 43 | + */ |
| 44 | + ServiceFuture<List<Operation>> listAsync(final ListOperationCallback<Operation> serviceCallback); |
| 45 | + |
| 46 | + /** |
| 47 | + * Lists all of the available Key Vault Rest API operations. |
| 48 | + * |
| 49 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 50 | + * @return the observable to the PagedList<Operation> object |
| 51 | + */ |
| 52 | + Observable<Page<Operation>> listAsync(); |
| 53 | + |
| 54 | + /** |
| 55 | + * Lists all of the available Key Vault Rest API operations. |
| 56 | + * |
| 57 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 58 | + * @return the observable to the PagedList<Operation> object |
| 59 | + */ |
| 60 | + Observable<ServiceResponse<Page<Operation>>> listWithServiceResponseAsync(); |
| 61 | + |
| 62 | + /** |
| 63 | + * Lists all of the available Key Vault Rest API operations. |
| 64 | + * |
| 65 | + * @param nextPageLink The NextLink from the previous successful call to List operation. |
| 66 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 67 | + * @throws CloudException thrown if the request is rejected by server |
| 68 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent |
| 69 | + * @return the PagedList<Operation> object if successful. |
| 70 | + */ |
| 71 | + PagedList<Operation> listNext(final String nextPageLink); |
| 72 | + |
| 73 | + /** |
| 74 | + * Lists all of the available Key Vault Rest API operations. |
| 75 | + * |
| 76 | + * @param nextPageLink The NextLink from the previous successful call to List operation. |
| 77 | + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls |
| 78 | + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. |
| 79 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 80 | + * @return the {@link ServiceFuture} object |
| 81 | + */ |
| 82 | + ServiceFuture<List<Operation>> listNextAsync(final String nextPageLink, final ServiceFuture<List<Operation>> serviceFuture, final ListOperationCallback<Operation> serviceCallback); |
| 83 | + |
| 84 | + /** |
| 85 | + * Lists all of the available Key Vault Rest API operations. |
| 86 | + * |
| 87 | + * @param nextPageLink The NextLink from the previous successful call to List operation. |
| 88 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 89 | + * @return the observable to the PagedList<Operation> object |
| 90 | + */ |
| 91 | + Observable<Page<Operation>> listNextAsync(final String nextPageLink); |
| 92 | + |
| 93 | + /** |
| 94 | + * Lists all of the available Key Vault Rest API operations. |
| 95 | + * |
| 96 | + * @param nextPageLink The NextLink from the previous successful call to List operation. |
| 97 | + * @throws IllegalArgumentException thrown if parameters fail the validation |
| 98 | + * @return the observable to the PagedList<Operation> object |
| 99 | + */ |
| 100 | + Observable<ServiceResponse<Page<Operation>>> listNextWithServiceResponseAsync(final String nextPageLink); |
| 101 | + |
| 102 | +} |
0 commit comments