public void createVmAsync(final String projectId,final VmCreateSpec vmCreateSpec,final FutureCallback<Task> responseCallback) throws IOException {
  final String path=String.format("%s/%s/vms",getBasePath(),projectId);
  createObjectAsync(path,serializeObjectAsJson(vmCreateSpec),responseCallback);
}

public void createVmAsync ( final String projectId , final VmCreateSpec vmCreateSpec , final FutureCallback < Task > responseCallback ) throws IOException { final String path = String . format ( "%s/%s/vms" , getBasePath ( ) , projectId ) ; createObjectAsync ( path , serializeObjectAsJson ( vmCreateSpec ) , responseCallback ) ; }
create a vm in the specified project .
