Interface OperationOperations


public interface OperationOperations
Resource collection API of OperationOperations.
  • Method Details

    • validateWithResponse

      com.azure.core.http.rest.Response<ValidateOperationsResponse> 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

      ValidateOperationsResponse 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.