use of com.vmware.photon.controller.model.adapterapi.LoadBalancerInstanceRequest in project photon-model by vmware.
the class ProvisionLoadBalancerTaskService method toReq.
private LoadBalancerInstanceRequest toReq(ProvisionLoadBalancerTaskState taskState) {
LoadBalancerInstanceRequest req = new LoadBalancerInstanceRequest();
req.requestType = taskState.requestType;
req.resourceReference = createInventoryUri(this.getHost(), taskState.loadBalancerLink);
req.taskReference = this.getUri();
req.isMockRequest = taskState.isMockRequest;
return req;
}
Aggregations