Paul Fertser | ae1cf7b | 2022-04-11 09:18:39 +0000 | [diff] [blame^] | 1 | description: > |
| 2 | Interface to create new e-mail destinations for syslog. |
| 3 | |
| 4 | methods: |
| 5 | - name: Create |
| 6 | description: > |
| 7 | This method creates a new D-Bus object representing the destination |
| 8 | for which e-mails would be sent for all syslog messages with matching |
| 9 | or lower (meaning more important) level. |
| 10 | parameters: |
| 11 | - name: Mailto |
| 12 | type: string |
| 13 | description: > |
| 14 | Specifies the mailto:// URI (RFC6068) to send events to. |
| 15 | - name: Level |
| 16 | type: enum[xyz.openbmc_project.Logging.Entry.Level] |
| 17 | description: > |
| 18 | Specifies the maximum level for the log events to be sent. |
| 19 | returns: |
| 20 | - name: Path |
| 21 | type: object_path |
| 22 | description: > |
| 23 | The object path of the created |
| 24 | xyz.openbmc_project.Logging.Syslog.Destination.Mail.Entry. |
| 25 | errors: |
| 26 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 27 | - xyz.openbmc_project.Common.Error.InvalidArgument |