OperationsClient Interface

public interface OperationsClient

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

Method Summary

Modifier and Type Method and Description
abstract CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest request)

Check name availability

abstract Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest request, Context context)

Check name availability

abstract OperationResourceInner getAzureAsyncHeaderResult(String resourceGroupName, String workspaceName, String operationId)

Get operation status

abstract Response<OperationResourceInner> getAzureAsyncHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, Context context)

Get operation status

abstract void getLocationHeaderResult(String resourceGroupName, String workspaceName, String operationId)

Get operation result

abstract Response<Void> getLocationHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, Context context)

Get operation result

abstract List<AvailableRpOperationInner> list()

All operations

abstract Response<List<AvailableRpOperationInner>> listWithResponse(Context context)

All operations

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest request)

Check name availability

Check whether a workspace name is available.

Parameters:

request - The check request.

Returns:

check name availability response.

checkNameAvailabilityWithResponse

public abstract Response checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest request, Context context)

Check name availability

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<T>.

getAzureAsyncHeaderResult

public abstract OperationResourceInner getAzureAsyncHeaderResult(String resourceGroupName, String workspaceName, String operationId)

Get operation status

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.

getAzureAsyncHeaderResultWithResponse

public abstract Response getAzureAsyncHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, Context context)

Get operation status

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<T>.

getLocationHeaderResult

public abstract void getLocationHeaderResult(String resourceGroupName, String workspaceName, String operationId)

Get operation result

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.

getLocationHeaderResultWithResponse

public abstract Response getLocationHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, Context context)

Get operation result

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<T>.

list

public abstract List list()

All operations

Get all available operations.

Returns:

all available operations.

listWithResponse

public abstract Response<>> listWithResponse(Context context)

All operations

Get all available operations.

Parameters:

context - The context to associate with this operation.

Returns:

all available operations along with Response<T>.

Applies to