Interface OperationsClient
public interface OperationsClient
An instance of this class provides access to all the operations defined in OperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionCheck name availabilitycom.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner>
checkNameAvailabilityWithResponse
(CheckNameAvailabilityRequest request, com.azure.core.util.Context context) Check name availabilitygetAzureAsyncHeaderResult
(String resourceGroupName, String workspaceName, String operationId) Get operation statuscom.azure.core.http.rest.Response<OperationResourceInner>
getAzureAsyncHeaderResultWithResponse
(String resourceGroupName, String workspaceName, String operationId, com.azure.core.util.Context context) Get operation statusvoid
getLocationHeaderResult
(String resourceGroupName, String workspaceName, String operationId) Get operation resultcom.azure.core.http.rest.Response<Void>
getLocationHeaderResultWithResponse
(String resourceGroupName, String workspaceName, String operationId, com.azure.core.util.Context context) Get operation resultlist()
All operationscom.azure.core.http.rest.Response<List<AvailableRpOperationInner>>
listWithResponse
(com.azure.core.util.Context context) All operations
-
Method Details
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest request, com.azure.core.util.Context context) Check name availabilityCheck whether a workspace name is available.
- Parameters:
request
- The check request.context
- The context to associate with this operation.- Returns:
- check name availability response 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.
-
checkNameAvailability
Check name availabilityCheck whether a workspace name is available.
- Parameters:
request
- The check request.- Returns:
- check name availability 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.
-
listWithResponse
com.azure.core.http.rest.Response<List<AvailableRpOperationInner>> listWithResponse(com.azure.core.util.Context context) All operationsGet all available operations.
- Parameters:
context
- The context to associate with this operation.- Returns:
- all available operations 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.
-
list
List<AvailableRpOperationInner> list()All operationsGet all available operations.
- Returns:
- all available operations.
- 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.
-
getLocationHeaderResultWithResponse
com.azure.core.http.rest.Response<Void> getLocationHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, com.azure.core.util.Context context) Get operation resultGet the result of an operation.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.operationId
- Operation ID.context
- The context to associate with this operation.- Returns:
- the result of an operation 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.
-
getLocationHeaderResult
Get operation resultGet the result of an operation.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.operationId
- Operation ID.- 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.
-
getAzureAsyncHeaderResultWithResponse
com.azure.core.http.rest.Response<OperationResourceInner> getAzureAsyncHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, com.azure.core.util.Context context) Get operation statusGet the status of an operation.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.operationId
- Operation ID.context
- The context to associate with this operation.- Returns:
- the status of an operation 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.
-
getAzureAsyncHeaderResult
OperationResourceInner getAzureAsyncHeaderResult(String resourceGroupName, String workspaceName, String operationId) Get operation statusGet the status of an operation.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.operationId
- Operation ID.- Returns:
- the status of an operation.
- 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.
-