Operations Interface

public interface Operations

Resource collection API of Operations.

Method Summary

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

Check name availability Check whether a workspace name is available.

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

Check name availability Check whether a workspace name is available.

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

Get operation status Get the status of an operation.

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

Get operation status Get the status of an operation.

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

Get operation result Get the result of an operation.

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

Get operation result Get the result of an operation.

abstract List<AvailableRpOperation> list()

All operations Get all available operations.

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

All operations Get all available operations.

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityResponse 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<CheckNameAvailabilityResponse> 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 OperationResource 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<OperationResource> 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<Void> 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<AvailableRpOperation> list()

All operations Get all available operations.

Returns:

all available operations.

listWithResponse

public abstract Response<List<AvailableRpOperation>> 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