code: def update_cluster(
      self,
      cluster_name: str,
      broker_url: str,
      service_url: str = "",
      service_url_tls: str = "",
      broker_url_tls: str = "",
      proxy_url: str = "",
      proxy_protocol: str = "SNI",
      peer_cluster_names: list = [],
  ):
      # initialize data
      data = {
          "serviceUrl": service_url,
          "serviceUrlTls": service_url_tls,
          "brokerServiceUrl": broker_url,
          "brokerServiceUrlTls": broker_url_tls,
          "peerClusterNames": peer_cluster_names,
          "proxyServiceUrl": proxy_url,
          "proxyProtocol": proxy_protocol,
      }
  
      session = self._create_session()
  
      response = session.post(
          self.service_url + CLUSTER.format(cluster_name),
          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 7 for calling the PulsarManager obj's underlying member method code with example usage: obj.update_cluster(cluster_name, broker_url, service_url, service_url_tls, broker_url_tls, proxy_url, proxy_protocol, peer_cluster_names) and returns: response