code: def create_tenant(self, tenant: str, admins: list, clusters: list):
      session = self._create_session()
  
      data = {"adminRoles": admins, "allowedClusters": clusters}
  
      response = session.put(
          self.service_url + TENANT.format(tenant),
          data=json.dumps(data),
      )
  
      return response
  
imports: import json
  import logging
  import requests
  from requests.adapters import HTTPAdapter
  from urllib3.util.retry import Retry
label_desc: Use image node_id 9 for calling the PulsarManager obj's underlying member method code with example usage: obj.create_tenant(tenant, admins, clusters) and returns: response