code: def rename(self, newname):
      
      dic = self.to_json_dict()
      if self._get_resource_root().version < 6:
        dic['name'] = newname
      else:
        dic['displayName'] = newname
      return self._put_cluster(dic)
docs: Rename a cluster.
  
      @param newname: New cluster name
      @return: An ApiCluster object
      @since: API v2