(self, ip_address: Optional[str])
return self._get_agent_metadata(ip_address)
Get metadata about a cluster agent given an IP address

        :param ip_address: the IP address of the agent in question; it's possible for this IP value to
            be None, which will return an object with UNKNOWN state.
        :returns: whatever information the cluster connector can determine about the state of the agent
Get metadata about a cluster agent given an IP address
Get metadata about a cluster agent given an IP address
def get_agent_metadata(self, ip_address: Optional[str]) -> AgentMetadata:
        """ Get metadata about a cluster agent given an IP address

        :param ip_address: the IP address of the agent in question; it's possible for this IP value to
            be None, which will return an object with UNKNOWN state.
        :returns: whatever information the cluster connector can determine about the state of the agent
        """
        if not ip_address:
            return AgentMetadata()
        return self._get_agent_metadata(ip_address)
def get_agent_metadata ( self , ip_address : Optional [ str ] ) -> AgentMetadata : if not ip_address : return AgentMetadata ( ) return self . _get_agent_metadata ( ip_address )