public PreValidateEnableBackupResponseInner validate(String azureRegion, PreValidateEnableBackupRequest parameters) {
        return validateWithServiceResponseAsync(azureRegion, parameters).toBlocking().single().body();
    }
public PreValidateEnableBackupResponseInner validate ( String azureRegion , PreValidateEnableBackupRequest parameters ) { return validateWithServiceResponseAsync ( azureRegion , parameters ) . toBlocking ( ) . single ( ) . body ( ) ; }
It will validate followings
1. Vault capacity
2. VM is already protected
3. Any VM related configuration passed in properties.

@param azureRegion Azure region to hit Api
@param parameters Enable backup validation request on Virtual Machine
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the PreValidateEnableBackupResponseInner object if successful.