static NodeSpec from(NodeType type, CloudAccount cloudAccount) {
        return new TypeNodeSpec(type, cloudAccount);
    }
Returns true if a node with given current resources and current spare host resources can be resized
in-place to resources in this spec.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodeSpec.java