*
* @see com.emc.storageos.model.block.VolumeDeleteTypeEnum
*/
public Task<VolumeRestRep> deactivate(URI id, VolumeDeleteTypeEnum deletionType) {
URI uri = client.uriBuilder(getDeactivateUrl()).queryParam("type", deletionType).build(id);
TaskResourceRep task = client.postURI(TaskResourceRep.class, uri);
return new Task<>(client, task, resourceClass);
}