Interface Operations
public interface Operations
Resource collection API of Operations.
-
Method Summary
Modifier and TypeMethodDescriptionlist()
Gets a list of operations.com.azure.core.http.rest.Response<OperationListResult>
listWithResponse
(com.azure.core.util.Context context) Gets a list of operations.
-
Method Details
-
list
OperationListResult list()Gets a list of operations.Returns list of operations.
- Returns:
- a list of REST API operations supported by an Azure Resource Provider.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponse
com.azure.core.http.rest.Response<OperationListResult> listWithResponse(com.azure.core.util.Context context) Gets a list of operations.Returns list of operations.
- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of REST API operations supported by an Azure Resource Provider along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-