def rmon_alarm_entry_alarm_sample(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        rmon = ET.SubElement(config, "rmon", xmlns="urn:brocade.com:mgmt:brocade-rmon")
        alarm_entry = ET.SubElement(rmon, "alarm-entry")
        alarm_index_key = ET.SubElement(alarm_entry, "alarm-index")
        alarm_index_key.text = kwargs.pop('alarm_index')
        alarm_sample = ET.SubElement(alarm_entry, "alarm-sample")
        alarm_sample.text = kwargs.pop('alarm_sample')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
Auto Generated Code