public interface Operations
Modifier and Type | Method and Description |
---|---|
CheckNameAvailabilityResponse |
checkNameAvailability(CheckNameAvailabilityRequest request)
Check whether a workspace name is available.
|
com.azure.core.http.rest.Response<CheckNameAvailabilityResponse> |
checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest request,
com.azure.core.util.Context context)
Check whether a workspace name is available.
|
OperationResource |
getAzureAsyncHeaderResult(String resourceGroupName,
String workspaceName,
String operationId)
Get the status of an operation.
|
com.azure.core.http.rest.Response<OperationResource> |
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<AvailableRpOperation> |
list()
Get all available operations.
|
com.azure.core.http.rest.Response<List<AvailableRpOperation>> |
listWithResponse(com.azure.core.util.Context context)
Get all available operations.
|
CheckNameAvailabilityResponse 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<CheckNameAvailabilityResponse> 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<AvailableRpOperation> 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<AvailableRpOperation>> 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.OperationResource 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<OperationResource> 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.