Interface OperationOperationsClient
public interface OperationOperationsClient
An instance of this class provides access to all the operations defined in OperationOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvalidate
(String vaultName, String resourceGroupName, ValidateOperationRequest parameters) Validate operation for specified backed up item.com.azure.core.http.rest.Response<ValidateOperationsResponseInner>
validateWithResponse
(String vaultName, String resourceGroupName, ValidateOperationRequest parameters, com.azure.core.util.Context context) Validate operation for specified backed up item.
-
Method Details
-
validateWithResponse
com.azure.core.http.rest.Response<ValidateOperationsResponseInner> validateWithResponse(String vaultName, String resourceGroupName, ValidateOperationRequest parameters, com.azure.core.util.Context context) Validate operation for specified backed up item. This is a synchronous operation.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.parameters
- resource validate operation request.context
- The context to associate with this operation.- Returns:
- the response body 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.
-
validate
ValidateOperationsResponseInner validate(String vaultName, String resourceGroupName, ValidateOperationRequest parameters) Validate operation for specified backed up item. This is a synchronous operation.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.parameters
- resource validate operation request.- Returns:
- the 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.
-