def METHOD_NAME(self) -> NutanixApiClient:
    nutanix_client = NutanixApiClient(
        self._config.nutanix_username,
        self._config.nutanix_password,
        self._config.nutanix_port,
        self._config.nutanix_endpoint,
    )
    for c in NutanixCluster.list_entities(nutanix_client):
        if c.name == self._config.nutanix_cluster:
            break
    else:
        raise ValueError(f"Unable to locate nutanix cluster - {self._config.nutanix_cluster}")
    return nutanix_client