Interface OperationsClient


  • public interface OperationsClient
    An instance of this class provides access to all the operations defined in OperationsClient.
    • Method Detail

      • checkNameAvailability

        CheckNameAvailabilityResponseInner checkNameAvailability​(CheckNameAvailabilityRequest request)
        Check 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.
      • checkNameAvailabilityWithResponse

        com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse​(CheckNameAvailabilityRequest request,
                                                                                                                com.azure.core.util.Context context)
        Check 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.
      • list

        List<AvailableRpOperationInner> list()
        Get 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.
      • listWithResponse

        com.azure.core.http.rest.Response<List<AvailableRpOperationInner>> listWithResponse​(com.azure.core.util.Context context)
        Get 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.
      • getLocationHeaderResult

        void getLocationHeaderResult​(String resourceGroupName,
                                     String workspaceName,
                                     String operationId)
        Get 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.
      • getLocationHeaderResultWithResponse

        com.azure.core.http.rest.Response<Void> getLocationHeaderResultWithResponse​(String resourceGroupName,
                                                                                    String workspaceName,
                                                                                    String operationId,
                                                                                    com.azure.core.util.Context context)
        Get 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.
      • getAzureAsyncHeaderResult

        OperationResourceInner getAzureAsyncHeaderResult​(String resourceGroupName,
                                                         String workspaceName,
                                                         String operationId)
        Get 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.
      • getAzureAsyncHeaderResultWithResponse

        com.azure.core.http.rest.Response<OperationResourceInner> getAzureAsyncHeaderResultWithResponse​(String resourceGroupName,
                                                                                                        String workspaceName,
                                                                                                        String operationId,
                                                                                                        com.azure.core.util.Context context)
        Get 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.