public interface OperationsClient
Modifier and Type | Method and Description |
---|---|
CheckNameAvailabilityResponseInner |
checkNameAvailability(CheckNameAvailabilityRequest request)
Check whether a workspace name is available.
|
com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> |
checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest request,
com.azure.core.util.Context context)
Check whether a workspace name is available.
|
OperationResourceInner |
getAzureAsyncHeaderResult(String resourceGroupName,
String workspaceName,
String operationId)
Get the status of an operation.
|
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.
|
void |
getLocationHeaderResult(String resourceGroupName,
String workspaceName,
String operationId)
Get the result of an operation.
|
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.
|
List<AvailableRpOperationInner> |
list()
Get all available operations.
|
com.azure.core.http.rest.Response<List<AvailableRpOperationInner>> |
listWithResponse(com.azure.core.util.Context context)
Get all available operations.
|
CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest request)
request
- The check request.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.com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest request, com.azure.core.util.Context context)
request
- The check request.context
- The context to associate with this operation.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<AvailableRpOperationInner> list()
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.com.azure.core.http.rest.Response<List<AvailableRpOperationInner>> listWithResponse(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.void getLocationHeaderResult(String resourceGroupName, String workspaceName, String operationId)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.operationId
- Operation ID.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.com.azure.core.http.rest.Response<Void> getLocationHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, com.azure.core.util.Context context)
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.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.OperationResourceInner getAzureAsyncHeaderResult(String resourceGroupName, String workspaceName, String operationId)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.operationId
- Operation ID.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.com.azure.core.http.rest.Response<OperationResourceInner> getAzureAsyncHeaderResultWithResponse(String resourceGroupName, String workspaceName, String operationId, com.azure.core.util.Context context)
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.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.