@supports_proxies('esxi')
def get_service_instance_via_proxy(service_instance=None):
 connection_details = _get_proxy_connection_details()
 return salt.utils.vmware.get_service_instance(*connection_details)

@ supports_proxies ( 'esxi' ) def get_service_instance_via_proxy ( service_instance = None ) : connection_details = _get_proxy_connection_details ( ) return salt . utils . vmware . get_service_instance ( * connection_details )
returns a service instance to the proxied endpoint .