def reset_alarm(**kwargs):
    service_instance = kwargs.get("service_instance")
    payload = _build_payload(**kwargs)
    logging.debug(payload)
    session = service_instance._stub
    if not _send_request(payload, session):
        return False
    return True
Resets an alarm on a given HostSystem in a vCenter to the green state
dataset/ETHPy150Open vmware/pyvmomi-community-samples/samples/tools/alarm.py/reset_alarm