def list_hosts(self):
"""
Lists all the hosts that are associated with this cluster.
@return: A list of ApiHostRef objects of the hosts in the cluster.
@since: API v3
"""
return self._get("hosts", ApiHostRef, True, api_version=3)
评论列表
文章目录