Interface ValidateOperationStatusesClient
public interface ValidateOperationStatusesClient
An instance of this class provides access to all the operations defined in ValidateOperationStatusesClient.
-
Method Summary
Modifier and TypeMethodDescriptionFetches the status of a triggered validate operation.com.azure.core.http.rest.Response<OperationStatusInner>
getWithResponse
(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context) Fetches the status of a triggered validate operation.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<OperationStatusInner> getWithResponse(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context) Fetches the status of a triggered validate operation. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of the operation. If operation has completed, this method returns the list of errors obtained while validating the operation.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.operationId
- OperationID represents the operation whose status needs to be fetched.context
- The context to associate with this operation.- Returns:
- operation status 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.
-
get
Fetches the status of a triggered validate operation. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of the operation. If operation has completed, this method returns the list of errors obtained while validating the operation.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.operationId
- OperationID represents the operation whose status needs to be fetched.- Returns:
- operation status.
- 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.
-