package com.bocloud.ims.interfaces.resource.azure;

import com.bocloud.common.model.BocloudResult;
import com.bocloud.common.model.RequestContext;

/**
 * 资源锁定/解锁
 *
 * @author wangyu
 * @version 5.0.0-SNAPSHOT
 * @since 2021/3/16
 */
public interface ResourceLockService {

    BocloudResult lock(Long id, String type, RequestContext context);

    BocloudResult release(Long id, String type, RequestContext context);
}
