Interface ValidateOperationStatuses


  • public interface ValidateOperationStatuses
    Resource collection API of ValidateOperationStatuses.
    • Method Detail

      • get

        OperationStatus get​(String vaultName,
                            String resourceGroupName,
                            String operationId)
        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.
      • getWithResponse

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